diff --git a/.github/workflows/sorbet.yml b/.github/workflows/sorbet.yml index f7ba099640..68f13c2b1e 100644 --- a/.github/workflows/sorbet.yml +++ b/.github/workflows/sorbet.yml @@ -46,7 +46,7 @@ jobs: git fetch origin BRANCH="sorbet-files-update" - echo "branch=${BRANCH}" >> $GITHUB_OUTPUT + echo "branch=${BRANCH}" >> "$GITHUB_OUTPUT" if git ls-remote --exit-code --heads origin "${BRANCH}" then @@ -79,11 +79,11 @@ jobs: -m "Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow." fi - echo "committed=true" >> $GITHUB_OUTPUT + echo "committed=true" >> "$GITHUB_OUTPUT" PULL_REQUEST_STATE="$(gh pr view --json=state | jq -r ".state")" if [[ "${PULL_REQUEST_STATE}" != "OPEN" ]] then - echo "pull_request=true" >> $GITHUB_OUTPUT + echo "pull_request=true" >> "$GITHUB_OUTPUT" fi fi