Skip to content

Upgrade GitHub Actions for Node 24 compatibility#9316

Merged
NicolasHug merged 3 commits into
pytorch:mainfrom
salmanmkc:upgrade-github-actions-node24
Jan 5, 2026
Merged

Upgrade GitHub Actions for Node 24 compatibility#9316
NicolasHug merged 3 commits into
pytorch:mainfrom
salmanmkc:upgrade-github-actions-node24

Conversation

@salmanmkc
Copy link
Copy Markdown
Contributor

@salmanmkc salmanmkc commented Dec 13, 2025

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 pr-labels.yml, tests-schedule.yml
actions/setup-python v5 v6 Release pr-labels.yml, tests-schedule.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.

@pytorch-bot
Copy link
Copy Markdown

pytorch-bot Bot commented Dec 13, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/vision/9316

Note: Links to docs will display an error until the docs builds have been completed.

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla Bot added the cla signed label Dec 13, 2025
Copy link
Copy Markdown
Member

@NicolasHug NicolasHug left a comment

Choose a reason for hiding this comment

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

Thanks @salmanmkc

@NicolasHug NicolasHug merged commit c5f7169 into pytorch:main Jan 5, 2026
3 checks passed
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jan 5, 2026

Hey @NicolasHug!

You merged this PR, but no labels were added.
The list of valid labels is available at https://github.com/pytorch/vision/blob/main/.github/process_commit.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants