Skip to content

Commit 7cdf6d2

Browse files
nficanoclaude
andcommitted
Use separate PAT for Homebrew tap push
GITHUB_TOKEN lacks write access to nficano/homebrew-tap. Pass TAP_GITHUB_TOKEN as a dedicated env var and reference it in the GoReleaser brews config. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent a22dd6e commit 7cdf6d2

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,5 @@ jobs:
7373
args: release --clean
7474
env:
7575
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
76+
TAP_GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }}
7677
RELEASE_NAME: ${{ steps.release-name.outputs.name }}

.goreleaser.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ brews:
5959
- repository:
6060
owner: nficano
6161
name: homebrew-tap
62+
token: "{{ .Env.TAP_GITHUB_TOKEN }}"
6263
directory: Formula
6364
homepage: "https://github.com/nficano/github-runner"
6465
description: "Self-hosted GitHub Actions runner"

0 commit comments

Comments
 (0)