diff --git a/.github/workflows/self-hosted-runner-doctor-updater.lock.yml b/.github/workflows/self-hosted-runner-doctor-updater.lock.yml index 1c1d0e44..01e76718 100644 --- a/.github/workflows/self-hosted-runner-doctor-updater.lock.yml +++ b/.github/workflows/self-hosted-runner-doctor-updater.lock.yml @@ -475,6 +475,7 @@ jobs: path: /tmp/gh-aw/cache-memory restore-keys: | memory-none-nopolicy-${{ env.GH_AW_WORKFLOW_ID_SANITIZED }}-${{ env.CACHE_MEMORY_DATE }}- + memory-none-nopolicy-${{ env.GH_AW_WORKFLOW_ID_SANITIZED }}- - name: Setup cache-memory git repository env: GH_AW_CACHE_DIR: /tmp/gh-aw/cache-memory diff --git a/scripts/ci/self-hosted-runner-doctor-updater-workflow.test.ts b/scripts/ci/self-hosted-runner-doctor-updater-workflow.test.ts index d670ca22..1011353e 100644 --- a/scripts/ci/self-hosted-runner-doctor-updater-workflow.test.ts +++ b/scripts/ci/self-hosted-runner-doctor-updater-workflow.test.ts @@ -28,6 +28,7 @@ describe('runner doctor updater workflow config', () => { expect(lock).toContain('🩺 Runner Doctor Update'); expect(lock).toContain('shared/self-hosted-failure-modes.md'); expect(lock).toContain('Compute scan window'); + expect(lock).toMatch(/memory-none-nopolicy-\$\{\{ env\.GH_AW_WORKFLOW_ID_SANITIZED \}\}-\n/); expect(lock).toContain('github/gh-aw-actions/setup@3fac1cfa7a5a375a6a5eb9839178f6dad7adb60a'); }); });