-
-
Notifications
You must be signed in to change notification settings - Fork 33
chore: update GitHub Actions versions #486
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
Open
noritaka1166
wants to merge
1
commit into
ts-safeql:main
Choose a base branch
from
noritaka1166:update-github-actions
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
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:
What are the latest stable versions of actions/checkout and actions/setup-node GitHub Actions? Are v6 releases available and stable?💡 Result:
As of June 14, 2026, the latest stable versions for both GitHub Actions are in the v6 major release line. Both v6 versions are fully released and stable [1][2][3]. For actions/checkout, the latest stable release is v6.0.3, published on June 2, 2026 [1][2]. For actions/setup-node, the latest stable release is v6.4.0, which was published following the v6.3.0 release [4][3]. The v6 major versions for both actions are considered standard stable releases [1][5]. Users are encouraged to use them as they represent the current supported major line for these actions [2][3].
Citations:
🌐 Web query:
What are the breaking changes between v4 and v6 for actions/checkout and actions/setup-node?💡 Result:
The transition from v4 to v6 for both actions/checkout and actions/setup-node includes significant changes, primarily focused on security and performance. ### actions/checkout The transition to v6 introduces a major security improvement regarding credential handling, with no required changes to existing workflows [1][2]. * Credential Persistence: In v6, the
persist-credentialsfeature has been updated to store credentials in a separate file under$RUNNER_TEMPinstead of directly in the local.git/configfile [1][3]. * Runner Requirements: For workflows that use Docker container actions and require authenticated Git commands, you must use Actions Runner v2.329.0 or later to support this new credential storage mechanism [2][3]. * Note on v5: Between v4 and v6, v5 was released with an update to the Node.js 24 runtime, which requires Actions Runner v2.327.1 or later [2][3]. ### actions/setup-node The v6 release for actions/setup-node includes two primary breaking changes [4][5]: * Automatic Caching Limits: Caching is now automatically enabled only for npm projects when thedevEngines.packageManageror top-levelpackageManagerfield is set tonpminpackage.json[4][6]. For other package managers (e.g., Yarn, pnpm), caching is disabled by default and must be explicitly configured using thecacheinput [5]. * Removal ofalways-auth: Thealways-authinput has been removed entirely as it is deprecated. You should remove any references to this input from your workflow files to avoid errors [4][5]. * Note on v5: Similar to the checkout action, v5 of setup-node transitioned to the Node.js 24 runtime and enabled automatic caching by default [4][5]. If you are migrating from v4, be aware that these cache-related changes in v5 and v6 may affect your workflows [4][5].Citations:
Review breaking changes introduced by the v4→v6 upgrade for both actions.
v6 versions are stable and available. However, two breaking changes require attention:
actions/checkout@v6: Credential handling changed; requires Actions Runner v2.329.0+ to support the new credential storage mechanism in
$RUNNER_TEMP.actions/setup-node@v6: Automatic caching is now limited to npm-only (when
packageManageris set tonpmin package.json). Since this workflow uses pnpm, caching must be explicitly enabled via thecacheinput if needed. Also, thealways-authinput has been removed.Verify that your Actions Runner meets the minimum version requirement and that the pnpm caching behavior aligns with your needs.
🧰 Tools
🪛 zizmor (1.25.2)
[warning] 38-38: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false
(artipacked)
[error] 38-38: unpinned action reference (unpinned-uses): action is not pinned to a hash (required by blanket policy)
(unpinned-uses)
[error] 39-39: unpinned action reference (unpinned-uses): action is not pinned to a hash (required by blanket policy)
(unpinned-uses)
[error] 40-40: unpinned action reference (unpinned-uses): action is not pinned to a hash (required by blanket policy)
(unpinned-uses)
🤖 Prompt for AI Agents