Skip to content

chore(release): adopt commit-headless for signed Homebrew cask updates#82

Merged
platinummonkey merged 1 commit intomainfrom
chore/goreleaser-homebrew-headless-signing
Feb 18, 2026
Merged

chore(release): adopt commit-headless for signed Homebrew cask updates#82
platinummonkey merged 1 commit intomainfrom
chore/goreleaser-homebrew-headless-signing

Conversation

@platinummonkey
Copy link
Collaborator

Summary

Replace GoReleaser's direct push to homebrew-pack with commit-headless to create cryptographically signed commits that satisfy branch protection rules requiring verified signatures.

Changes

  • .goreleaser.yml: Add skip_upload: true to homebrew_casks, remove token/commit_author/commit_msg_template since GoReleaser no longer pushes directly
  • .github/workflows/release.yml: Remove HOMEBREW_TAP_TOKEN env var, add three new steps:
    1. Prepare cask — find generated cask file, fetch main HEAD SHA, stage files
    2. Push signed commit — use datadog/commit-headless@action to create a verified commit on a new branch in homebrew-pack
    3. Create PR — open a PR from the new branch for review
  • docs/HOMEBREW_TAP_SETUP.md: Update overview, workflow snippets, testing, and production release sections to reflect the new signed commit + PR flow

Testing

  • goreleaser check passes
  • goreleaser release --snapshot --clean --skip=sign confirms cask file generated at dist/homebrew/Casks/pup.rb without pushing
  • End-to-end: tag a pre-release to verify commit-headless creates a signed commit and PR in homebrew-pack

🤖 Generated with Claude Code

Replace GoReleaser's direct push to homebrew-pack with commit-headless
to create cryptographically signed commits that satisfy branch protection
rules requiring verified signatures.

- Add skip_upload: true to homebrew_casks in .goreleaser.yml
- Remove token, commit_author, commit_msg_template from goreleaser config
- Add prep-cask step to locate generated cask and fetch main HEAD SHA
- Add commit-headless step to create signed commit on new branch
- Add PR creation step for review workflow
- Update HOMEBREW_TAP_SETUP.md to reflect new signed commit flow

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@platinummonkey platinummonkey merged commit d22f8cb into main Feb 18, 2026
4 checks passed
@platinummonkey platinummonkey deleted the chore/goreleaser-homebrew-headless-signing branch February 18, 2026 19:14
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

Comments