From 5b0417c88ca657ba105c8573f0c6e8772ef87496 Mon Sep 17 00:00:00 2001 From: Devin Foley Date: Thu, 10 Sep 2026 19:19:27 -0700 Subject: [PATCH] ci: align Rust cache comments with master-only access Co-Authored-By: Paperclip --- .github/workflows/release-verify.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-verify.yml b/.github/workflows/release-verify.yml index 4a7b9e2e29..438649d30e 100644 --- a/.github/workflows/release-verify.yml +++ b/.github/workflows/release-verify.yml @@ -247,8 +247,8 @@ jobs: # dependencies; never restore installed executables from cargo/bin. cache-workspace-crates: false cache-bin: false - # Manual candidate refs may read the cache, but only a successful - # master push verifying its own commit can populate the shared cache. + # The step guard also restricts restores. Save only after a successful + # master-push verification of that push's exact commit. save-if: ${{ github.repository == 'paperclipai/paperclip' && github.event_name == 'push' && github.ref == 'refs/heads/master' && inputs.ref == github.sha }} - name: Install dependencies