From b66797a3af07a10668a8d15e531da756e5231488 Mon Sep 17 00:00:00 2001 From: Keith Williams Date: Thu, 1 Jan 2026 21:21:04 -0300 Subject: [PATCH] fix: remove PR/commit-specific keys from docs-build cache (#26379) Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- .github/workflows/docs-build.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/docs-build.yml b/.github/workflows/docs-build.yml index abecee2f75..ccf44ed8a6 100644 --- a/.github/workflows/docs-build.yml +++ b/.github/workflows/docs-build.yml @@ -20,16 +20,10 @@ jobs: cache-name: docs-build key-1: ${{ hashFiles('yarn.lock') }} key-2: ${{ hashFiles('docs/**.*', '!**/node_modules') }} - key-3: ${{ github.event.pull_request.number || github.ref }} - key-4: ${{ github.sha }} with: path: | **/docs/** - key: ${{ runner.os }}-${{ env.cache-name }}-${{ env.key-1 }}-${{ env.key-2 }}-${{ env.key-3 }}-${{ env.key-4 }} - # Log cache hit - - name: Log Cache Hit - if: steps.cache-docs-build.outputs.cache-hit == 'true' - run: echo "Cache hit for Docs build. Skipping build." + key: ${{ env.cache-name }}-${{ env.key-1 }}-${{ env.key-2 }} - name: Run build if: steps.cache-docs-build.outputs.cache-hit != 'true' working-directory: docs