Skip to content

ci: open PR for homebrew formula updates#353

Merged
alecthomas merged 1 commit into
mainfrom
aat/homebrew-formula-pr
Jun 24, 2026
Merged

ci: open PR for homebrew formula updates#353
alecthomas merged 1 commit into
mainfrom
aat/homebrew-formula-pr

Conversation

@alecthomas

Copy link
Copy Markdown
Collaborator

Direct writes to block/homebrew-tap are blocked by branch protection,
so push the formula to a branch and open a PR instead.

Direct writes to block/homebrew-tap are blocked by branch protection,
so push the formula to a branch and open a PR instead.
@alecthomas alecthomas requested a review from a team as a code owner June 24, 2026 03:45
@alecthomas alecthomas requested review from stuartwdouglas and removed request for a team June 24, 2026 03:45
@alecthomas alecthomas enabled auto-merge (squash) June 24, 2026 03:45

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread .goreleaser.yaml
Comment on lines +64 to +67
pull_request:
enabled: true
base:
branch: main

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Set a separate PR head branch

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 👍 / 👎.

@alecthomas alecthomas merged commit 2703788 into main Jun 24, 2026
8 checks passed
@alecthomas alecthomas deleted the aat/homebrew-formula-pr branch June 24, 2026 03:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant