Skip to content

How to debug a problem with the home-brew release? #1686

Closed Answered by radeksimko
diegobernardes asked this question in Q&A
Discussion options

You must be logged in to vote

This looks like an authentication/authorization issue where the tap repository is private - hence the API returns 404?

Is it possible that the tap repo the formula gets published into requires permissions/scope which the GitHub token passed to GoReleaser doesn't have? GitHub Actions get a token generated automatically - but that token only has access to the repo where the Action runs.

Because explicit PATs are associated with users by their nature - it may be necessary to create a dedicated "bot" account, generate PAT for that account and give the account push access to the tap repo, because PATs by themselves don't have repo-based scopes sadly.

I kind of wish we could power Homebrew publ…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@caarlos0
Comment options

Answer selected by caarlos0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants