Skip to content

Add release workflow for RubyGems trusted publishing - #118

Merged
jrothrock merged 1 commit into
mainfrom
add-release-workflow
Oct 19, 2026
Merged

jrothrock merged 1 commit into
mainfrom
add-release-workflow

Conversation

@jrothrock

Copy link
Copy Markdown
Contributor

Adds a release workflow mirroring scout_apm_ruby.

What it does

On pushing a v* git tag, the workflow checks out, sets up Ruby, and runs rubygems/release-gem@v1, which publishes the gem to RubyGems.org via trusted publishing (OIDC) — no stored API key or secret in the repo.

Supporting config (already set up outside this PR)

  • Trusted publisher for scout_apm_logging on rubygems.org, pointing at scoutapp/scout_apm_ruby_logging / release.yml.
  • Tag ruleset ("Tags") on this repo restricting v* tag creation and requiring CI checks to pass — the security precondition the workflow comment calls out.

How to release

Bump the version, merge, then push a vX.Y.Z tag — the workflow handles the publish.

🤖 Generated with Claude Code

Mirrors scout_apm_ruby's release workflow: on pushing a v* tag, publishes
the gem to RubyGems.org via trusted publishing (OIDC), no stored API key.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@jrothrock
jrothrock force-pushed the add-release-workflow branch from dcf0bc1 to 70ff226 Compare October 19, 2026 22:40
@jrothrock
jrothrock merged commit 3f28365 into main Oct 19, 2026
18 checks passed
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.

2 participants