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)
@azerah885-Bryon65

Copy link
Copy Markdown

@azerah885-Bryon65

Copy link
Copy Markdown

Gunakan ikon edit untuk menyemat, menambahkan atau memadamkan klip.

philip-gai added a commit that referenced this pull request Jul 15, 2026
#2451)

Backport of the read-denied and ACTIONS_CACHE_MODE cache-mode gating from
the ESM v6.2.0 line (#2447) to the CommonJS v5 line, released as 5.2.0.
Mirrors the earlier write-denied backport (#2435, 5.1.0).

- Detect the `cache read denied:` prefix on download failures (v2 twirp
  path and v1 `_apis/artifactcache` path) and surface it as a core.warning
  without failing the run.
- Honor ACTIONS_CACHE_MODE: skip restore when the effective cache-mode does
  not permit reads (none, write-only) and skip save when it does not permit
  writes (none, read), logging a single non-fatal core.info line. Unset or
  unrecognized modes are unchanged.
- Add read-denied and cache-mode tests; bump to 5.2.0 with RELEASES entry.


Copilot-Session: e96deec1-716e-4e14-acdf-a230139420a2

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
vbraun pushed a commit to sagemath/sage that referenced this pull request Jul 15, 2026
gh-42490: build(deps): bump actions/cache from 4 to 6
    
Bumps [actions/cache](https://github.com/actions/cache) from 4 to 6.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actions/cache/releases">actions/cache's
releases</a>.</em></p>
<blockquote>
<h2>v6.0.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Update packages, migrate to ESM by <a
href="https://github.com/Samirat"><code>@​Samirat</code></a> in <a href=
"https://redirect.github.com/actions/cache/pull/1760">actions/cache#1760
</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/actions/
cache/compare/v5...v6.0.0">https://github.com/actions/cache/compare/v5..
.v6.0.0</a></p>
<h2>v5.1.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Bump <code>@​actions/cache</code> to v5.1.0 - handle read-only cache
access by <a
href="https://github.com/jasongin"><code>@​jasongin</code></a> in <a hre
f="https://redirect.github.com/actions/cache/pull/1775">actions/cache#17
75</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/actions/
cache/compare/v5...v5.1.0">https://github.com/actions/cache/compare/v5..
.v5.1.0</a></p>
<h2>v5.0.5</h2>
<h2>What's Changed</h2>
<ul>
<li>Update ts-http-runtime dependency by <a
href="https://github.com/yacaovsnc"><code>@​yacaovsnc</code></a> in <a h
ref="https://redirect.github.com/actions/cache/pull/1747">actions/cache#
1747</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/actions/
cache/compare/v5...v5.0.5">https://github.com/actions/cache/compare/v5..
.v5.0.5</a></p>
<h2>v5.0.4</h2>
<h2>What's Changed</h2>
<ul>
<li>Add release instructions and update maintainer docs by <a
href="https://github.com/Link"><code>@​Link</code></a>- in <a href="http
s://redirect.github.com/actions/cache/pull/1696">actions/cache#1696</a><
/li>
<li>Potential fix for code scanning alert no. 52: Workflow does not
contain permissions by <a
href="https://github.com/Link"><code>@​Link</code></a>- in <a href="http
s://redirect.github.com/actions/cache/pull/1697">actions/cache#1697</a><
/li>
<li>Fix workflow permissions and cleanup workflow names / formatting by
<a href="https://github.com/Link"><code>@​Link</code></a>- in <a href="h
ttps://redirect.github.com/actions/cache/pull/1699">actions/cache#1699</
a></li>
<li>docs: Update examples to use the latest version by <a
href="https://github.com/XZTDean"><code>@​XZTDean</code></a> in <a href=
"https://redirect.github.com/actions/cache/pull/1690">actions/cache#1690
</a></li>
<li>Fix proxy integration tests by <a
href="https://github.com/Link"><code>@​Link</code></a>- in <a href="http
s://redirect.github.com/actions/cache/pull/1701">actions/cache#1701</a><
/li>
<li>Fix cache key in examples.md for bun.lock by <a
href="https://github.com/RyPeck"><code>@​RyPeck</code></a> in <a href="h
ttps://redirect.github.com/actions/cache/pull/1722">actions/cache#1722</
a></li>
<li>Update dependencies &amp; patch security vulnerabilities by <a
href="https://github.com/Link"><code>@​Link</code></a>- in <a href="http
s://redirect.github.com/actions/cache/pull/1738">actions/cache#1738</a><
/li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/XZTDean"><code>@​XZTDean</code></a> made
their first contribution in <a href="https://redirect.github.com/actions
/cache/pull/1690">actions/cache#1690</a></li>
<li><a href="https://github.com/RyPeck"><code>@​RyPeck</code></a> made
their first contribution in <a href="https://redirect.github.com/actions
/cache/pull/1722">actions/cache#1722</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/actions/
cache/compare/v5...v5.0.4">https://github.com/actions/cache/compare/v5..
.v5.0.4</a></p>
<h2>v5.0.3</h2>
<h2>What's Changed</h2>
<ul>
<li>Bump <code>@actions/cache</code> to v5.0.5 (Resolves: <a href="https
://github.com/actions/cache/security/dependabot/33">https://github.com/a
ctions/cache/security/dependabot/33</a>)</li>
<li>Bump <code>@actions/core</code> to v2.0.3</li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/actions/
cache/compare/v5...v5.0.3">https://github.com/actions/cache/compare/v5..
.v5.0.3</a></p>
<h2>v.5.0.2</h2>
<h1>v5.0.2</h1>
<h2>What's Changed</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/actions/cache/blob/main/
RELEASES.md">actions/cache's changelog</a>.</em></p>
<blockquote>
<h1>Releases</h1>
<h2>How to prepare a release</h2>
<blockquote>
<p>[!NOTE]
Relevant for maintainers with write access only.</p>
</blockquote>
<ol>
<li>Switch to a new branch from <code>main</code>.</li>
<li>Run <code>npm test</code> to ensure all tests are passing.</li>
<li>Update the version in <a href="https://github.com/actions/cache/blob
/main/package.json"><code>https://github.com/actions/cache/blob/main/pac
kage.json</code></a>.</li>
<li>Run <code>npm run build</code> to update the compiled files.</li>
<li>Update this <a href="https://github.com/actions/cache/blob/main/RELE
ASES.md"><code>https://github.com/actions/cache/blob/main/RELEASES.md</c
ode></a> with the new version and changes in the <code>##
Changelog</code> section.</li>
<li>Run <code>licensed cache</code> to update the license report.</li>
<li>Run <code>licensed status</code> and resolve any warnings by
updating the <a href="https://github.com/actions/cache/blob/main/.licens
ed.yml"><code>https://github.com/actions/cache/blob/main/.licensed.yml</
code></a> file with the exceptions.</li>
<li>Commit your changes and push your branch upstream.</li>
<li>Open a pull request against <code>main</code> and get it reviewed
and merged.</li>
<li>Draft a new release <a href="https://github.com/actions/cache/releas
es">https://github.com/actions/cache/releases</a> use the same version
number used in <code>package.json</code>
<ol>
<li>Create a new tag with the version number.</li>
<li>Auto generate release notes and update them to match the changes you
made in <code>RELEASES.md</code>.</li>
<li>Toggle the set as the latest release option.</li>
<li>Publish the release.</li>
</ol>
</li>
<li>Navigate to <a
href="https://github.com/actions/cache/actions/workflows/release-new-
action-
version.yml">https://github.com/actions/cache/actions/workflows/release-
new-action-version.yml</a>
<ol>
<li>There should be a workflow run queued with the same version
number.</li>
<li>Approve the run to publish the new version and update the major tags
for this action.</li>
</ol>
</li>
</ol>
<h2>Changelog</h2>
<h3>6.1.0</h3>
<ul>
<li>Bump <code>@actions/cache</code> to v6.1.0 to pick up <a href="https
://redirect.github.com/actions/toolkit/pull/2435">actions/toolkit#2435
Handle cache write error due to read-only token</a></li>
<li>Switch redundant &quot;Cache save failed&quot; warning to debug log
in save-only</li>
</ul>
<h3>6.0.0</h3>
<ul>
<li>Updated <code>@actions/cache</code> to ^6.0.1,
<code>@actions/core</code> to ^3.0.1, <code>@actions/exec</code> to
^3.0.0, <code>@actions/io</code> to ^3.0.2</li>
<li>Migrated to ESM module system</li>
<li>Upgraded Jest to v30 and test infrastructure to be ESM
compatible</li>
</ul>
<h3>5.0.4</h3>
<ul>
<li>Bump <code>minimatch</code> to v3.1.5 (fixes ReDoS via globstar
patterns)</li>
<li>Bump <code>undici</code> to v6.24.1 (WebSocket decompression bomb
protection, header validation fixes)</li>
<li>Bump <code>fast-xml-parser</code> to v5.5.6</li>
</ul>
<h3>5.0.3</h3>
<ul>
<li>Bump <code>@actions/cache</code> to v5.0.5 (Resolves: <a href="https
://github.com/actions/cache/security/dependabot/33">https://github.com/a
ctions/cache/security/dependabot/33</a>)</li>
<li>Bump <code>@actions/core</code> to v2.0.3</li>
</ul>
<h3>5.0.2</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="actions/cache@55cc8345863c7cc4c66
a329aec7e433d2d1c52a9"><code>55cc834</code></a> Merge pull request <a
href="https://redirect.github.com/actions/cache/issues/1768">#1768</a>
from jasongin/readonly-cache</li>
<li><a href="actions/cache@d8cd72f230726cdf445
7ebb61ec1b593a8d12337"><code>d8cd72f</code></a> Bump
<code>@​actions/cache</code> to v6.1.0 - handle cache write error due to
RO token</li>
<li><a href="actions/cache@2c8a9bd7457de244a40
8f35966fab2fb45fda9c8"><code>2c8a9bd</code></a> Merge pull request <a
href="https://redirect.github.com/actions/cache/issues/1760">#1760</a>
from actions/samirat/esm_migration_and_package_update</li>
<li><a href="actions/cache@e9b91fdc3fea7d79165
fceb79042ef45c2d51023"><code>e9b91fd</code></a> Prettier fixes</li>
<li><a href="actions/cache@e4884b8ff7f92ef6b52
c79eda480bbc86e685adb"><code>e4884b8</code></a> Rebuild dist</li>
<li><a href="actions/cache@10baf0191a3c426ea0f
a4a3253a5c04233b6e18f"><code>10baf01</code></a> Fixed licenses</li>
<li><a href="actions/cache@e39b386c9004d72a15d
864ade8c0b3a702d47a37"><code>e39b386</code></a> Fix test mock return
order</li>
<li><a href="actions/cache@b6928203372a8571ff9
84c0c883ef3a1adfb0c06"><code>b692820</code></a> PR feedback</li>
<li><a href="actions/cache@60749128a44d25d3c52
0a489e576380cf00ff3f1"><code>6074912</code></a> Rebuild dist bundles as
ESM to match type:module</li>
<li><a href="actions/cache@5a912e8b4af820fa082
a0e75cfd2c782f8fbfe0e"><code>5a912e8</code></a> Fix lint and jest
issues</li>
<li>Additional commits viewable in <a
href="https://github.com/actions/cache/compare/v4...v6">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-
badges.githubapp.com/badges/compatibility_score?dependency-
name=actions/cache&package-manager=github_actions&previous-
version=4&new-version=6)](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)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 <dependency name> 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)


</details>
    
URL: #42490
Reported by: dependabot[bot]
Reviewer(s):
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