Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ brews:
owner: block
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
pull_request:
enabled: true
base:
branch: main
Comment on lines +64 to +67

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

homepage: "https://github.com/block/cachew"
description: "Tiered, protocol-aware, caching HTTP proxy for software engineering infrastructure"
license: "Apache-2.0"
Expand Down