Update action runtime to Node 24 and refresh CI to actions/checkout@v5#137
Update action runtime to Node 24 and refresh CI to actions/checkout@v5#137Bala-Nallamilli merged 2 commits intov2from
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the GitHub Action runtime and CI dependencies to align with GitHub Actions’ upcoming Node 24 default and remove Node 20 deprecation warnings.
Changes:
- Switch
action.ymlruntime fromnode20tonode24. - Update CI workflows to use
actions/checkout@v5(replacing@v4) across all jobs.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
action.yml |
Updates the action runtime to Node 24 to avoid Node 20 deprecation warnings for consumers. |
.github/workflows/workflow.yml |
Refreshes CI checkout steps to actions/checkout@v5 to remove deprecation warnings in internal CI. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
@copilot resolve the merge conflicts in this pull request |
…de24 + checkout@v5 Co-authored-by: Bala-Nallamilli <30488711+Bala-Nallamilli@users.noreply.github.com>
Resolved in 64965f7. The base |
|
thank you! |
Summary
GitHub Actions is deprecating Node 20 for JavaScript actions and will switch the
default to Node 24 on June 2, 2026 (Node 20 removed Sep 16, 2026):
https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
This PR moves
digitalocean/action-doctlto Node 24 today so customers stopseeing the deprecation warning in their pipelines. Builds on the work in
#124 by @lgrosales — opening a fresh PR rather than rebasing #124 onto the
recent
v2HEAD so we can also include the matching CI cleanup.Changes
action.yml:runs.usingnode20→node24.github/workflows/workflow.yml:actions/checkout@v4→@v5(×6) — removesthe matching deprecation warning from our own CI annotations. Internal only,
no consumer impact.
warning message -
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: ./, actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/Why now (not waiting for June 2)
GitHub-hosted runners already accept
using: node24today as opt-in — theJune 2 date is when it becomes the default. Confirmed end-to-end on a
temporary test branch (
test/esc-22321-node24-manifest):using: node20,checkout@v4using: node24,checkout@v4using: node24,checkout@v5Tool-cache probe confirmed the Node 24 binary is present on every hosted
runner (
/opt/hostedtoolcache/node/24.14.1/x64/bin/nodeon Linux,equivalents on macOS/Windows), proving the runner genuinely interprets
using: node24actions on Node 24, not a Node 20 fallback.Test plan
Out of scope
getLatestReleaseOctokit callin
main.js— fix should be a follow-up PR addingauth: process.env.GITHUB_TOKENto the Octokit constructor.