step-security / harden-runner

Network egress filtering and runtime security for GitHub-hosted and self-hosted runners
https://www.stepsecurity.io
Apache License 2.0
597 stars 47 forks source link

Upgrade from 'node16' to 'node20' #375

Closed ericcornelissen closed 7 months ago

ericcornelissen commented 7 months ago

Upgrade the Node.js version used to run this action from Node.js v16 ('node16') to Node.js v20 ('node20'). For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

This follows warnings that started to show up in GitHub Actions summary annotations like:

Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

(Where eb238b55efaa70779f274895e782ed17c84f2895 is https://github.com/step-security/harden-runner/releases/tag/v2.6.1.)

varunsh-coder commented 7 months ago

@ericcornelissen thanks a lot for creating the PR! We have a release going out this week and plan to update to node20 as part of that. I will keep you posted.

varunsh-coder commented 7 months ago

@ericcornelissen a new version has been released with the updated runtime (node20). Thanks again for creating this PR! I will go ahead and close it.