Skip to content

Commit 14d27da

Browse files
committed
Use the tap token for the Homebrew cask push.
1 parent 1f051e6 commit 14d27da

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.goreleaser.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,9 @@ homebrew_casks:
118118
repository:
119119
owner: roberson-io
120120
name: homebrew-tap
121+
# Cross-repo push needs the tap PAT; without this GoReleaser falls back to
122+
# the Actions GITHUB_TOKEN, which cannot write to another repository.
123+
token: '{{ index .Env "HOMEBREW_TAP_GITHUB_TOKEN" }}'
121124
homepage: https://github.com/roberson-io/cchef
122125
description: CyberChef on the command line
123126
license: Apache-2.0

0 commit comments

Comments
 (0)