Skip to content

Commit 0faf0e8

Browse files
authored
feat: add Homebrew tap token for cross-repo goreleaser push (#6)
goreleaser needs a separate token to push the formula to pipeboard-co/homebrew-tap since the default GITHUB_TOKEN only has access to the current repo.
1 parent 708f076 commit 0faf0e8

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,4 @@ jobs:
4646
args: release --clean
4747
env:
4848
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
49+
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}

‎.goreleaser.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ brews:
2626
- repository:
2727
owner: pipeboard-co
2828
name: homebrew-tap
29+
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
2930
homepage: "https://github.com/pipeboard-co/pipeboard-cli"
3031
description: "CLI for managing Meta, Google, and TikTok Ads via Pipeboard"
3132

0 commit comments

Comments
 (0)