Skip to content

Update to use @actions/cache 4.0.3 package & prepare for new release - #1577

Merged
salmanmkc merged 16 commits into
actions:mainfrom
salmanmkc:salmanmkc/4-test
Mar 19, 2025
Merged

Update to use @actions/cache 4.0.3 package & prepare for new release#1577
salmanmkc merged 16 commits into
actions:mainfrom
salmanmkc:salmanmkc/4-test

Conversation

@salmanmkc

@salmanmkc salmanmkc commented Mar 18, 2025

Copy link
Copy Markdown
Contributor

Description

This pull request includes updates to the version of the @actions/cache dependency in both the .licenses/npm/@actions/cache.dep.yml file and the package.json file.

Dependency version updates:

Package version update:

  • package.json: Updated package version from 4.2.2 to 4.2.3.

Updates to the @actions/cache dependency

4.0.3

  • Added masking for Shared Access Signature (SAS) cache entry URLs #1982
  • Improved debugging by logging both the cache version alongside the keys requested when a cache restore fails #1994

Motivation and Context

SAS tokens are sensitive information and should not be exposed in logs. This change masks the SAS token in the logs. The cache version is also logged to help with debugging.

How Has This Been Tested?

Done testing on a workflow that uses the cache save/restore and when there is a cache miss, I verified that it also prints out the version of cache that was requested.

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation (add or update README or docs)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@salmanmkc
salmanmkc marked this pull request as ready for review March 18, 2025 15:07
@salmanmkc
salmanmkc requested a review from a team as a code owner March 18, 2025 15:08
@salmanmkc salmanmkc changed the title Salmanmkc/4 test Bump version of actions cache Mar 18, 2025
@salmanmkc salmanmkc changed the title Bump version of actions cache Update to use @actions/cache 4.0.3 package Mar 19, 2025
@salmanmkc salmanmkc changed the title Update to use @actions/cache 4.0.3 package Update to use @actions/cache 4.0.3 package & prepare fornew release Mar 19, 2025
@salmanmkc salmanmkc changed the title Update to use @actions/cache 4.0.3 package & prepare fornew release Update to use @actions/cache 4.0.3 package & prepare for new release Mar 19, 2025

@turbo-zill turbo-zill left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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