From 0d1d29a52f5f86be43e794551355eea6ae2b066a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Thu, 4 Jun 2026 08:28:00 +0200 Subject: [PATCH] fix(release): pass GITHUB_TOKEN to the Homebrew bump step bump-homebrew-formula-action reads the source repo (release tag, tarball checksum) with GITHUB_TOKEN and falls back to COMMITTER_TOKEN when it is absent. The fine-grained HOMEBREW_TOKEN only grants access to the tap, so source-repo calls failed with HTTP 403. --- .github/workflows/release.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 10da0e6a23..9743d17ffb 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -384,3 +384,7 @@ jobs: tag-name: v${{ inputs.version }} env: COMMITTER_TOKEN: ${{ secrets.HOMEBREW_TOKEN }} + # The action reads the source repo (release tag, tarball checksum) with + # GITHUB_TOKEN; without it, it falls back to COMMITTER_TOKEN, whose + # fine-grained PAT only sees the tap and gets 403 on this repo. + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}