{{ message }}
Bump @actions/cache to v5.1.0 - handle read-only cache access#1775
Merged
danwkennedy merged 1 commit intoJun 26, 2026
Merged
Conversation
danwkennedy
approved these changes
Jun 26, 2026
Hide details
View details
danwkennedy
merged commit
caa2961
into
actions:releases/v5
Jun 26, 2026
15 checks passed
mergify Bot
added a commit
to ArcadeData/arcadedb
that referenced
this pull request
Jun 29, 2026
Bumps [actions/cache/restore](https://github.com/actions/cache) from 5.0.5 to 6.1.0. Release notes *Sourced from [actions/cache/restore's releases](https://github.com/actions/cache/releases).* > v6.1.0 > ------ > > What's Changed > -------------- > > * Bump `@actions/cache` to v6.1.0 - handle read-only cache access by [`@jasongin`](https://github.com/jasongin) in [actions/cache#1768](https://redirect.github.com/actions/cache/pull/1768) > > **Full Changelog**: <actions/cache@v6...v6.1.0> > > v6.0.0 > ------ > > What's Changed > -------------- > > * Update packages, migrate to ESM by [`@Samirat`](https://github.com/Samirat) in [actions/cache#1760](https://redirect.github.com/actions/cache/pull/1760) > > **Full Changelog**: <actions/cache@v5...v6.0.0> > > v5.1.0 > ------ > > What's Changed > -------------- > > * Bump `@actions/cache` to v5.1.0 - handle read-only cache access by [`@jasongin`](https://github.com/jasongin) in [actions/cache#1775](https://redirect.github.com/actions/cache/pull/1775) > > **Full Changelog**: <actions/cache@v5...v5.1.0> Changelog *Sourced from [actions/cache/restore's changelog](https://github.com/actions/cache/blob/main/RELEASES.md).* > 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`](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`](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`](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.1.0 > > * Bump `@actions/cache` to v6.1.0 to pick up [actions/toolkit#2435 Handle cache write error due to read-only token](https://redirect.github.com/actions/toolkit/pull/2435) > * Switch redundant "Cache save failed" warning to debug log in save-only > > ### 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 > > * Bump `@actions/cache` to v5.0.5 (Resolves: <https://github.com/actions/cache/security/dependabot/33>) > * Bump `@actions/core` to v2.0.3 > > ### 5.0.2 ... (truncated) Commits * [`55cc834`](actions/cache@55cc834) Merge pull request [#1768](https://redirect.github.com/actions/cache/issues/1768) from jasongin/readonly-cache * [`d8cd72f`](actions/cache@d8cd72f) Bump `@actions/cache` to v6.1.0 - handle cache write error due to RO token * [`2c8a9bd`](actions/cache@2c8a9bd) Merge pull request [#1760](https://redirect.github.com/actions/cache/issues/1760) from actions/samirat/esm\_migration\_and\_package\_update * [`e9b91fd`](actions/cache@e9b91fd) Prettier fixes * [`e4884b8`](actions/cache@e4884b8) Rebuild dist * [`10baf01`](actions/cache@10baf01) Fixed licenses * [`e39b386`](actions/cache@e39b386) Fix test mock return order * [`b692820`](actions/cache@b692820) PR feedback * [`6074912`](actions/cache@6074912) Rebuild dist bundles as ESM to match type:module * [`5a912e8`](actions/cache@5a912e8) Fix lint and jest issues * Additional commits viewable in [compare view](actions/cache@27d5ce7...55cc834) [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- 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 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)
mergify Bot
added a commit
to ArcadeData/arcadedb
that referenced
this pull request
Jun 29, 2026
Bumps [actions/cache](https://github.com/actions/cache) from 5.0.5 to 6.1.0. Release notes *Sourced from [actions/cache's releases](https://github.com/actions/cache/releases).* > v6.1.0 > ------ > > What's Changed > -------------- > > * Bump `@actions/cache` to v6.1.0 - handle read-only cache access by [`@jasongin`](https://github.com/jasongin) in [actions/cache#1768](https://redirect.github.com/actions/cache/pull/1768) > > **Full Changelog**: <actions/cache@v6...v6.1.0> > > v6.0.0 > ------ > > What's Changed > -------------- > > * Update packages, migrate to ESM by [`@Samirat`](https://github.com/Samirat) in [actions/cache#1760](https://redirect.github.com/actions/cache/pull/1760) > > **Full Changelog**: <actions/cache@v5...v6.0.0> > > v5.1.0 > ------ > > What's Changed > -------------- > > * Bump `@actions/cache` to v5.1.0 - handle read-only cache access by [`@jasongin`](https://github.com/jasongin) in [actions/cache#1775](https://redirect.github.com/actions/cache/pull/1775) > > **Full Changelog**: <actions/cache@v5...v5.1.0> Changelog *Sourced from [actions/cache's changelog](https://github.com/actions/cache/blob/main/RELEASES.md).* > 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`](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`](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`](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.1.0 > > * Bump `@actions/cache` to v6.1.0 to pick up [actions/toolkit#2435 Handle cache write error due to read-only token](https://redirect.github.com/actions/toolkit/pull/2435) > * Switch redundant "Cache save failed" warning to debug log in save-only > > ### 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 > > * Bump `@actions/cache` to v5.0.5 (Resolves: <https://github.com/actions/cache/security/dependabot/33>) > * Bump `@actions/core` to v2.0.3 > > ### 5.0.2 ... (truncated) Commits * [`55cc834`](actions/cache@55cc834) Merge pull request [#1768](https://redirect.github.com/actions/cache/issues/1768) from jasongin/readonly-cache * [`d8cd72f`](actions/cache@d8cd72f) Bump `@actions/cache` to v6.1.0 - handle cache write error due to RO token * [`2c8a9bd`](actions/cache@2c8a9bd) Merge pull request [#1760](https://redirect.github.com/actions/cache/issues/1760) from actions/samirat/esm\_migration\_and\_package\_update * [`e9b91fd`](actions/cache@e9b91fd) Prettier fixes * [`e4884b8`](actions/cache@e4884b8) Rebuild dist * [`10baf01`](actions/cache@10baf01) Fixed licenses * [`e39b386`](actions/cache@e39b386) Fix test mock return order * [`b692820`](actions/cache@b692820) PR feedback * [`6074912`](actions/cache@6074912) Rebuild dist bundles as ESM to match type:module * [`5a912e8`](actions/cache@5a912e8) Fix lint and jest issues * Additional commits viewable in [compare view](actions/cache@27d5ce7...55cc834) [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- 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 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)
mergify Bot
added a commit
to ArcadeData/arcadedb
that referenced
this pull request
Jun 29, 2026
Bumps [actions/cache/save](https://github.com/actions/cache) from 5.0.5 to 6.1.0. Release notes *Sourced from [actions/cache/save's releases](https://github.com/actions/cache/releases).* > v6.1.0 > ------ > > What's Changed > -------------- > > * Bump `@actions/cache` to v6.1.0 - handle read-only cache access by [`@jasongin`](https://github.com/jasongin) in [actions/cache#1768](https://redirect.github.com/actions/cache/pull/1768) > > **Full Changelog**: <actions/cache@v6...v6.1.0> > > v6.0.0 > ------ > > What's Changed > -------------- > > * Update packages, migrate to ESM by [`@Samirat`](https://github.com/Samirat) in [actions/cache#1760](https://redirect.github.com/actions/cache/pull/1760) > > **Full Changelog**: <actions/cache@v5...v6.0.0> > > v5.1.0 > ------ > > What's Changed > -------------- > > * Bump `@actions/cache` to v5.1.0 - handle read-only cache access by [`@jasongin`](https://github.com/jasongin) in [actions/cache#1775](https://redirect.github.com/actions/cache/pull/1775) > > **Full Changelog**: <actions/cache@v5...v5.1.0> Changelog *Sourced from [actions/cache/save's changelog](https://github.com/actions/cache/blob/main/RELEASES.md).* > 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`](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`](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`](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.1.0 > > * Bump `@actions/cache` to v6.1.0 to pick up [actions/toolkit#2435 Handle cache write error due to read-only token](https://redirect.github.com/actions/toolkit/pull/2435) > * Switch redundant "Cache save failed" warning to debug log in save-only > > ### 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 > > * Bump `@actions/cache` to v5.0.5 (Resolves: <https://github.com/actions/cache/security/dependabot/33>) > * Bump `@actions/core` to v2.0.3 > > ### 5.0.2 ... (truncated) Commits * [`55cc834`](actions/cache@55cc834) Merge pull request [#1768](https://redirect.github.com/actions/cache/issues/1768) from jasongin/readonly-cache * [`d8cd72f`](actions/cache@d8cd72f) Bump `@actions/cache` to v6.1.0 - handle cache write error due to RO token * [`2c8a9bd`](actions/cache@2c8a9bd) Merge pull request [#1760](https://redirect.github.com/actions/cache/issues/1760) from actions/samirat/esm\_migration\_and\_package\_update * [`e9b91fd`](actions/cache@e9b91fd) Prettier fixes * [`e4884b8`](actions/cache@e4884b8) Rebuild dist * [`10baf01`](actions/cache@10baf01) Fixed licenses * [`e39b386`](actions/cache@e39b386) Fix test mock return order * [`b692820`](actions/cache@b692820) PR feedback * [`6074912`](actions/cache@6074912) Rebuild dist bundles as ESM to match type:module * [`5a912e8`](actions/cache@5a912e8) Fix lint and jest issues * Additional commits viewable in [compare view](actions/cache@27d5ce7...55cc834) [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- 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 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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.
Backport #1768 to v5.
Description
@actions/cacheto v5.1.0 to pick up actions/toolkit#2435 Handle cache write error due to read-only tokenREADME.mdabout read-only cache accessdistMotivation and Context
The Actions service will soon issue tokens with read-only cache access to certain lower-trust worfklows such as
pull_request_target. (Until now, read-write cache access was always granted.) Without this fix, the cache actions do not propagate errors from the service when attempting to write to the cache, resulting in a misleading warning message emitted to the workflow log: "Unable to reserve cache with key ${key}, another job may be creating this cache." After this change, the correct "cache write denied" warning will be emitted instead when that happens.How Has This Been Tested?
@actions/cachechange in the toolkit repo included updated unit tests.Types of changes
Checklist: