diff --git a/.github/workflows/bump-tap.yml b/.github/workflows/bump-tap.yml index c0fa0b1..3164d73 100644 --- a/.github/workflows/bump-tap.yml +++ b/.github/workflows/bump-tap.yml @@ -10,14 +10,19 @@ jobs: bump: runs-on: ubuntu-latest steps: + # Homebrew refuses to load formulae from untrusted taps; trust ours before the action taps+loads it. + - run: | + brew tap IvanRublev/homebrew-tap + brew trust IvanRublev/homebrew-tap - uses: dawidd6/action-homebrew-bump-formula@v3 with: # PAT with `repo` scope on the tap repo. Store as an Actions secret. token: ${{ secrets.TAP_TOKEN }} tap: IvanRublev/homebrew-tap formula: claudezero + # Push branch directly to the tap repo instead of forking (token needs write access there). + no_fork: true # No release payload on a tag push — name the tag and commit explicitly. tag: ${{ github.ref_name }} revision: ${{ github.sha }} - # Opens a PR on the tap by default. Add `push: true` to commit direct. - push: true + # Opens a PR on the tap (no direct-push mode exists for this action).