Describe the bug
Using github actions, you cannot publish to homebrew-tap as the tap is another repository and the scope of the GITHUB_TOKEN within actions allows only to write to current repo.
To Reproduce
Try publishing to a homebrew-tap within github actions.
Expected behavior
Tap published
Additional context
I wonder if it's possible wihtin another action to only publish the tap with previous latest release and another GITHUB_TOKEN.
have you tried adding a custom GITHUB_TOKEN secret?
if that doesn't work, maybe we can change goreleaser to preffer GORELEASER_GITHUB_TOKEN or something like that (maybe even on the entrypoint only)...
You can add the GITHUB_TOKEN secret, but you cannot configure its value. You cannot create a custom secret named GITHUB_TOKEN.
It seems overriding an already specified GITHUB_TOKEN with GORELEASER_GITHUB_TOKEN is the way to go !
awesome, thanks @smaftoul .
fixed on #983
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
You can add the GITHUB_TOKEN secret, but you cannot configure its value. You cannot create a custom secret named GITHUB_TOKEN.
It seems overriding an already specified GITHUB_TOKEN with GORELEASER_GITHUB_TOKEN is the way to go !