Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 16 commits into from
Mar 19, 2025

Conversation

salmanmkc
Copy link
Contributor

@salmanmkc salmanmkc commented Mar 18, 2025

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.

Sorry, something went wrong.

salmanmkc added 16 commits March 7, 2025 07:56

Verified

This commit was signed with the committer’s verified signature.
corymhall Cory Hall

Verified

This commit was signed with the committer’s verified signature.
corymhall Cory Hall

Verified

This commit was signed with the committer’s verified signature.
corymhall Cory Hall

Verified

This commit was signed with the committer’s verified signature.
corymhall Cory Hall

Verified

This commit was signed with the committer’s verified signature.
corymhall Cory Hall

Verified

This commit was signed with the committer’s verified signature.
corymhall Cory Hall

Verified

This commit was signed with the committer’s verified signature.
corymhall Cory Hall

Verified

This commit was signed with the committer’s verified signature.
corymhall Cory Hall

Verified

This commit was signed with the committer’s verified signature.
corymhall Cory Hall

Verified

This commit was signed with the committer’s verified signature.
corymhall Cory Hall
@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
@salmanmkc salmanmkc merged commit 5a3ec84 into actions:main Mar 19, 2025
15 checks passed
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.

None yet

2 participants