-
Notifications
You must be signed in to change notification settings - Fork 1
deps: bump the github-actions group with 3 updates #2
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
Merged
FrilLab
merged 1 commit into
main
from
dependabot/github_actions/github-actions-0f2d96765f
Jun 1, 2026
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Add this suggestion to a batch that can be applied as a single commit.
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.
Add this suggestion to a batch that can be applied as a single commit.
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.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🌐 Web query:
actions/setup-node v6 cache behavior npm💡 Result:
In actions/setup-node v6, caching for npm is now enabled automatically by default [1][2]. Key aspects of this behavior include: Automatic Activation: The action automatically detects your package manager. If your package.json contains either a top-level packageManager field or a devEngines.packageManager field set to npm, caching will be enabled without requiring the cache input [1][2]. Control via Input: This automatic behavior is controlled by the package-manager-cache input, which defaults to true [2][3]. You can explicitly disable this automatic caching by setting package-manager-cache: false [1][4]. Mechanism: Under the hood, the action uses actions/cache to cache the global npm cache directory (rather than node_modules) [4][5]. It relies on your lockfile (e.g., package-lock.json) to generate a unique hash for the cache key [4][6]. For optimal results in CI, it is recommended to use npm ci rather than npm install, as npm ci is designed to work directly with the lockfile and will benefit from the restored global cache [6][7]. Security: For workflows involving elevated privileges or access to sensitive information, it is recommended to set package-manager-cache: false if caching is not explicitly required for your operation [1][8]. Note on Lockfiles: The caching feature requires a lockfile to generate a cache key. If you do not use a lockfile, you should explicitly disable caching to avoid errors or unexpected behavior [4].
Citations:
🏁 Script executed:
Repository: FrilLab/frilvault
Length of output: 161
🏁 Script executed:
Repository: FrilLab/frilvault
Length of output: 2349
🏁 Script executed:
Repository: FrilLab/frilvault
Length of output: 3052
🌐 Web query:
actions/setup-node@v6 package-manager-cache automatic caching detection conditions packageManager field devEngines.packageManager lockfile💡 Result:
In actions/setup-node@v6, automatic caching is natively supported and enabled by default for npm projects [1][2]. Detection Conditions: The action automatically detects and enables caching for npm when no explicit
cacheinput is provided, provided that one of the following conditions is met in thepackage.jsonfile: - The top-levelpackageManagerfield is set tonpm[1][3]. - ThedevEngines.packageManagerfield is set tonpm[1][2]. If yourpackage.jsondoes not include apackageManagerfield set tonpm, automatic caching will be disabled unless you explicitly enable it using thecacheinput [1][4]. For other package managers like Yarn or pnpm, caching is disabled by default and must always be configured manually via thecacheinput [1][2]. Control and Security: - The automatic caching behavior is controlled by thepackage-manager-cacheinput, which defaults totrue[1][2]. - To disable automatic caching (e.g., for security reasons in workflows with elevated privileges or sensitive information, or when operating without a lockfile), setpackage-manager-cache: false[1][5]. - The cache mechanism relies on the presence of a lockfile (e.g., package-lock.json) to generate a unique cache key [5][2]. It is strongly recommended to commit the lockfile to version control [4][2]. Note that for workflows that require specific cache paths or multiple dependency files (such as in monorepos), you should use thecache-dependency-pathinput to ensure the correct files are hashed for the cache key [2][6].Citations:
🏁 Script executed:
Repository: FrilLab/frilvault
Length of output: 233
🏁 Script executed:
Repository: FrilLab/frilvault
Length of output: 216
Fix npm caching configuration in the release workflow (setup-node@v6)
setup-node@v6 only auto-enables npm caching when the workflow’s
package.jsondeclarespackageManager/devEngines.packageManagerasnpm; inrelease.ymlthe step runs from repo root (no rootpackage.json/package-lock.json), while the only lockfile isapps/frilvault/package-lock.json. Update thesetup-node@v6step to match CI by addingcache: npmandcache-dependency-path: apps/frilvault/package-lock.json(and ensurenpm ciruns inapps/frilvault).🧰 Tools
🪛 zizmor (1.25.2)
[error] 18-18: unpinned action reference (unpinned-uses): action is not pinned to a hash (required by blanket policy)
(unpinned-uses)
[error] 18-18: runtime artifacts potentially vulnerable to a cache poisoning attack (cache-poisoning): enables caching by default
(cache-poisoning)
🤖 Prompt for AI Agents