Skip to content

ci: publish to RubyGems.org with trusted publishing - #2

Merged
shaygun merged 1 commit into
mainfrom
ci/rubygems-trusted-publishing
Nov 26, 2026
Merged

shaygun merged 1 commit into
mainfrom
ci/rubygems-trusted-publishing

Conversation

@shaygun

@shaygun shaygun commented Nov 26, 2026

Copy link
Copy Markdown
Member

Prepares the first RubyGems.org release via trusted publishing.

  • release.yml now exchanges the OIDC token with owner: "256963" (the immutable NodeRings RubyGems.org account ID required for a pending trusted publisher). It builds and pushes the gem with gem push so a tag-triggered run does not fight Bundler's rake release tag step, and it is safe to retry if the version is already published.
  • Gem metadata: homepage / homepage_uri are https://noderings.com; source_code_uri, changelog, docs and bug tracker stay on this GitHub repository. Authors remain NodeRings. License is Apache-2.0.
  • CI and release workflows use actions/checkout@v7.0.1 (pinned), which supersedes dependabot PR build(deps): bump actions/checkout from 4 to 7 in the github-actions group #1.

After this merges, a v0.1.0 tag will publish the gem to RubyGems.org from the rubygems environment.

Pass the RubyGems.org owner ID required for the first push of a pending
trusted publisher, set the gem homepage to noderings.com, and bump
actions/checkout to v7.

Signed-off-by: NodeRings <17057583+shaygun@users.noreply.github.com>
@shaygun
shaygun merged commit c4e04e1 into main Nov 26, 2026
4 checks passed
@shaygun
shaygun deleted the ci/rubygems-trusted-publishing branch November 26, 2026 14: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