From 415bd8b84bfc531f1b844acbcdd998a2fcd20eac Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Fri, 13 Nov 2026 20:17:17 +0000 Subject: [PATCH] Enable bundler-cache on workflow_run for Push Gem Set bundler-cache to true so bundle install runs when Release on merge triggers this workflow via workflow_run. Co-authored-by: ProxyMesh AI --- .github/workflows/push_gem.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/push_gem.yml b/.github/workflows/push_gem.yml index dea7523..2f5a1d1 100644 --- a/.github/workflows/push_gem.yml +++ b/.github/workflows/push_gem.yml @@ -86,10 +86,7 @@ jobs: - name: Set up Ruby uses: ruby/setup-ruby@v1 # kept unpinned per maintainer guidance — pinning freezes available Ruby versions with: - # 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' }} + bundler-cache: true ruby-version: ruby - uses: rubygems/release-gem@7f9650160c1a4e7989fdc9855807bdbd421d8b6b # v1.4.1