Skip to content

Commit e495005

Browse files
ceritiumclaude
andcommitted
Use personal access token for Homebrew tap updates
Update GoReleaser and workflow to use HOMEBREW_TAP_GITHUB_TOKEN for pushing to the homebrew-stacktodate repository. This resolves 403 permission errors when publishing Homebrew formulas. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
1 parent 13ec3ac commit e495005

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,4 @@ jobs:
3434
args: release --clean
3535
env:
3636
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37+
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_GORELEASER_TOKEN }}

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ brews:
5454
repository:
5555
owner: stacktodate
5656
name: homebrew-stacktodate
57-
token: "{{ .Env.GITHUB_TOKEN }}"
57+
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
5858
homepage: "https://stacktodate.club"
5959
description: "CLI tool for Stack To Date - track your tech stack lifecycle"
6060
license: MIT

0 commit comments

Comments
 (0)