diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8bd3769..5be4a47 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,7 +8,7 @@ on: jobs: pr-pull: if: contains(github.event.pull_request.labels.*.name, 'pr-pull') - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest permissions: contents: write packages: none @@ -26,7 +26,7 @@ jobs: HOMEBREW_GITHUB_PACKAGES_TOKEN: ${{ github.token }} HOMEBREW_GITHUB_PACKAGES_USER: ${{ github.actor }} PULL_REQUEST: ${{ github.event.pull_request.number }} - run: brew pr-pull --debug --tap=$GITHUB_REPOSITORY $PULL_REQUEST + run: brew pr-pull --debug --tap="${GITHUB_REPOSITORY}" "${PULL_REQUEST}" - name: Push commits uses: Homebrew/actions/git-try-push@master @@ -38,4 +38,4 @@ jobs: if: github.event.pull_request.head.repo.fork == false env: BRANCH: ${{ github.event.pull_request.head.ref }} - run: git push --delete origin $BRANCH + run: git push --delete origin "${BRANCH}"