Skip to content

Commit cb843a7

Browse files
committed
ci: Fix release workflow
Add HOMEBREW_TAP_GITHUB_TOKEN to the GitHub Actions release workflow to enable automatic publishing to Homebrew tap. This ensures the goreleaser can push formula updates to the homebrew-tap repository.
1 parent 125bd6e commit cb843a7

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
@@ -31,3 +31,4 @@ jobs:
3131
workdir: ./
3232
env:
3333
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
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
@@ -42,6 +42,7 @@ brews:
4242
owner: epilande
4343
name: homebrew-tap
4444
branch: main
45+
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
4546
commit_author:
4647
name: goreleaserbot
4748
email: bot@goreleaser.com

0 commit comments

Comments
 (0)