Skip to content

fix(release): replace GoReleaser homebrew with GitHub Action for PR-based updates#74

Merged
leandroh merged 1 commit intomainfrom
fix/homebrew-tap-update-via-pr
Nov 7, 2025
Merged

fix(release): replace GoReleaser homebrew with GitHub Action for PR-based updates#74
leandroh merged 1 commit intomainfrom
fix/homebrew-tap-update-via-pr

Conversation

@leandroh
Copy link
Copy Markdown
Member

@leandroh leandroh commented Nov 6, 2025

Problem

GoReleaser cannot create pull requests for homebrew tap updates when the repository has branch protection rules enabled. This caused releases to fail with:

"409 Repository rule violations found - Changes must be made through a pull request."

Solution

  • Remove homebrew configuration from .goreleaser.yaml
  • Add new GitHub Action workflow that automatically:
    • Triggers on release publish
    • Downloads release checksums
    • Creates a new branch in homebrew-tools
    • Updates the lsh.rb formula
    • Opens a PR for review and merge

Related

@leandroh leandroh merged commit 312b29d into main Nov 7, 2025
1 check passed
@leandroh leandroh deleted the fix/homebrew-tap-update-via-pr branch November 7, 2025 13:27
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.

2 participants