ci: push homebrew formula to a PR branch#354
Conversation
PR mode requires repository.branch to differ from the base branch; without it goreleaser committed directly to the protected default branch and was rejected. Push to a per-release branch instead.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ffd73de6b4
ℹ️ 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".
| # Push the formula to a per-release branch and open a PR; the tap's | ||
| # default branch is protected and rejects direct writes. |
There was a problem hiding this comment.
Remove the inline release comment
The repository instructions in /workspace/cachew/AGENTS.md say, “Only add comments for relatively large blocks of code, 20+ lines or more,” but this adds a comment for a single YAML field. Since the field name and GoReleaser PR configuration already express the behavior, keeping this comment violates the documented project style for files in this tree.
Useful? React with 👍 / 👎.
PR mode requires repository.branch to differ from the base branch;
without it goreleaser committed directly to the protected default
branch and was rejected. Push to a per-release branch instead.