diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9e2a27e..da14201 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -7,6 +7,10 @@ jobs: pr-pull: if: contains(github.event.pull_request.labels.*.name, 'pr-pull') runs-on: ubuntu-22.04 + permissions: + contents: write + packages: none + 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 77891f6..6fc85d6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -23,10 +23,6 @@ jobs: key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }} restore-keys: ${{ runner.os }}-rubygems- - - name: Install Homebrew Bundler RubyGems - if: steps.cache.outputs.cache-hit != 'true' - run: brew install-bundler-gems - - run: brew test-bot --only-cleanup-before - run: brew test-bot --only-setup @@ -38,7 +34,7 @@ jobs: - name: Upload bottles as artifact if: always() && github.event_name == 'pull_request' - uses: actions/upload-artifact@main + uses: actions/upload-artifact@v3 with: name: bottles path: '*.bottle.*'