Skip to content

Upgrade GitHub Actions for Node 24 compatibility#1248

Open
salmanmkc wants to merge 1 commit intoruvnet:mainfrom
salmanmkc:upgrade-github-actions-node24
Open

Upgrade GitHub Actions for Node 24 compatibility#1248
salmanmkc wants to merge 1 commit intoruvnet:mainfrom
salmanmkc:upgrade-github-actions-node24

Conversation

@salmanmkc
Copy link

Summary

Upgrade GitHub Actions to their latest versions to ensure compatibility with Node 24, as Node 20 will reach end-of-life in April 2026.

Changes

Action Old Version(s) New Version Release Files
actions/cache v4 v5 Release verification-pipeline.yml
actions/checkout v4 v6 Release ci.yml, integration-tests.yml, rollback-manager.yml, status-badges.yml, v3-ci.yml, verification-pipeline.yml
actions/download-artifact v4 v8 Release ci.yml, integration-tests.yml, rollback-manager.yml, verification-pipeline.yml
actions/github-script v7 v8 Release integration-tests.yml, rollback-manager.yml
actions/setup-node v4 v6 Release ci.yml, integration-tests.yml, rollback-manager.yml, status-badges.yml, v3-ci.yml, verification-pipeline.yml
actions/upload-artifact v4 v7 Release ci.yml, integration-tests.yml, rollback-manager.yml, status-badges.yml, v3-ci.yml, verification-pipeline.yml

Context

Per GitHub's announcement, Node 20 is being deprecated and runners will begin using Node 24 by default starting June 2nd, 2026.

Why this matters

  • Node 20 EOL: April 2026
  • Node 24 default: June 2nd, 2026
  • Action: Update to latest action versions that support Node 24

⚠️ Breaking Changes

  • actions/checkout (v4 → v6): Major version upgrade — review the release notes for breaking changes
  • actions/setup-node (v4 → v6): Major version upgrade — review the release notes for breaking changes
    • ⚠️ Input always-auth was removed — if your workflow uses it, the step may fail
  • actions/upload-artifact (v4 → v7): Major version upgrade — review the release notes for breaking changes
  • actions/download-artifact (v4 → v8): Major version upgrade — review the release notes for breaking changes
  • actions/github-script (v7 → v8): Major version upgrade — review the release notes for breaking changes
  • actions/cache (v4 → v5): Major version upgrade — review the release notes for breaking changes

Security Note

Actions that were previously pinned to commit SHAs remain pinned to SHAs (updated to the latest release SHA) to maintain the security benefits of immutable references.

Testing

These changes only affect CI/CD workflow configurations and should not impact application functionality. The workflows should be tested by running them on a branch before merging.

Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com>
@bono-bot
Copy link

Code Review: PR #1248

Verdict: ✅ APPROVE

Clean, focused PR. Upgrades 6 GitHub Actions across 6 workflow files for Node 24 compatibility.


Changes

Action Old New
actions/checkout v4 v6
actions/setup-node v4 v6
actions/upload-artifact v4 v7
actions/download-artifact v4 v8
actions/github-script v7 v8
actions/cache v4 v5

Review

  • All occurrences updated consistently across all 6 workflow files
  • Well-documented PR description with breaking change warnings
  • Correctly notes always-auth removal from setup-node@v6
  • Single signed commit

Note

These are all major version bumps. Recommend testing on a branch before merging to verify no workflows break — especially around artifact upload/download compatibility between v7/v8.


🤖 Review by Claude Code

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