Skip to content

Commit b4b474f

Browse files
authored
Update publish.yml to quote env vars
1 parent c310b7a commit b4b474f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
env:
1919
HOMEBREW_GITHUB_API_TOKEN: ${{ github.token }}
2020
PULL_REQUEST: ${{ github.event.pull_request.number }}
21-
run: brew pr-pull --debug --tap=$GITHUB_REPOSITORY $PULL_REQUEST
21+
run: brew pr-pull --debug --tap="$GITHUB_REPOSITORY" "$PULL_REQUEST"
2222

2323
- name: Push commits
2424
uses: Homebrew/actions/git-try-push@master
@@ -30,4 +30,4 @@ jobs:
3030
if: github.event.pull_request.head.repo.fork == false
3131
env:
3232
BRANCH: ${{ github.event.pull_request.head.ref }}
33-
run: git push --delete origin $BRANCH
33+
run: git push --delete origin "$BRANCH"

0 commit comments

Comments
 (0)