Merged
Conversation
The `rubygems/release-gem@v1` action expects `rake release` to be available, which requires bundler gem tasks. This was causing the release workflow to fail with "No Rakefile found". Also removes the redundant `gem build` step since `rake release` handles both building and pushing the gem. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
gjtorikian
approved these changes
Feb 3, 2026
Greptile OverviewGreptile SummaryThis PR fixes the release workflow by adding a standard Rakefile with Bundler gem tasks, enabling the
Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant PR as Pull Request (merged)
participant GHA as GitHub Actions
participant Release as Create Release Job
participant Publish as Publish Job
participant Ruby as Ruby Setup
participant RSpec as RSpec Tests
participant Rake as Rake Release
participant RubyGems as RubyGems.org
PR->>GHA: PR merged with version-bump label
GHA->>Release: Trigger create-release job
Release->>Release: Extract version from lib/workos/version.rb
Release->>Release: Create GitHub release with tag
Release->>Publish: Trigger publish job (needs: create-release)
Publish->>Ruby: Setup Ruby 3.2 & bundle install
Ruby->>RSpec: Run bundle exec rspec
RSpec->>Rake: Tests pass, proceed to rake release
Note over Rake: Rakefile provides bundler/gem_tasks<br/>which includes 'rake release' command
Rake->>Rake: Build gem (workos-{version}.gem)
Rake->>RubyGems: Push gem to RubyGems.org
RubyGems->>Publish: Gem published successfully
|
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.
Summary
rake releasegem buildstep from release workflow sincerake releasehandles buildingProblem
The release workflow was failing because
rubygems/release-gem@v1runsbundle exec rake release, but no Rakefile existed in the repository:See: https://github.com/workos/workos-ruby/actions/runs/21615714398/job/62293930501
Test plan
🤖 Generated with Claude Code