Skip to content

chore(ci): bump actions/cache from 4 to 5 - #48

Merged
justin-layerv merged 2 commits into
mainfrom
dependabot/github_actions/actions/cache-5
Apr 16, 2026
Merged

chore(ci): bump actions/cache from 4 to 5#48
justin-layerv merged 2 commits into
mainfrom
dependabot/github_actions/actions/cache-5

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 13, 2026

Copy link
Copy Markdown
Contributor

Bumps actions/cache from 4 to 5.

Release notes

Sourced from actions/cache's releases.

v5.0.0

[!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.


What's Changed

Full Changelog: actions/cache@v4.3.0...v5.0.0

v4.3.0

What's Changed

New Contributors

Full Changelog: actions/cache@v4...v4.3.0

v4.2.4

What's Changed

New Contributors

Full Changelog: actions/cache@v4...v4.2.4

v4.2.3

What's Changed

  • Update to use @​actions/cache 4.0.3 package & prepare for new release by @​salmanmkc in actions/cache#1577 (SAS tokens for cache entries are now masked in debug logs)

New Contributors

Full Changelog: actions/cache@v4.2.2...v4.2.3

... (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

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

  • Update @azure/storage-blob to ^12.29.1 via @actions/cache@5.0.1 #1685

5.0.0

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

... (truncated)

Commits
  • 27d5ce7 Merge pull request #1747 from actions/yacaovsnc/update-dependency
  • f280785 licensed changes
  • 619aeb1 npm run build generated dist files
  • bcf16c2 Update ts-http-runtime to 0.3.5
  • 6682284 Merge pull request #1738 from actions/prepare-v5.0.4
  • e340396 Update RELEASES
  • 8a67110 Add licenses
  • 1865903 Update dependencies & patch security vulnerabilities
  • 5656298 Merge pull request #1722 from RyPeck/patch-1
  • 4e380d1 Fix cache key in examples.md for bun.lock
  • Additional commits viewable in compare view

@dependabot @github

dependabot Bot commented on behalf of github Apr 13, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: ci. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot dependabot Bot added the dependencies Dependencies label Apr 13, 2026
@github-actions

github-actions Bot commented Apr 13, 2026

Copy link
Copy Markdown
Contributor

⚠️ Deprecation Warning: The deny-licenses option is deprecated for possible removal in the next major release. For more information, see issue 997.

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails
actions/actions/cache 27d5ce7f107fe9357f9df03efb73ab90386fccae 🟢 6.3
Details
CheckScoreReason
Code-Review🟢 10all changesets reviewed
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Packaging⚠️ -1packaging workflow not detected
Maintained🟢 1030 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Binary-Artifacts🟢 10no binaries found in the repo
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Pinned-Dependencies🟢 3dependency not pinned by hash detected -- score normalized to 3
Fuzzing⚠️ 0project is not fuzzed
License🟢 10license file detected
Signed-Releases⚠️ -1no releases found
Security-Policy🟢 9security policy file detected
Branch-Protection⚠️ 0branch protection not enabled on development/release branches
SAST🟢 10SAST tool is run on all commits

Scanned Files

  • .github/workflows/discord.yml

@dependabot
dependabot Bot force-pushed the dependabot/github_actions/actions/cache-5 branch from 1a04419 to 5992996 Compare April 16, 2026 04:48
Bumps [actions/cache](https://github.com/actions/cache) from 4 to 5.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](actions/cache@v4...v5)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/github_actions/actions/cache-5 branch from 5992996 to 9dc693f Compare April 16, 2026 04:50
Mutable tags (v5) are a supply chain risk — a compromised action repo
can force-push the tag to arbitrary code. Pin to the commit SHA with a
version comment so Dependabot still detects updates.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@claude

claude Bot commented Apr 16, 2026

Copy link
Copy Markdown

PR Review — chore(ci): bump actions/cache from 4 to 5

Overall: Approve — Clean, low-risk CI dependency bump with good SHA pinning. A few observations below.

What's good

  • SHA pinning is excellent supply chain hygiene. Mutable tags (v5) can be force-pushed; pinning to 27d5ce7f... eliminates that vector.
  • Version comment (# v5.0.4) keeps the pin human-readable and lets Dependabot continue detecting updates.
  • Minimal diff — single-line change in a single file, easy to verify.

Observations

  1. SHA may be slightly ahead of the v5.0.4 tag.
    The SHA 27d5ce7 corresponds to PR #1747 (a dependency update merged after the v5.0.4 release prep in PR #1738). This is low risk — it's just a transitive dependency bump — but for precision the comment could say # v5 (post-v5.0.4) or ideally pin to the exact v5.0.4 tag SHA. Minor nit, not a blocker.

  2. actions/checkout is still on unpinned v4 in this workflow.
    discord.yml uses actions/checkout@v4 (lines 35, 70), while every other workflow in the repo has been upgraded to actions/checkout@v6 pinned to SHA (de0fac2e...). This creates both a version gap and a pinning inconsistency. Consider a follow-up PR to align discord.yml with the rest of the repo.

  3. Other unpinned actions in discord.yml.
    actions/setup-python@v5 (line 38) and peter-evans/repository-dispatch@v3 (line 83) still use mutable tags. If the goal is supply chain hardening, these should be pinned to SHAs as well in a follow-up.

  4. Runner compatibility note.
    actions/cache@v5 requires Actions Runner ≥ 2.327.1 (Node.js 24 runtime). GitHub-hosted ubuntu-latest runners meet this requirement; just flagging in case self-hosted runners are ever added.

Summary

Category Assessment
Code quality Clean, follows repo conventions
Bugs/issues None
Performance No impact (cache behavior unchanged)
Security Positive — SHA pinning improves supply chain security
Test coverage N/A (CI config change)

LGTM. The unpinned actions/checkout@v4 and other mutable tags in discord.yml are worth addressing in a follow-up but shouldn't block this PR.


Reviewed by Claude

@justin-layerv
justin-layerv merged commit d57ed59 into main Apr 16, 2026
18 checks passed
@justin-layerv
justin-layerv deleted the dependabot/github_actions/actions/cache-5 branch April 16, 2026 04:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant