andrew / andrew/purl

Set up automated releases with trusted publishing

Open
#1 1 comment 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Ruby
Stars
13
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Currently doing manual gem releases, would be nice to set up trusted publishing so we can just push a git tag and have GitHub Actions automatically publish to RubyGems without needing to store API keys anywhere.

The flow would be: bump version → commit → tag → push, then GitHub Actions picks it up, runs tests, and publishes the gem. Much cleaner and more secure than the current manual process.

Need to set up trusted publishing on RubyGems.org first (under API Access → Trusted Publishers), then create a GitHub Actions workflow that triggers on version tags.

**Links:**
- [RubyGems Trusted Publishing Guide](https://guides.rubygems.org/trusted-publishing/)
- [GitHub Actions Ruby Setup](https://github.com/ruby/setup-ruby)
- [RubyGems Release Action](https://github.com/rubygems/release-gem)

Contributor guide

Open the contributing guide

Research direction

Start with the RubyGems Trusted Publishing Guide and inspect the repository's current release process, then review the ruby/setup-ruby and rubygems/release-gem workflows. Configure RubyGems trusted publishing and a GitHub Actions workflow triggered by version tags; done means tests run and the gem publishes without stored API keys.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, ruby
Domain
ci-cd, release
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.