Skip to content

Bump actions/cache from 5 to 5.0.5#376

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/actions/cache-5.0.5
Closed

Bump actions/cache from 5 to 5.0.5#376
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/actions/cache-5.0.5

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 23, 2026

Copy link
Copy Markdown
Contributor

Bumps actions/cache from 5 to 5.0.5.

Release notes

Sourced from actions/cache's releases.

v5.0.5

What's Changed

Full Changelog: actions/cache@v5...v5.0.5

v5.0.4

What's Changed

New Contributors

Full Changelog: actions/cache@v5...v5.0.4

v5.0.3

What's Changed

Full Changelog: actions/cache@v5...v5.0.3

v.5.0.2

v5.0.2

What's Changed

When creating cache entries, 429s returned from the cache service will not be retried.

v5.0.1

[!IMPORTANT] actions/cache@v5 runs on the Node.js 24 runtime and requires a minimum Actions Runner version of 2.327.1.

If you are using self-hosted runners, ensure they are updated before upgrading.


v5.0.1

... (truncated)

Changelog

Sourced from actions/cache's changelog.

Releases

How to prepare a release

[!NOTE]
Relevant for maintainers with write access only.

  1. Switch to a new branch from main.
  2. Run npm test to ensure all tests are passing.
  3. Update the version in https://github.com/actions/cache/blob/main/package.json.
  4. Run npm run build to update the compiled files.
  5. Update this https://github.com/actions/cache/blob/main/RELEASES.md with the new version and changes in the ## Changelog section.
  6. Run licensed cache to update the license report.
  7. Run licensed status and resolve any warnings by updating the https://github.com/actions/cache/blob/main/.licensed.yml file with the exceptions.
  8. Commit your changes and push your branch upstream.
  9. Open a pull request against main and get it reviewed and merged.
  10. Draft a new release https://github.com/actions/cache/releases use the same version number used in package.json
    1. Create a new tag with the version number.
    2. Auto generate release notes and update them to match the changes you made in RELEASES.md.
    3. Toggle the set as the latest release option.
    4. Publish the release.
  11. Navigate to https://github.com/actions/cache/actions/workflows/release-new-action-version.yml
    1. There should be a workflow run queued with the same version number.
    2. Approve the run to publish the new version and update the major tags for this action.

Changelog

6.0.0

  • Updated @actions/cache to ^6.0.1, @actions/core to ^3.0.1, @actions/exec to ^3.0.0, @actions/io to ^3.0.2
  • Migrated to ESM module system
  • Upgraded Jest to v30 and test infrastructure to be ESM compatible

5.0.4

  • Bump minimatch to v3.1.5 (fixes ReDoS via globstar patterns)
  • Bump undici to v6.24.1 (WebSocket decompression bomb protection, header validation fixes)
  • Bump fast-xml-parser to v5.5.6

5.0.3

5.0.2

  • Bump @actions/cache to v5.0.3 #1692

5.0.1

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note

Low Risk
CI-only action version pin with identical cache configuration; no application or runtime behavior changes.

Overview
Pins actions/cache from the floating @v5 tag to @v5.0.5 in CI workflows so cache restore/save steps use a specific patch release.

In build-packages.yml, this updates Windows Boost restore (actions/cache/restore), mpir checkout cache (actions/cache), and Boost save (actions/cache/save). In rust.yml, it updates the fuzz job’s Cargo registry and build artifact cache step. Cache paths and keys are unchanged.

Reviewed by Cursor Bugbot for commit eb0cc75. Bugbot is set up for automated code reviews on this repo. Configure here.

Bumps [actions/cache](https://github.com/actions/cache) from 5 to 5.0.5.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](actions/cache@v5...v5.0.5)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: 5.0.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added Changed Required label for PR that categorizes merge commit message as "Changed" for changelog dependencies Pull requests that update a dependency file github_actions Pull requests that update Github_actions code labels Jun 23, 2026
@github-actions

Copy link
Copy Markdown

🤖 Cursor Dependency Analysis

Supply-Chain Malware Review

Reviewing the dependency update for supply-chain risk: checking workflow changes, upstream diff, and malware scan findings.
Verdict: benign

This PR only pins actions/cache from the floating major ref @v5 to the explicit patch ref @v5.0.5 in four workflow steps (.github/workflows/rust.yml, .github/workflows/build-packages.yml). No lockfiles, node_modules/, or vendor paths change.

Top evidence

  1. No upstream code delta. In .upstream-dependency, v5 and v5.0.5 both resolve to the same commit (27d5ce7f107fe9357f9df03efb73ab90386fccae). git diff v5..v5.0.5 is empty, so the runtime artifact is unchanged.

  2. Malware scanner is clean except one false positive. Report status: warn with 0 unicode, confusable, and IOC findings; 0 changed upstream files. The sole heuristic hit (maintainer_drift: 5->5.0.5) reflects Dependabot’s version-string change, not a different publisher or commit. I agree with the scanner’s substance: no compromise indicators.

  3. Checklist passes.

    • Obfuscation / exfiltration: No new bundled code, scripts, or suspicious network/process patterns introduced by this bump (same commit as before).
    • Invisible Unicode / Trojan Source: Scanner found 0; no hidden-character risk in the PR diff.
    • Dependency integrity: Official actions/cache from GitHub; no ghost version (tag exists and matches v5); no unexpected transitive deps or lifecycle scripts (preinstall/postinstall absent in upstream package.json).
    • Dependabot context: Workflow edits are limited to version pins—expected for this PR type, not broad workflow logic changes.

Actionable note: Pinning @v5.0.5 is slightly safer than @v5 because it avoids silent movement if the major tag is repointed. If you use self-hosted runners, actions/cache@v5 already requires runner >= 2.327.1 (Node 24)—that requirement applies equally here since the commit is unchanged.

Recommendation: Safe to merge from a supply-chain perspective.

Compatibility Analysis

Reviewing actions/cache usage in workflows and comparing v5 → v5.0.5 upstream changes.

Compatibility & adoption analysis — actions/cache 5 → 5.0.5

1) Usage in this repo

Four references across two workflows (GitHub-hosted runners only):

File Action Purpose
.github/workflows/rust.yml:40 actions/cache@v5.0.5 Cargo registry/build + fuzz corpus cache
.github/workflows/build-packages.yml:175 actions/cache/restore@v5.0.5 Restore Windows Boost install
.github/workflows/build-packages.yml:183 actions/cache@v5.0.5 Cache mpir_gc_x64 checkout
.github/workflows/build-packages.yml:228 actions/cache/save@v5.0.5 Save Windows Boost after install

Inputs used: path, key only.
Outputs used: cache-hit, cache-primary-key (Windows Boost restore/save flow).

No other workflows reference actions/cache.


2) Intersection with upstream changes

Important: In upstream, tags v5 and v5.0.5 resolve to the same commit (27d5ce7). This PR pins @v5@v5.0.5; it does not introduce new runtime behavior if you were already on the floating @v5 tag.

Changes between v5.0.0 and v5.0.5 (already included in current @v5):

Version Change Touches your usage?
5.0.1 Node 24 runtime; runner ≥ 2.327.1 Already required by @v5; GitHub-hosted runners satisfy this
5.0.2 No retry on HTTP 429 when saving cache Affects cache/save on Windows Boost step only; save failure is non-blocking
5.0.3–5.0.4 Security/dependency bumps (@actions/cache, minimatch, undici, etc.) Internal; no workflow API change
5.0.5 ts-http-runtime 0.3.2 → 0.3.5 Internal HTTP client only

No changes to action.yml, restore/action.yml, or save/action.yml inputs/outputs between v5.0.0 and v5.0.5. Your path/key/cache-hit/cache-primary-key usage is unchanged.


3) Risks / unknowns

  • Functional risk: very low. Patch pin only; same commit as @v5.
  • Runner requirement: None for this repo (no self-hosted runners).
  • Cache invalidation: Keys unchanged; existing caches remain compatible.
  • 429 on save (5.0.2): Windows Boost cache save may skip retry under rate limiting → slower CI, not build failure.
  • Malware scan maintainer_drift (5→5.0.5): Expected artifact of pinning a major tag to an explicit patch; not a supply-chain red flag here.

4) Recommendation: merge

Safe to merge. This is a supply-chain hygiene pin with security dependency updates already on the @v5 line. No workflow changes needed.

Test plan: Confirm CI on a PR run — especially build-packages on windows-latest (restore/save path) and rust fuzz job (cache restore). Expect behavior identical to current @v5 runs.


Malware Scan Summary

  • Status: warn
  • Warn only mode: true
  • Changed upstream files scanned: 0
  • Resolution strategy: to_version_single_commit
  • Changed node/vendor paths: 0
  • Changed lockfiles: 0
  • Resolved upstream range: 27d5ce7f107fe9357f9df03efb73ab90386fccae..27d5ce7f107fe9357f9df03efb73ab90386fccae
  • Resolved refs: from=27d5ce7f107fe9357f9df03efb73ab90386fccae to=27d5ce7f107fe9357f9df03efb73ab90386fccae
  • Unicode findings (post-allowlist): 0
  • Confusable findings (post-allowlist): 0
  • IOC findings (post-allowlist): 0
  • Heuristic findings (post-allowlist): 1

Top findings

  • actions/cache:0 maintainer_drift :: 5->5.0.5

@cmmarslender

Copy link
Copy Markdown
Member

@dependabot ignore this major version

@dependabot @github

dependabot Bot commented on behalf of github Jun 23, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you about version 5.x.x again, unless you re-open this PR.

@dependabot dependabot Bot deleted the dependabot/github_actions/actions/cache-5.0.5 branch June 23, 2026 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Changed Required label for PR that categorizes merge commit message as "Changed" for changelog dependencies Pull requests that update a dependency file github_actions Pull requests that update Github_actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant