Skip to content

fix: use up to date actions/setup-node#260

Open
ManuelRauber wants to merge 1 commit intoOWASP:mainfrom
ManuelRauber:patch-1
Open

fix: use up to date actions/setup-node#260
ManuelRauber wants to merge 1 commit intoOWASP:mainfrom
ManuelRauber:patch-1

Conversation

@ManuelRauber
Copy link
Copy Markdown

Summary

The current version of actions/setup-node produces a warning:

Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026.

Updating the usage to v6 removes the warning.

Why this change

To remove the warning about outdated node action usage.

What changed

  • Only updated actions/setup-node from v4 to v6.

Validation

Tested in my own repo with a copy of this action.

User-facing impact

Does this change:

  • affect scanning behavior
  • affect output formatting
  • affect JSON output
  • affect docs only

Notes

Add any extra context here.

The current version of actions/setup-node produces a warning:

> Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026.

Updating the usage to v6 removes the warning.
@sonukapoor
Copy link
Copy Markdown
Collaborator

Thanks for this update @ManuelRauber. Could you also update the workflow YAML files in this repo that still use actions/setup-node@v4? That would keep the GitHub Action and the repo CI workflows aligned on the same current major version.

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.

2 participants