Skip to content

ci(release): require tags on main and scope the tap token to releases - #4

Merged
softmaxe merged 1 commit into
mainfrom
ci/harden-release
Oct 13, 2026
Merged

softmaxe merged 1 commit into
mainfrom
ci/harden-release

Conversation

@softmaxe

Copy link
Copy Markdown
Owner

Summary

  • Reject a release tag whose commit is not on main (same check as quota-bar and whisper).
  • Run the tap job in the new homebrew-tap environment, which only admits v*.*.* tags.
  • Refuse to replace a newer Formula/gbat.rb with an older version (same guard as ferry).

Follow-up outside this PR

HOMEBREW_TAP_TOKEN is still a repository secret, which the job keeps reading until the same secret exists in the homebrew-tap environment. After setting it there, delete the repository-level copy.

Reject release tags whose commit is not on main, run the tap job in the homebrew-tap environment that only admits v*.*.* tags, and refuse to replace a newer formula with an older one.
@softmaxe
softmaxe merged commit 97f6bb0 into main Oct 13, 2026
1 check passed
@softmaxe
softmaxe deleted the ci/harden-release branch October 13, 2026 10:01
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