Repository navigation
Manage releases through bake-gem-github - #45
Merged
Merged
Conversation
Signed-off-by: Samuel Williams <samuel.williams@shopify.com>
Signed-off-by: Samuel Williams <samuel.williams@shopify.com>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Move releases from local publishing to release PRs prepared and validated by
bake-gem-github. Merging a validated release PR publishes its signed gem through RubyGems Trusted Publishing, records attestations, and creates the version tag and GitHub release.Preserve release-note and documentation generation, add copyright refresh, and remove the old GitHub-release hook now handled by the publishing workflow. The README documents the new release command. Replace the older personal signing certificate with the Socketry certificate already used by
fiber-profilerand its organization signing key.The generated policy requires two approvals and current CI for all PRs into
main, allows explicit administrator bypass for reviews/checks, and protects main-branch history and release tags. It adds no separate publishing-review requirement. These rules are proposed files only; activate them after this PR merges andRelease validationis available.Validation:
Publishing setup:
rubygemsenvironment restricted to themainbranch.GEM_SIGNING_KEYis available to this repository; the public certificate matches the one used by successfulfiber-profilerreleases.gem:github:setup:publisherforsocketry/utopia-project, workflowrelease-publish.yaml, environmentrubygems(registration 5198).bundle exec bake gem:github:setup:plan, review it, thenbundle exec bake gem:github:setup:applyto activate the rules.