From 9d612359b65f3739190f543f499579542a6070dd Mon Sep 17 00:00:00 2001 From: Cursor Date: Tue, 1 Sep 2026 20:38:30 +0000 Subject: [PATCH] fix(ci): clear Push Gem Node 20 and cache warnings Bump rubygems/release-gem to v1.4.1 so configure-rubygems-credentials runs on Node 24, and skip bundler-cache on workflow_run where Actions cache is read-only for the default branch. Co-authored-by: ProxyMesh AI --- .github/workflows/push_gem.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push_gem.yml b/.github/workflows/push_gem.yml index a271b68..cd34572 100644 --- a/.github/workflows/push_gem.yml +++ b/.github/workflows/push_gem.yml @@ -86,7 +86,10 @@ jobs: - name: Set up Ruby uses: ruby/setup-ruby@v1 # kept unpinned per maintainer guidance — pinning freezes available Ruby versions with: - bundler-cache: true + # workflow_run gets a read-only Actions cache token for the default branch + # (https://github.blog/changelog/2026-06-26-read-only-actions-cache-for-untrusted-triggers/), + # so saving the bundler cache would only warn. Keep caching for trusted triggers. + bundler-cache: ${{ github.event_name != 'workflow_run' }} ruby-version: ruby - - uses: rubygems/release-gem@6317d8d1f7e28c24d28f6eff169ea854948bd9f7 # v1.2.0 + - uses: rubygems/release-gem@7f9650160c1a4e7989fdc9855807bdbd421d8b6b # v1.4.1