Skip to content

Conversation

@salmanmkc
Copy link

@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/cache v4 v5 Release _android.yml
actions/checkout v3, v4 v6 Release _android.yml, apple.yml, check-c10-sync.yml, check-labels.yml, cherry-pick.yml, cuda-perf.yml, docker-builds.yml, ghstack_land.yml, pending_user_response.yml, periodic.yml, trunk.yml
actions/download-artifact v4 v7 Release apple.yml, cuda-perf.yml
actions/github-script v7 v8 Release add-unanswered-to-project.yml
actions/setup-python v4, v5 v6 Release apple.yml, check-labels.yml, cherry-pick.yml, cuda-perf.yml, ghstack_land.yml, pending_user_response.yml, periodic.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.

Copilot AI review requested due to automatic review settings December 13, 2025 11:41
@pytorch-bot
Copy link

pytorch-bot bot commented Dec 13, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/16238

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:

✅ No Failures

As of commit 913dfdf with merge base c493e2d (image):
💚 Looks good so far! There are no failures yet. 💚

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

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Dec 13, 2025
@github-actions
Copy link

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR upgrades GitHub Actions to their latest versions to ensure compatibility with Node 24, addressing the upcoming Node 20 end-of-life in April 2026. The changes are purely infrastructure-related, updating workflow configurations across 11 files without affecting application functionality.

Key changes:

  • Upgraded actions/checkout from v3/v4 → v6
  • Upgraded actions/setup-python from v4/v5 → v6
  • Upgraded actions/download-artifact from v4 → v7
  • Upgraded actions/cache from v4 → v5
  • Upgraded actions/github-script from v7 → v8

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated no comments.

Show a summary per file
File Description
.github/workflows/trunk.yml Updated checkout action to v6 for QNN filter job
.github/workflows/periodic.yml Updated checkout and setup-python to v6 for model gathering job
.github/workflows/pending_user_response.yml Updated checkout and setup-python to v6 for automation job
.github/workflows/ghstack_land.yml Updated checkout and setup-python to v6 for merge proposal job
.github/workflows/docker-builds.yml Updated checkout to v6 for Docker build job
.github/workflows/cuda-perf.yml Updated checkout, setup-python, and download-artifact for benchmarking jobs
.github/workflows/cherry-pick.yml Updated checkout and setup-python to v6 for cherry-pick automation
.github/workflows/check-labels.yml Updated checkout and setup-python to v6 for label verification
.github/workflows/check-c10-sync.yml Updated checkout to v6 for C10 sync checking
.github/workflows/apple.yml Updated checkout, setup-python, and download-artifact for iOS workflows
.github/workflows/add-unanswered-to-project.yml Updated github-script to v8 for project automation
.github/workflows/_android.yml Updated checkout and cache actions for Android emulator testing

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant