Skip to content

Conversation

@salmanmkc
Copy link
Contributor

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/checkout v2, v4 v6 Release codegen-validation.yml, live-test.yml, main.yml, release.yml, update-generator.yml
actions/download-artifact v4 v7 Release release.yml
actions/github-script v7 v8 Release needs-triage.yml
actions/setup-dotnet v3, v4 v5 Release codegen-validation.yml, live-test.yml, main.yml, release.yml, update-generator.yml
actions/setup-node v4 v6 Release codegen-validation.yml, update-generator.yml
actions/upload-artifact v4 v6 Release codegen-validation.yml, live-test.yml, main.yml, release.yml

Context

Per GitHub's announcement, Node 20 is being deprecated and runners will begin using Node 24 by default starting March 4th, 2026.

Why this matters

  • Node 20 EOL: April 2026
  • Node 24 default: March 4th, 2026
  • Action: Update to latest action versions that support Node 24

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.

Copy link
Collaborator

@christothes christothes left a comment

Choose a reason for hiding this comment

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

Thank you @salmanmkc!

@salmanmkc
Copy link
Contributor Author

Thank you @salmanmkc!

My pleausre, thanks for the review!

Copy link
Collaborator

@jsquire jsquire left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution, @salmanmkc!

@salmanmkc
Copy link
Contributor Author

Thank you for your contribution, @salmanmkc!

You're welcome!

@jsquire jsquire merged commit a5941b1 into openai:main Dec 16, 2025
2 checks passed
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.

3 participants