ci: open PR for homebrew formula updates#353
Conversation
Direct writes to block/homebrew-tap are blocked by branch protection, so push the formula to a branch and open a PR instead.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 06749eeea9
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| pull_request: | ||
| enabled: true | ||
| base: | ||
| branch: main |
There was a problem hiding this comment.
Enabling pull_request here without also setting repository.branch means GoReleaser still uses the tap repository's default branch as the head branch; the GoReleaser repository docs state that branch defaults to the default repository branch and that it should differ from the PR base. For block/homebrew-tap this makes the release try to update/open a PR from main to main, which does not avoid the branch protection that this change is meant to work around.
Useful? React with 👍 / 👎.
Direct writes to block/homebrew-tap are blocked by branch protection,
so push the formula to a branch and open a PR instead.