From 356ff4a41062a63c379e8c2ea5136294f0f96761 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 23 Jun 2026 15:29:20 +0000 Subject: [PATCH 1/3] chore(deps): update actions/cache action to v6 --- .github/actions/artifact-cache/action.yml | 2 +- .github/workflows/agents-auto-pilot.yml | 2 +- .github/workflows/health-42-actionlint.yml | 4 ++-- .github/workflows/maint-52-validate-workflows.yml | 2 +- .github/workflows/reusable-10-ci-python.yml | 14 +++++++------- .github/workflows/reusable-agents-verifier.yml | 4 ++-- .../.github/actions/artifact-cache/action.yml | 2 +- .../.github/workflows/agents-auto-pilot.yml | 2 +- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/actions/artifact-cache/action.yml b/.github/actions/artifact-cache/action.yml index 0e14827d0..2e8f5ac8c 100644 --- a/.github/actions/artifact-cache/action.yml +++ b/.github/actions/artifact-cache/action.yml @@ -59,7 +59,7 @@ runs: - name: Restore artifact cache id: restore - uses: actions/cache@v5 + uses: actions/cache@v6 with: path: ${{ steps.prepare.outputs.artifact-path }} key: ${{ steps.prepare.outputs.cache-key }} diff --git a/.github/workflows/agents-auto-pilot.yml b/.github/workflows/agents-auto-pilot.yml index 280ce3488..e4ef43b0f 100644 --- a/.github/workflows/agents-auto-pilot.yml +++ b/.github/workflows/agents-auto-pilot.yml @@ -222,7 +222,7 @@ jobs: - name: Cache pip (LLM requirements) if: steps.check_enabled.outputs.enabled == 'true' - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 + uses: actions/cache@2c8a9bd7457de244a408f35966fab2fb45fda9c8 # v6 with: path: | ~/.cache/pip diff --git a/.github/workflows/health-42-actionlint.yml b/.github/workflows/health-42-actionlint.yml index 9659bdc8a..d26f58821 100644 --- a/.github/workflows/health-42-actionlint.yml +++ b/.github/workflows/health-42-actionlint.yml @@ -84,7 +84,7 @@ jobs: - name: Restore cached actionlint id: actionlint-cache - uses: actions/cache@v5 + uses: actions/cache@v6 with: path: ~/.cache/actionlint key: actionlint-${{ runner.os }}-${{ env.ACTIONLINT_VERSION }} @@ -103,7 +103,7 @@ jobs: - name: Restore cached reviewdog id: reviewdog-cache - uses: actions/cache@v5 + uses: actions/cache@v6 with: path: ~/.cache/reviewdog key: reviewdog-${{ runner.os }}-${{ env.REVIEWDOG_VERSION }} diff --git a/.github/workflows/maint-52-validate-workflows.yml b/.github/workflows/maint-52-validate-workflows.yml index 0c96b347a..f9561430b 100644 --- a/.github/workflows/maint-52-validate-workflows.yml +++ b/.github/workflows/maint-52-validate-workflows.yml @@ -24,7 +24,7 @@ jobs: - name: Cache workflow linters id: cache-linters - uses: actions/cache@v5 + uses: actions/cache@v6 with: path: ~/.local/bin key: workflow-linters-actionlint-1.7.3-yq-4.44.3 diff --git a/.github/workflows/reusable-10-ci-python.yml b/.github/workflows/reusable-10-ci-python.yml index b05a910b5..2354d9a2e 100644 --- a/.github/workflows/reusable-10-ci-python.yml +++ b/.github/workflows/reusable-10-ci-python.yml @@ -467,7 +467,7 @@ jobs: - name: Cache uv artifacts if: ${{ inputs.cache }} - uses: actions/cache@v5 + uses: actions/cache@v6 with: path: | ~/.cache/uv @@ -869,7 +869,7 @@ jobs: - name: Cache uv artifacts if: ${{ inputs.cache }} - uses: actions/cache@v5 + uses: actions/cache@v6 with: path: | ~/.cache/uv @@ -1190,7 +1190,7 @@ jobs: - name: Cache uv artifacts if: ${{ inputs.cache }} - uses: actions/cache@v5 + uses: actions/cache@v6 with: path: | ~/.cache/uv @@ -1403,7 +1403,7 @@ jobs: - name: Cache mypy state if: ${{ inputs.cache }} - uses: actions/cache@v5 + uses: actions/cache@v6 with: path: ${{ inputs['working-directory'] || '.' }}/.mypy_cache key: >- @@ -1544,7 +1544,7 @@ jobs: - name: Cache uv artifacts if: ${{ inputs.cache }} - uses: actions/cache@v5 + uses: actions/cache@v6 with: path: | ~/.cache/uv @@ -1850,7 +1850,7 @@ jobs: - name: Cache mypy state if: ${{ inputs.cache && inputs.typecheck && inputs['run-mypy'] }} - uses: actions/cache@v5 + uses: actions/cache@v6 with: path: ${{ inputs['working-directory'] || '.' }}/.mypy_cache key: >- @@ -1864,7 +1864,7 @@ jobs: - name: Cache pytest state if: ${{ inputs.cache }} - uses: actions/cache@v5 + uses: actions/cache@v6 with: path: ${{ inputs['working-directory'] || '.' }}/.pytest_cache key: >- diff --git a/.github/workflows/reusable-agents-verifier.yml b/.github/workflows/reusable-agents-verifier.yml index 68772f911..85aeb2871 100644 --- a/.github/workflows/reusable-agents-verifier.yml +++ b/.github/workflows/reusable-agents-verifier.yml @@ -667,7 +667,7 @@ jobs: steps.context.outputs.should_run == 'true' && inputs.mode == 'evaluate' }} - uses: actions/cache@v5 + uses: actions/cache@v6 with: path: | ~/.cache/pip @@ -976,7 +976,7 @@ jobs: steps.context.outputs.should_run == 'true' && inputs.mode == 'compare' }} - uses: actions/cache@v5 + uses: actions/cache@v6 with: path: | ~/.cache/pip diff --git a/templates/consumer-repo/.github/actions/artifact-cache/action.yml b/templates/consumer-repo/.github/actions/artifact-cache/action.yml index 0e14827d0..2e8f5ac8c 100644 --- a/templates/consumer-repo/.github/actions/artifact-cache/action.yml +++ b/templates/consumer-repo/.github/actions/artifact-cache/action.yml @@ -59,7 +59,7 @@ runs: - name: Restore artifact cache id: restore - uses: actions/cache@v5 + uses: actions/cache@v6 with: path: ${{ steps.prepare.outputs.artifact-path }} key: ${{ steps.prepare.outputs.cache-key }} diff --git a/templates/consumer-repo/.github/workflows/agents-auto-pilot.yml b/templates/consumer-repo/.github/workflows/agents-auto-pilot.yml index 280ce3488..e4ef43b0f 100644 --- a/templates/consumer-repo/.github/workflows/agents-auto-pilot.yml +++ b/templates/consumer-repo/.github/workflows/agents-auto-pilot.yml @@ -222,7 +222,7 @@ jobs: - name: Cache pip (LLM requirements) if: steps.check_enabled.outputs.enabled == 'true' - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 + uses: actions/cache@2c8a9bd7457de244a408f35966fab2fb45fda9c8 # v6 with: path: | ~/.cache/pip From b1ccbb93152f1f9d3c152d6a282cd9fced9e3057 Mon Sep 17 00:00:00 2001 From: Codex Automation Date: Tue, 23 Jun 2026 11:17:41 -0500 Subject: [PATCH 2/3] Update artifact cache action version test --- .github/scripts/__tests__/artifact-cache.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/__tests__/artifact-cache.test.js b/.github/scripts/__tests__/artifact-cache.test.js index ba9f653d0..299ec3e5b 100644 --- a/.github/scripts/__tests__/artifact-cache.test.js +++ b/.github/scripts/__tests__/artifact-cache.test.js @@ -277,5 +277,5 @@ test('action metadata exposes required public inputs and outputs', () => { assert.match(metadata, /cache-hit:/); assert.match(metadata, /artifact-found:/); assert.match(metadata, /artifact-path:/); - assert.match(metadata, /actions\/cache@v5/); + assert.match(metadata, /actions\/cache@v6/); }); From 4d7a76213ae26345b4520569c033e03e99716711 Mon Sep 17 00:00:00 2001 From: Codex Automation Date: Tue, 23 Jun 2026 12:31:35 -0500 Subject: [PATCH 3/3] fix: pin actions cache v6 refs --- .github/actions/artifact-cache/action.yml | 2 +- .github/scripts/__tests__/artifact-cache.test.js | 2 +- .github/workflows/health-42-actionlint.yml | 4 ++-- .github/workflows/maint-52-validate-workflows.yml | 2 +- .github/workflows/reusable-10-ci-python.yml | 14 +++++++------- .github/workflows/reusable-agents-verifier.yml | 4 ++-- agents/codex-1447.md | 2 +- .../.github/actions/artifact-cache/action.yml | 2 +- tests/workflows/test_workflow_llm_installs.py | 7 ++++--- 9 files changed, 20 insertions(+), 19 deletions(-) diff --git a/.github/actions/artifact-cache/action.yml b/.github/actions/artifact-cache/action.yml index 2e8f5ac8c..d4e65f351 100644 --- a/.github/actions/artifact-cache/action.yml +++ b/.github/actions/artifact-cache/action.yml @@ -59,7 +59,7 @@ runs: - name: Restore artifact cache id: restore - uses: actions/cache@v6 + uses: actions/cache@2c8a9bd7457de244a408f35966fab2fb45fda9c8 # v6 with: path: ${{ steps.prepare.outputs.artifact-path }} key: ${{ steps.prepare.outputs.cache-key }} diff --git a/.github/scripts/__tests__/artifact-cache.test.js b/.github/scripts/__tests__/artifact-cache.test.js index 299ec3e5b..646cc0a63 100644 --- a/.github/scripts/__tests__/artifact-cache.test.js +++ b/.github/scripts/__tests__/artifact-cache.test.js @@ -277,5 +277,5 @@ test('action metadata exposes required public inputs and outputs', () => { assert.match(metadata, /cache-hit:/); assert.match(metadata, /artifact-found:/); assert.match(metadata, /artifact-path:/); - assert.match(metadata, /actions\/cache@v6/); + assert.match(metadata, /actions\/cache@2c8a9bd7457de244a408f35966fab2fb45fda9c8 # v6/); }); diff --git a/.github/workflows/health-42-actionlint.yml b/.github/workflows/health-42-actionlint.yml index d26f58821..4974c7c8d 100644 --- a/.github/workflows/health-42-actionlint.yml +++ b/.github/workflows/health-42-actionlint.yml @@ -84,7 +84,7 @@ jobs: - name: Restore cached actionlint id: actionlint-cache - uses: actions/cache@v6 + uses: actions/cache@2c8a9bd7457de244a408f35966fab2fb45fda9c8 # v6 with: path: ~/.cache/actionlint key: actionlint-${{ runner.os }}-${{ env.ACTIONLINT_VERSION }} @@ -103,7 +103,7 @@ jobs: - name: Restore cached reviewdog id: reviewdog-cache - uses: actions/cache@v6 + uses: actions/cache@2c8a9bd7457de244a408f35966fab2fb45fda9c8 # v6 with: path: ~/.cache/reviewdog key: reviewdog-${{ runner.os }}-${{ env.REVIEWDOG_VERSION }} diff --git a/.github/workflows/maint-52-validate-workflows.yml b/.github/workflows/maint-52-validate-workflows.yml index f9561430b..7dcda8203 100644 --- a/.github/workflows/maint-52-validate-workflows.yml +++ b/.github/workflows/maint-52-validate-workflows.yml @@ -24,7 +24,7 @@ jobs: - name: Cache workflow linters id: cache-linters - uses: actions/cache@v6 + uses: actions/cache@2c8a9bd7457de244a408f35966fab2fb45fda9c8 # v6 with: path: ~/.local/bin key: workflow-linters-actionlint-1.7.3-yq-4.44.3 diff --git a/.github/workflows/reusable-10-ci-python.yml b/.github/workflows/reusable-10-ci-python.yml index 2354d9a2e..a9634b496 100644 --- a/.github/workflows/reusable-10-ci-python.yml +++ b/.github/workflows/reusable-10-ci-python.yml @@ -467,7 +467,7 @@ jobs: - name: Cache uv artifacts if: ${{ inputs.cache }} - uses: actions/cache@v6 + uses: actions/cache@2c8a9bd7457de244a408f35966fab2fb45fda9c8 # v6 with: path: | ~/.cache/uv @@ -869,7 +869,7 @@ jobs: - name: Cache uv artifacts if: ${{ inputs.cache }} - uses: actions/cache@v6 + uses: actions/cache@2c8a9bd7457de244a408f35966fab2fb45fda9c8 # v6 with: path: | ~/.cache/uv @@ -1190,7 +1190,7 @@ jobs: - name: Cache uv artifacts if: ${{ inputs.cache }} - uses: actions/cache@v6 + uses: actions/cache@2c8a9bd7457de244a408f35966fab2fb45fda9c8 # v6 with: path: | ~/.cache/uv @@ -1403,7 +1403,7 @@ jobs: - name: Cache mypy state if: ${{ inputs.cache }} - uses: actions/cache@v6 + uses: actions/cache@2c8a9bd7457de244a408f35966fab2fb45fda9c8 # v6 with: path: ${{ inputs['working-directory'] || '.' }}/.mypy_cache key: >- @@ -1544,7 +1544,7 @@ jobs: - name: Cache uv artifacts if: ${{ inputs.cache }} - uses: actions/cache@v6 + uses: actions/cache@2c8a9bd7457de244a408f35966fab2fb45fda9c8 # v6 with: path: | ~/.cache/uv @@ -1850,7 +1850,7 @@ jobs: - name: Cache mypy state if: ${{ inputs.cache && inputs.typecheck && inputs['run-mypy'] }} - uses: actions/cache@v6 + uses: actions/cache@2c8a9bd7457de244a408f35966fab2fb45fda9c8 # v6 with: path: ${{ inputs['working-directory'] || '.' }}/.mypy_cache key: >- @@ -1864,7 +1864,7 @@ jobs: - name: Cache pytest state if: ${{ inputs.cache }} - uses: actions/cache@v6 + uses: actions/cache@2c8a9bd7457de244a408f35966fab2fb45fda9c8 # v6 with: path: ${{ inputs['working-directory'] || '.' }}/.pytest_cache key: >- diff --git a/.github/workflows/reusable-agents-verifier.yml b/.github/workflows/reusable-agents-verifier.yml index 85aeb2871..ef388d36a 100644 --- a/.github/workflows/reusable-agents-verifier.yml +++ b/.github/workflows/reusable-agents-verifier.yml @@ -667,7 +667,7 @@ jobs: steps.context.outputs.should_run == 'true' && inputs.mode == 'evaluate' }} - uses: actions/cache@v6 + uses: actions/cache@2c8a9bd7457de244a408f35966fab2fb45fda9c8 # v6 with: path: | ~/.cache/pip @@ -976,7 +976,7 @@ jobs: steps.context.outputs.should_run == 'true' && inputs.mode == 'compare' }} - uses: actions/cache@v6 + uses: actions/cache@2c8a9bd7457de244a408f35966fab2fb45fda9c8 # v6 with: path: | ~/.cache/pip diff --git a/agents/codex-1447.md b/agents/codex-1447.md index f3ebeaabc..b226447da 100644 --- a/agents/codex-1447.md +++ b/agents/codex-1447.md @@ -1,5 +1,5 @@ diff --git a/templates/consumer-repo/.github/actions/artifact-cache/action.yml b/templates/consumer-repo/.github/actions/artifact-cache/action.yml index 2e8f5ac8c..d4e65f351 100644 --- a/templates/consumer-repo/.github/actions/artifact-cache/action.yml +++ b/templates/consumer-repo/.github/actions/artifact-cache/action.yml @@ -59,7 +59,7 @@ runs: - name: Restore artifact cache id: restore - uses: actions/cache@v6 + uses: actions/cache@2c8a9bd7457de244a408f35966fab2fb45fda9c8 # v6 with: path: ${{ steps.prepare.outputs.artifact-path }} key: ${{ steps.prepare.outputs.cache-key }} diff --git a/tests/workflows/test_workflow_llm_installs.py b/tests/workflows/test_workflow_llm_installs.py index 2ee65995e..1fc9b9ba1 100644 --- a/tests/workflows/test_workflow_llm_installs.py +++ b/tests/workflows/test_workflow_llm_installs.py @@ -22,6 +22,7 @@ "gpt-5.5": (0, 125, 0), "gpt-5.4": (0, 125, 0), } +ACTIONS_CACHE_V6_REF = "actions/cache@2c8a9bd7457de244a408f35966fab2fb45fda9c8" def _load_text(path: Path) -> str: @@ -98,14 +99,14 @@ def _assert_pip_cache(workflow: dict, hash_path: str, name: str) -> None: expected_hash = f"hashFiles('{hash_path}')" expected_hash_alt = f'hashFiles("{hash_path}")' for step in _iter_steps(workflow): - if step.get("uses") != "actions/cache@v5": + if step.get("uses") != ACTIONS_CACHE_V6_REF: continue with_block = step.get("with") or {} key = str(with_block.get("key", "")) if (expected_hash in key or expected_hash_alt in key) and "python-version" in key: return raise AssertionError( - f"{name} must include actions/cache@v5 step with key using python-version and hashFiles('{hash_path}')." + f"{name} must include {ACTIONS_CACHE_V6_REF} step with key using python-version and hashFiles('{hash_path}')." ) @@ -290,7 +291,7 @@ def test_workflow_llm_needs_human_comment_documents_blocker() -> None: "Label: needs-human", ".github/workflows/agents-auto-pilot.yml", ".github/workflows/reusable-agents-verifier.yml", - "actions/cache@v5", + ACTIONS_CACHE_V6_REF, "tools/requirements-llm.txt", ".workflows-lib/tools/requirements-llm.txt", "langchain",