diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e1743dfc..9638188e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -7,6 +7,9 @@ jobs: pr-pull: if: contains(github.event.pull_request.labels.*.name, 'pr-pull') runs-on: macos-latest + permissions: + contents: write + pull-requests: write steps: - name: Set up Homebrew uses: Homebrew/actions/setup-homebrew@master diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 17dede14..156b58ec 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,7 +17,7 @@ jobs: - name: Cache Homebrew Bundler RubyGems id: cache - uses: actions/cache@v1 + uses: actions/cache@v3 with: path: ${{ steps.set-up-homebrew.outputs.gems-path }} key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }} @@ -38,7 +38,7 @@ jobs: - run: brew test-bot --only-tap-syntax - - run: brew test-bot --only-formulae --root-url=https://ghcr.io/v2/davidchall/hep + - run: brew test-bot --only-formulae --skip-dependents --root-url=https://ghcr.io/v2/davidchall/hep if: github.event_name == 'pull_request' - name: Upload bottles as artifact