Skip to content

Backport: Handle cache write error due to RO token#2435

Merged
jasongin merged 1 commit into
cache-v5.1.0-releasefrom
jasongin/readonly-cache-v5
Jun 17, 2026
Merged

Backport: Handle cache write error due to RO token#2435
jasongin merged 1 commit into
cache-v5.1.0-releasefrom
jasongin/readonly-cache-v5

Conversation

@jasongin

@jasongin jasongin commented Jun 17, 2026

Copy link
Copy Markdown
Contributor
@jasongin jasongin requested a review from a team as a code owner June 17, 2026 19:13
@jasongin jasongin merged commit 37c2bc2 into cache-v5.1.0-release Jun 17, 2026
18 of 20 checks passed
@jasongin jasongin deleted the jasongin/readonly-cache-v5 branch June 17, 2026 21:26
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)
  
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility\_score?dependency-name=actions/cache/restore&package-manager=github\_actions&previous-version=5.0.5&new-version=6.1.0)](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)
  
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility\_score?dependency-name=actions/cache&package-manager=github\_actions&previous-version=5.0.5&new-version=6.1.0)](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)
  
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility\_score?dependency-name=actions/cache/save&package-manager=github\_actions&previous-version=5.0.5&new-version=6.1.0)](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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants