From 8be3f065c947828a4a9ae72c2531a5de879a55a3 Mon Sep 17 00:00:00 2001 From: "Garen J. Torikian" Date: Tue, 3 Feb 2026 10:29:09 -0500 Subject: [PATCH] Use gem-push-command to skip git push in release workflow The `rake release` task tries to push tags to GitHub, but the publish job only has `contents: read` permission (and the create-release job already handles creating tags). Use `rake build release:rubygem_push` to only build and push to RubyGems without git operations. Co-Authored-By: Claude Opus 4.5 --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 155bd36b..26e4e34c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -65,3 +65,5 @@ jobs: - name: Publish to RubyGems uses: rubygems/release-gem@v1 + with: + gem-push-command: bundle exec rake build release:rubygem_push