Skip to content

Commit 670ecf3

Browse files
committed
fix: use separate PAT for Homebrew tap updates
The built-in GITHUB_TOKEN can't push to the homebrew-beans repo. Use a dedicated HOMEBREW_TAP_TOKEN for cross-repo access.
1 parent 18f1c6f commit 670ecf3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,6 @@ jobs:
3636
args: release --clean
3737
env:
3838
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39+
HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}
3940
# Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution
4041
# GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}

.goreleaser.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ homebrew_casks:
7272
- repository:
7373
owner: hmans
7474
name: homebrew-beans
75+
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
7576
homepage: "https://github.com/hmans/beans"
7677
description: "Agentic-first issue tracker"
7778
license: "Apache-2.0"

0 commit comments

Comments
 (0)