Skip to content

Commit

Permalink
use HOMEBREW_NO_INSTALL_FROM_API=1
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Bentzen committed May 11, 2023
1 parent b723773 commit d81e155
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
HOMEBREW_GITHUB_API_TOKEN: ${{ github.token }}
HOMEBREW_GITHUB_PACKAGES_TOKEN: ${{ github.token }}
HOMEBREW_GITHUB_PACKAGES_USER: ${{ github.actor }}
HOMEBREW_NO_INSTALL_FROM_API: 1
PULL_REQUEST: ${{ github.event.pull_request.number }}
run: brew pr-pull --debug --tap=$GITHUB_REPOSITORY $PULL_REQUEST

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:

- run: brew test-bot --only-formulae
if: github.event_name == 'pull_request'
env:
HOMEBREW_NO_INSTALL_FROM_API: 1

- name: Upload bottles as artifact
if: always() && github.event_name == 'pull_request'
Expand Down

0 comments on commit d81e155

Please sign in to comment.