Skip to content

Update @actions/cache and @actions/artifact, stop ignoring them in Dependabot - #978

Merged
bigdaz merged 1 commit into
mainfrom
update-actions-cache-artifact-deps
Jun 10, 2026
Merged

bigdaz merged 1 commit into
mainfrom
update-actions-cache-artifact-deps

Conversation

@bigdaz

@bigdaz bigdaz commented Jun 9, 2026

Copy link
Copy Markdown
Member

What

  • Bumps @actions/cache 6.0.0 → 6.0.1
  • Bumps @actions/artifact 6.1.0 → 6.2.1
  • Removes the Dependabot ignore rules for both so they're maintained automatically going forward

Why

Both deps were excluded from Dependabot's automatic updates: *actions/cache* was fully ignored, and *actions/artifact* had major/minor bumps ignored. Neither restriction is necessary.

The cache ignore existed out of concern for keeping versions aligned with the vendored gradle-actions-caching library. That alignment isn't required:

  • The vendored bundle (sources/vendor/gradle-actions-caching/index.js) inlines its own (patched) @actions/cache and exposes a type-clean API (restore/save) that never leaks @actions/cache types across the boundary.
  • This repo's own direct @actions/cache usage is a separate, unpatched copy consumed via the stock string-returning API (cache-service-basic.ts, provision.ts), with no patch-package/postinstall in this repo.

So there's no cross-repo sync requirement — these can be updated like any other dependency.

Verification

  • npm install --package-lock-only regenerated the lockfile (resolves cache 6.0.1, artifact 6.2.1)
  • ./build passes clean

The root dist/ directory is intentionally left for the CI workflow to update.

🤖 Generated with Claude Code

…pendabot

Bumps @actions/cache 6.0.0 -> 6.0.1 and @actions/artifact 6.1.0 -> 6.2.1,
and removes the Dependabot ignore rules for both so they are maintained
automatically going forward.

The cache ignore was originally in place out of concern for keeping versions
aligned with the vendored gradle-actions-caching library. That alignment is
not required: the vendored bundle inlines its own (patched) @actions/cache and
exposes a type-clean API, while this repo's direct @actions/cache usage is a
separate, unpatched copy using the stock string-returning API. There is no
cross-repo sync requirement, so these can be updated normally.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@bigdaz
bigdaz merged commit 9d6bacd into main Jun 10, 2026
129 checks passed
@bigdaz
bigdaz deleted the update-actions-cache-artifact-deps branch June 10, 2026 00:10
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.

1 participant