Skip to content

chore(deps): bump actions/setup-node from 4 to 6#1

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/actions/setup-node-6
Open

chore(deps): bump actions/setup-node from 4 to 6#1
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/actions/setup-node-6

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github May 27, 2026

Bumps actions/setup-node from 4 to 6.

Release notes

Sourced from actions/setup-node's releases.

v6.0.0

What's Changed

Breaking Changes

Dependency Upgrades

Full Changelog: actions/setup-node@v5...v6.0.0

v5.0.0

What's Changed

Breaking Changes

This update, introduces automatic caching when a valid packageManager field is present in your package.json. This aims to improve workflow performance and make dependency management more seamless. To disable this automatic caching, set package-manager-cache: false

steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
  with:
    package-manager-cache: false

Make sure your runner is on version v2.327.1 or later to ensure compatibility with this release. See Release Notes

Dependency Upgrades

New Contributors

Full Changelog: actions/setup-node@v4...v5.0.0

v4.4.0

... (truncated)

Commits

Summary by CodeRabbit

  • Chores
    • Updated CI infrastructure to use the latest Node.js setup tooling for improved compatibility and security in automated testing processes.

Review Change Stack

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels May 27, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 27, 2026

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Free

Run ID: 7e5716ac-7c2c-40a9-bede-15958246fd46

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • ✅ Review completed - (🔄 Check again to review again)

Comment @coderabbitai help to get the list of available commands and usage tips.

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>
@dependabot dependabot Bot force-pushed the dependabot/github_actions/actions/setup-node-6 branch from 41788d5 to 556ea30 Compare May 28, 2026 06:40
Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

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

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: b15e4fb1-300e-4e84-b579-bbfc0cb423e1

📥 Commits

Reviewing files that changed from the base of the PR and between 2aa7757 and 556ea30.

📒 Files selected for processing (1)
  • .github/workflows/ci.yml

Comment thread .github/workflows/ci.yml
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
uses: actions/setup-node@v6
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

🧩 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" || true

Repository: 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" || true

Repository: 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants