Merge pull request #15187 from carlocab/sorbet-lint
workflows/sorbet: fix actionlint errors
This commit is contained in:
commit
322b51c147
6
.github/workflows/sorbet.yml
vendored
6
.github/workflows/sorbet.yml
vendored
@ -46,7 +46,7 @@ jobs:
|
|||||||
git fetch origin
|
git fetch origin
|
||||||
|
|
||||||
BRANCH="sorbet-files-update"
|
BRANCH="sorbet-files-update"
|
||||||
echo "branch=${BRANCH}" >> $GITHUB_OUTPUT
|
echo "branch=${BRANCH}" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
if git ls-remote --exit-code --heads origin "${BRANCH}"
|
if git ls-remote --exit-code --heads origin "${BRANCH}"
|
||||||
then
|
then
|
||||||
@ -79,11 +79,11 @@ jobs:
|
|||||||
-m "Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow."
|
-m "Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "committed=true" >> $GITHUB_OUTPUT
|
echo "committed=true" >> "$GITHUB_OUTPUT"
|
||||||
PULL_REQUEST_STATE="$(gh pr view --json=state | jq -r ".state")"
|
PULL_REQUEST_STATE="$(gh pr view --json=state | jq -r ".state")"
|
||||||
if [[ "${PULL_REQUEST_STATE}" != "OPEN" ]]
|
if [[ "${PULL_REQUEST_STATE}" != "OPEN" ]]
|
||||||
then
|
then
|
||||||
echo "pull_request=true" >> $GITHUB_OUTPUT
|
echo "pull_request=true" >> "$GITHUB_OUTPUT"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user