From 2b4be9c34ee5479cd12562f47c8c07ac27795e5c Mon Sep 17 00:00:00 2001 From: Keith Williams Date: Sat, 10 Jan 2026 15:46:50 -0300 Subject: [PATCH] fix: remove proactive cache deletion to prevent race condition (#26698) Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- .github/actions/cache-checkout/action.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.github/actions/cache-checkout/action.yml b/.github/actions/cache-checkout/action.yml index 5a0242eda0..d7bbf1fe51 100644 --- a/.github/actions/cache-checkout/action.yml +++ b/.github/actions/cache-checkout/action.yml @@ -21,13 +21,6 @@ runs: key: git-checkout-${{ github.head_ref || github.ref_name }}-${{ github.event.pull_request.head.sha || github.sha }} fail-on-cache-miss: true - - name: Delete previous git-checkout caches for this branch - if: ${{ inputs.mode == 'save' }} - uses: useblacksmith/cache-delete@v1 - with: - key: git-checkout-${{ github.head_ref || github.ref_name }}- - prefix: "true" - - name: Save git checkout to cache if: ${{ inputs.mode == 'save' }} uses: actions/cache/save@v4