Skip to content

Fix: Make auto-release resilient to homebrew tap failures#380

Merged
teemow merged 1 commit intomainfrom
fix/auto-release-homebrew-resilience
Feb 23, 2026
Merged

Fix: Make auto-release resilient to homebrew tap failures#380
teemow merged 1 commit intomainfrom
fix/auto-release-homebrew-resilience

Conversation

@teemow
Copy link
Member

@teemow teemow commented Feb 23, 2026

Summary

  • Remove goreleaser pull_request config from brews (the HOMEBREW_TAP_GITHUB_TOKEN lacks fork permissions, causing 404 repos// errors)
  • Add continue-on-error: true to the goreleaser step so homebrew tap push failures don't block the release
  • Add a verification step that confirms the GitHub release was published (fails only if the release is missing)

Context

The giantswarm/homebrew-muster repo has branch protection requiring PRs. The goreleaser pull_request.enabled feature tried to fork the repo but the token couldn't determine the authenticated user's fork (empty owner/repo in API calls).

Since the homebrew tap update is non-critical (release artifacts are published fine), this makes it non-blocking while logging a warning.

Test plan

  • Merge and verify the next auto-release completes successfully (with a warning about homebrew)

Made with Cursor

- Remove pull_request config from goreleaser brews (token lacks fork
  permissions, causing 404 on repos// URL)
- Add continue-on-error to goreleaser step so homebrew failures don't
  block the release
- Add post-release verification step that checks the GitHub release
  exists and only fails if the actual release wasn't published

Co-authored-by: Cursor <cursoragent@cursor.com>
@teemow teemow requested a review from a team as a code owner February 23, 2026 07:17
@teemow teemow merged commit bbd7254 into main Feb 23, 2026
5 of 6 checks passed
@teemow teemow deleted the fix/auto-release-homebrew-resilience branch February 23, 2026 07:22
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