Skip to content

Commit f02808c

Browse files
authored
Fix errors and warnings from brew test-bot / shellcheck (#55)
* Fix errors from shellcheck for brew test-bot.
1 parent eed2a3c commit f02808c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: .github/workflows/publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
HOMEBREW_GITHUB_PACKAGES_TOKEN: ${{ github.token }}
2323
HOMEBREW_GITHUB_PACKAGES_USER: ${{ github.actor }}
2424
PULL_REQUEST: ${{ github.event.pull_request.number }}
25-
run: brew pr-pull --debug --tap=$GITHUB_REPOSITORY $PULL_REQUEST
25+
run: brew pr-pull --debug --tap="$GITHUB_REPOSITORY" "$PULL_REQUEST"
2626

2727
- name: Push commits
2828
uses: Homebrew/actions/git-try-push@master
@@ -34,4 +34,4 @@ jobs:
3434
if: github.event.pull_request.head.repo.fork == false
3535
env:
3636
BRANCH: ${{ github.event.pull_request.head.ref }}
37-
run: git push --delete origin $BRANCH
37+
run: git push --delete origin "$BRANCH"

Diff for: .github/workflows/tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
- name: Cache Homebrew Bundler RubyGems
2121
id: cache
22-
uses: actions/cache@v1
22+
uses: actions/cache@v3
2323
with:
2424
path: ${{ steps.set-up-homebrew.outputs.gems-path }}
2525
key: ${{ matrix.os }}-cache-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}

0 commit comments

Comments
 (0)