Repository navigation
Attach a Sigstore attestation to released gems - #70
Merged
Merged
Conversation
RubyGems 4.1 makes gem push attach the attestation on GitHub Actions; setup-ruby keeps 4.0.x unless asked for the latest. Fixes #58 Assisted-by: Claude Opus 5.5 [Claude Code]
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.
Released versions reach rubygems.org with no Sigstore provenance: the publish job runs a plain
gem pushthrough trusted publishing, andruby/setup-rubywithruby-version: "4.0"keeps RubyGems 4.0.x.RubyGems 4.1 (released) makes
gem pushattach the attestation by itself on GitHub Actions when it pushes to rubygems.org, and the job already hasid-token: write. The publish job now installs the latest RubyGems. Fixes #58.Proof
gem search -r rubygems-updatelists 4.1.0. The fiverelease.ymlwere identical before this change and stay identical after it.🤖 Generated with Claude Code