diff --git a/.github/actions/cache/action.yml b/.github/actions/cache/action.yml index 323d6a0364ac2..2f00abf774710 100644 --- a/.github/actions/cache/action.yml +++ b/.github/actions/cache/action.yml @@ -72,7 +72,8 @@ runs: # Either save a new cache... - name: Save cache - if: ${{ inputs.action == 'save' }} + # We don't save caches from the merge queue either, due to Github's cache isolation policy. + if: ${{ inputs.action == 'save' && github.event_name != 'merge_group' }} uses: actions/cache/save@v4 with: path: |