chore(deps): bump actions/setup-node from 4 to 6#1
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Free Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4 to 6. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](actions/setup-node@v4...v6) --- updated-dependencies: - dependency-name: actions/setup-node dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
41788d5 to
556ea30
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/ci.yml:
- Line 19: Replace the mutable tags for GitHub Actions with the specified commit
SHAs: change the uses: entries for actions/setup-node (currently
"actions/setup-node@v6") and actions/checkout (currently "actions/checkout@v4")
to their pinned SHAs
("actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e" and
"actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5" respectively) so the
workflow references immutable commits instead of floating tags.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
| - uses: actions/checkout@v4 | ||
| - name: Use Node.js ${{ matrix.node-version }} | ||
| uses: actions/setup-node@v4 | ||
| uses: actions/setup-node@v6 |
There was a problem hiding this comment.
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
set -euo pipefail
gh api repos/actions/setup-node/commits/v6 --jq '.sha'Repository: SingularityAI-Dev/covenant-md
Length of output: 114
🏁 Script executed:
#!/bin/bash
set -euo pipefail
FILE=".github/workflows/ci.yml"
echo "== File lines 1-60 =="
nl -ba "$FILE" | sed -n '1,60p'
echo
echo "== All uses: lines in workflow =="
rg -n "^\s*uses:\s*" "$FILE" || trueRepository: SingularityAI-Dev/covenant-md
Length of output: 156
🏁 Script executed:
#!/bin/bash
set -euo pipefail
FILE=".github/workflows/ci.yml"
echo "== File lines 1-80 (numbered) =="
awk '{printf "%5d\t%s\n", NR, $0}' "$FILE" | sed -n '1,80p'
echo
echo "== All uses: lines in workflow =="
rg -n "^[[:space:]]*uses:[[:space:]]*" "$FILE" || trueRepository: SingularityAI-Dev/covenant-md
Length of output: 888
🏁 Script executed:
#!/bin/bash
set -euo pipefail
gh api repos/actions/checkout/commits/v4 --jq '.sha'Repository: SingularityAI-Dev/covenant-md
Length of output: 114
🏁 Script executed:
#!/bin/bash
set -euo pipefail
gh api repos/actions/setup-node/commits/v6 --jq '.sha'
gh api repos/actions/checkout/commits/v4 --jq '.sha'Repository: SingularityAI-Dev/covenant-md
Length of output: 155
🏁 Script executed:
gh api repos/actions/setup-node/commits/v6 --jq '.sha'
gh api repos/actions/checkout/commits/v4 --jq '.sha'Repository: SingularityAI-Dev/covenant-md
Length of output: 155
🏁 Script executed:
gh api repos/actions/setup-node/commits/v6 --jq '.sha'
gh api repos/actions/checkout/commits/v4 --jq '.sha'Repository: SingularityAI-Dev/covenant-md
Length of output: 155
🏁 Script executed:
gh api repos/actions/setup-node/commits/v6 --jq '.sha'
gh api repos/actions/checkout/commits/v4 --jq '.sha'Repository: SingularityAI-Dev/covenant-md
Length of output: 155
🏁 Script executed:
gh api repos/actions/setup-node/commits/v6 --jq '.sha'
gh api repos/actions/checkout/commits/v4 --jq '.sha'Repository: SingularityAI-Dev/covenant-md
Length of output: 155
🏁 Script executed:
gh api repos/actions/setup-node/commits/v6 --jq '.sha'Repository: SingularityAI-Dev/covenant-md
Length of output: 114
🏁 Script executed:
gh api repos/actions/setup-node/commits/v6 --jq '.sha'
gh api repos/actions/checkout/commits/v4 --jq '.sha'Repository: SingularityAI-Dev/covenant-md
Length of output: 155
Pin actions/setup-node (and actions/checkout) to commit SHAs in .github/workflows/ci.yml.
@v6 / @v4 are mutable tags; pin to actions/setup-node 48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e and actions/checkout 34e114876b0b11c390a56381ad16ebd13914f8d5.
Suggested change
- - uses: actions/checkout@v4
+ - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v6
+ uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: ${{ matrix.node-version }}
cache: npm
cache-dependency-path: package-lock.json🧰 Tools
🪛 zizmor (1.25.2)
[error] 19-19: unpinned action reference (unpinned-uses): action is not pinned to a hash (required by blanket policy)
(unpinned-uses)
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In @.github/workflows/ci.yml at line 19, Replace the mutable tags for GitHub
Actions with the specified commit SHAs: change the uses: entries for
actions/setup-node (currently "actions/setup-node@v6") and actions/checkout
(currently "actions/checkout@v4") to their pinned SHAs
("actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e" and
"actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5" respectively) so the
workflow references immutable commits instead of floating tags.
Bumps actions/setup-node from 4 to 6.
Release notes
Sourced from actions/setup-node's releases.
... (truncated)
Commits
48b55a0Update Node.js versions in versions.yml and bump package to v6.4.0 (#1533)ab72c7eUpgrade@actionsdependencies (#1525)53b8394Bump minimatch from 3.1.2 to 3.1.5 (#1498)54045abScope test lockfiles by package manager and update cache tests (#1495)c882bffReplace uuid with crypto.randomUUID() (#1378)774c1d6feat(node-version-file): support parsingdevEnginesfield (#1283)efcb663fix: remove hardcoded bearer (#1467)d02c89dFix npm audit issues (#1491)6044e13Docs: bump actions/checkout from v5 to v6 (#1468)8e49463Fix README typo (#1226)Summary by CodeRabbit