Skip to content

chore(deps): bump @actions/cache to 6.2.0#1128

Merged
brunoborges merged 3 commits into
mainfrom
philip-gai/bump-actions-cache-6-2-0
Jul 15, 2026
Merged

chore(deps): bump @actions/cache to 6.2.0#1128
brunoborges merged 3 commits into
mainfrom
philip-gai/bump-actions-cache-6-2-0

Conversation

@philip-gai

Copy link
Copy Markdown
Member

Description:
Bumps @actions/cache from ^6.1.0 to ^6.2.0 (the 6.x ESM line this action already uses) and rebuilds the vendored dist/ bundles so the new client behavior ships with the action.

Logical changes:

  • Update @actions/cache dependency in package.json to ^6.2.0.
  • Update package-lock.json (resolves @actions/cache to 6.2.0).
  • Rebuild the vendored dist/setup and dist/cleanup bundles via ncc to embed the 6.2.0 client code.

New client behaviors that ship transparently with 6.2.0:

  • Honors the ACTIONS_CACHE_MODE env var to skip restore/save when the effective cache-mode disallows it.
  • Surfaces a core.warning (instead of failing the run) when the cache service denies a read/write due to token scopes.

Upstream change: published as @actions/cache 6.2.0, from actions/toolkit PR actions/toolkit#2447.

Related issue:
N/A

Check list:

  • Ran npm run check locally (format, lint, build, test) and all checks pass.
  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.

philip-gai and others added 2 commits July 15, 2026 13:27
Bump @actions/cache from ^6.1.0 to ^6.2.0 and rebuild the vendored
dist/ bundles. 6.2.0 honors ACTIONS_CACHE_MODE to skip restore/save
when the effective cache-mode disallows it, and surfaces a
core.warning (instead of failing the run) when the cache service
denies a read/write due to token scopes.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 0046a2b8-0238-4ac6-93f6-70c4e60b5630
Refresh the cached licensed dependency record so the version matches
the bumped @actions/cache 6.2.0. License text, summary, and homepage
are unchanged; only the version field was stale, which failed the
"Check licenses" CI job.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 0046a2b8-0238-4ac6-93f6-70c4e60b5630
@philip-gai
philip-gai marked this pull request as ready for review July 15, 2026 19:22
@philip-gai
philip-gai requested a review from a team as a code owner July 15, 2026 19:22
Copilot AI review requested due to automatic review settings July 15, 2026 19:22

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the action’s vendored dependency graph to ship @actions/cache@6.2.0 (and its new runtime behaviors) by bumping the npm dependency and rebuilding the committed dist/ bundles.

Changes:

  • Bump @actions/cache from ^6.1.0 to ^6.2.0 in package.json and lock it in package-lock.json.
  • Rebuild dist/setup and dist/cleanup bundles to vendor the updated cache client implementation.
  • Update the Licensed dependency record for @actions/cache to match the new version.
Show a summary per file
File Description
package.json Updates the declared @actions/cache dependency to ^6.2.0.
package-lock.json Locks @actions/cache resolution to 6.2.0 and updates lockfile metadata accordingly.
dist/setup/index.js Vendors updated @actions/cache runtime logic, but currently introduces a runtime ReferenceError in the save path (see comments).
dist/cleanup/index.js Vendors updated @actions/cache runtime logic, but currently includes broken identifiers for read-denied handling (see comments).
.licenses/npm/@actions/cache.dep.yml Updates Licensed record to @actions/cache@6.2.0.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 2/5 changed files
  • Comments generated: 0
  • Review effort level: Low

@brunoborges
brunoborges merged commit 6e2e32e into main Jul 15, 2026
674 of 675 checks passed
@brunoborges
brunoborges deleted the philip-gai/bump-actions-cache-6-2-0 branch July 15, 2026 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants