Skip to content

chore(deps): update actions/cache action to v6 - #2520

Merged
stranske merged 3 commits into
mainfrom
renovate/actions-cache-6.x
Jun 23, 2026
Merged

chore(deps): update actions/cache action to v6#2520
stranske merged 3 commits into
mainfrom
renovate/actions-cache-6.x

Conversation

@renovate

@renovate renovate Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
actions/cache action major v5v6

Release Notes

actions/cache (actions/cache)

v6.0.0

Compare Source

What's Changed

Full Changelog: actions/cache@v5...v6.0.0

v6

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Summary by CodeRabbit

  • Chores
    • Updated GitHub Actions cache utility from v5 to v6 across CI/CD workflows, artifact caching configurations, and templates.
    • Updated test expectations to match the updated cache action version.

@renovate
renovate Bot requested a review from stranske as a code owner June 23, 2026 15:29
@renovate renovate Bot added the dependencies Dependency updates label Jun 23, 2026
@coderabbitai

coderabbitai Bot commented Jun 23, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: ce00dc11-ae8f-4822-a23d-7e9104d106ab

📥 Commits

Reviewing files that changed from the base of the PR and between 356ff4a and 4d7a762.

📒 Files selected for processing (9)
  • .github/actions/artifact-cache/action.yml
  • .github/scripts/__tests__/artifact-cache.test.js
  • .github/workflows/health-42-actionlint.yml
  • .github/workflows/maint-52-validate-workflows.yml
  • .github/workflows/reusable-10-ci-python.yml
  • .github/workflows/reusable-agents-verifier.yml
  • agents/codex-1447.md
  • templates/consumer-repo/.github/actions/artifact-cache/action.yml
  • tests/workflows/test_workflow_llm_installs.py
🔗 Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

  • stranske/Template (auto-detected)
  • stranske/Fine-Art-Archive (auto-detected)
  • stranske/Ready (auto-detected)
  • stranske/Workflows-Integration-Tests (auto-detected)

📝 Walkthrough

Walkthrough

All actions/cache references across eight workflow and composite action files are updated from v5 to v6 with a pinned commit SHA. The change covers 16 individual cache steps spanning artifact restore, pip/uv caching, mypy state, pytest state, actionlint, reviewdog, and workflow-linter jobs, including their consumer-repo template counterparts. Test assertions are updated to validate the pinned v6 commit, and documentation is revised to reflect the new reference.

Changes

actions/cache v5 → v6 upgrade

Layer / File(s) Summary
Upgrade actions/cache to v6 in all workflows and actions
.github/actions/artifact-cache/action.yml, templates/consumer-repo/.github/actions/artifact-cache/action.yml, .github/workflows/agents-auto-pilot.yml, .github/workflows/health-42-actionlint.yml, .github/workflows/maint-52-validate-workflows.yml, .github/workflows/reusable-10-ci-python.yml, .github/workflows/reusable-agents-verifier.yml, templates/consumer-repo/.github/workflows/agents-auto-pilot.yml
Every uses: actions/cache@v5 reference is replaced with actions/cache@v6 (pinned by commit SHA) across all cache steps including artifact restore, uv artifact cache, mypy/pytest state, pip, actionlint, reviewdog, and workflow-linter; all cache keys, paths, and restore-keys remain unchanged.
Update test assertions and documentation for v6 pinned commit
.github/scripts/__tests__/artifact-cache.test.js, tests/workflows/test_workflow_llm_installs.py, agents/codex-1447.md
A new constant ACTIONS_CACHE_V6_REF is introduced to represent the pinned v6 commit; test assertions in _assert_pip_cache and the artifact-cache action metadata test are updated to validate against the pinned commit; the codex workflow documentation note is updated to pin the actions/cache action to the v6 commit SHA.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Suggested labels

github:actions

Suggested reviewers

  • stranske
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: updating the actions/cache GitHub action from v5 to v6 across the codebase.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch renovate/actions-cache-6.x

Comment @coderabbitai help to get the list of available commands.

@renovate
renovate Bot temporarily deployed to agent-standard June 23, 2026 15:29 Inactive
@github-actions github-actions Bot added the agents:allow-change Permit workflow edits when justification provided label Jun 23, 2026
@stranske-keepalive

Copy link
Copy Markdown
Contributor

Workflow source needed

PR #2520 needs either a linked GitHub issue or one valid non-issue Workflow Source before PR metadata automation can manage it safely.

Please do one of:

  • Add <!-- meta:issue:123 --> or a normal Closes #123 / Related to #123 line.
  • Check one Workflow Source option in the PR body.
  • Add a hidden marker such as <!-- workflow-source:local_request -->, <!-- workflow-source:manual_remote -->, <!-- workflow-source:review_followup -->, <!-- workflow-source:sync_campaign -->, or <!-- workflow-source:dependabot -->.
  • Add a workflow source label such as workflow:source-direct-pr, workflow:source-local-request, workflow:source-review-followup, workflow:source-sync, or workflow:no-automation.

Once a valid source is present, this warning will not be reposted.

@stranske-keepalive

stranske-keepalive Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Automated Status Summary

Head SHA: a38f1e0
Latest Runs: ⏳ pending — Gate
Required contexts: Gate / gate, Health 45 Agents Guard / guard
Required: core tests (3.12): ⏳ pending, core tests (3.13): ⏳ pending, docker smoke: ⏳ pending, gate: ⏳ pending

Workflow / Job Result Logs
(no jobs reported) ⏳ pending

Coverage Overview

  • Coverage history entries: 0

Updated automatically; will refresh on subsequent CI/Docker completions.


Keepalive checklist

Scope

No scope information available

Tasks

  • No tasks defined

Acceptance criteria

  • No acceptance criteria defined

@renovate
renovate Bot temporarily deployed to agent-high-privilege June 23, 2026 15:30 Inactive
@github-actions

github-actions Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Runner dispatch state for codex on PR #2520. Do not edit.

@stranske
stranske temporarily deployed to agent-standard June 23, 2026 15:33 — with GitHub Actions Inactive
@stranske
stranske temporarily deployed to agent-standard June 23, 2026 15:34 — with GitHub Actions Inactive
@stranske
stranske temporarily deployed to agent-high-privilege June 23, 2026 15:34 — with GitHub Actions Inactive

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 356ff4a410

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread .github/workflows/agents-auto-pilot.yml
@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Codex autofix run failed

Field Value
Exit Code 1
Error Category unknown
Error Type codex
Run View logs

🔧 Suggested Recovery

Capture logs and context; retry once and escalate if the issue persists.

📝 What to do

  1. Check the workflow logs for detailed error output
  2. If this is a configuration issue, update the relevant settings
  3. If the error persists, consider adding the needs-human label for manual review
  4. Re-run the workflow once the issue is resolved
Output summary
Your access token could not be refreshed because your refresh token was revoked. Please log out and sign in again.

@github-actions github-actions Bot added the agent:needs-attention Agent needs human review or intervention label Jun 23, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/actions/artifact-cache/action.yml:
- Line 62: The `uses: actions/cache@v6` reference in the artifact-cache
composite action uses a mutable version tag, which poses a supply-chain security
risk. Replace the mutable tag `@v6` with the full immutable commit SHA of the
desired version of the actions/cache action to ensure that the exact same code
is always executed. You can find the appropriate commit SHA from the
actions/cache repository releases page and update the uses statement to pin it
to that specific commit.

In @.github/workflows/health-42-actionlint.yml:
- Line 87: The `actions/cache` action references on lines 87 and 106 use mutable
tag pins with `@v6`, which creates supply-chain risk. Replace both `uses:
actions/cache@v6` references with the full immutable commit SHA for the desired
version of the actions/cache action (e.g., `uses:
actions/cache@<full-commit-sha>`). This ensures the workflow uses a specific,
locked version that cannot be unexpectedly changed.

In @.github/workflows/reusable-10-ci-python.yml:
- Line 470: Replace all mutable tag references to actions/cache@v6 with
immutable commit SHAs throughout the reusable workflow file. Locate each
instance of "uses: actions/cache@v6" at the specified lines (470, 872, 1193,
1406, 1547, 1853, and 1867) and replace the `@v6` tag with the appropriate full
commit SHA for that action version to ensure supply-chain security and prevent
unexpected behavior changes in consumers of this reusable workflow.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 30441767-4a5d-43f9-b3f2-e27ab439dd07

📥 Commits

Reviewing files that changed from the base of the PR and between 96021ef and 356ff4a.

📒 Files selected for processing (8)
  • .github/actions/artifact-cache/action.yml
  • .github/workflows/agents-auto-pilot.yml
  • .github/workflows/health-42-actionlint.yml
  • .github/workflows/maint-52-validate-workflows.yml
  • .github/workflows/reusable-10-ci-python.yml
  • .github/workflows/reusable-agents-verifier.yml
  • templates/consumer-repo/.github/actions/artifact-cache/action.yml
  • templates/consumer-repo/.github/workflows/agents-auto-pilot.yml
🔗 Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

  • stranske/Template (auto-detected)
  • stranske/Fine-Art-Archive (auto-detected)
  • stranske/Ready (auto-detected)
  • stranske/Workflows-Integration-Tests (auto-detected)

Comment thread .github/actions/artifact-cache/action.yml Outdated
Comment thread .github/workflows/health-42-actionlint.yml Outdated
Comment thread .github/workflows/reusable-10-ci-python.yml Outdated
@stranske

Copy link
Copy Markdown
Owner

Checked the agent:needs-attention state during the attention sweep. I am leaving the label in place because this is not just stale Codex-auth escalation: the current PR check rollup still includes failed JavaScript Tests and github scripts tests. Next action is a targeted dependency-update fix or rerun once those failures are understood.

@stranske
stranske temporarily deployed to agent-high-privilege June 23, 2026 16:18 — with GitHub Actions Inactive
@stranske

Copy link
Copy Markdown
Owner

Pushed a focused fix for the failed JavaScript/github scripts tests: the artifact-cache metadata test now expects actions/cache@v6 to match this Renovate update. Local validation: node --test .github/scripts/__tests__/artifact-cache.test.js passed, and the full .github/scripts node test suite passed (1258 passed, 1 skipped).

@agents-workflows-bot

Copy link
Copy Markdown
Contributor

🤖 Bot Comment Handler

  • Agent: codex
  • Bot comments to address: 4

The agent has been assigned to this PR to address the bot review comments.

Instructions for agent

  1. Implement suggested fixes that improve the code
  2. Skip suggestions that don't apply (note why in your response)

The bot comment handler workflow has prepared context in the artifacts.

@renovate

renovate Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent:needs-attention Agent needs human review or intervention agents:allow-change Permit workflow edits when justification provided autofix:escalated dependencies Dependency updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants