Problem
The GoReleaser brews step pushes the updated formula to apppackio/homebrew-apppack using the HOMEBREW_TAP_GITHUB_TOKEN repo secret. That secret (last set 2026-06-30) has expired/been revoked, so the tap update now fails with:
homebrew tap formula: could not get default branch: GET https://api.github.com/repos/apppackio/homebrew-apppack: 401 Bad credentials
The GitHub Release + binaries still publish fine — only the Homebrew tap update fails, causing the goreleaser workflow to exit non-zero.
Impact
Every tagged release will fail the goreleaser job at the Homebrew step until the token is refreshed. brew install/upgrade apppack users won't get the new version automatically.
Observed on
Fix
- Generate a new PAT with write access to
apppackio/homebrew-apppack (classic PAT with repo scope, or a fine-grained token scoped to that repo with Contents: read/write). Prefer setting a calendar reminder or using a long/no-expiry token to avoid recurrence.
- Update the secret:
gh secret set HOMEBREW_TAP_GITHUB_TOKEN --repo apppackio/apppack
- Verify on the next release, or re-run the failed goreleaser job for v4.8.1 to confirm the tap step succeeds.
Config references
.github/workflows/goreleaser.yml — passes HOMEBREW_TAP_GITHUB_TOKEN env
.goreleaser.yml — brews[].repository.token
Problem
The GoReleaser
brewsstep pushes the updated formula toapppackio/homebrew-apppackusing theHOMEBREW_TAP_GITHUB_TOKENrepo secret. That secret (last set 2026-06-30) has expired/been revoked, so the tap update now fails with:The GitHub Release + binaries still publish fine — only the Homebrew tap update fails, causing the goreleaser workflow to exit non-zero.
Impact
Every tagged release will fail the goreleaser job at the Homebrew step until the token is refreshed.
brew install/upgrade apppackusers won't get the new version automatically.Observed on
Fix
apppackio/homebrew-apppack(classic PAT withreposcope, or a fine-grained token scoped to that repo with Contents: read/write). Prefer setting a calendar reminder or using a long/no-expiry token to avoid recurrence.Config references
.github/workflows/goreleaser.yml— passesHOMEBREW_TAP_GITHUB_TOKENenv.goreleaser.yml—brews[].repository.token