-
Notifications
You must be signed in to change notification settings - Fork 757
Upgrade GitHub Actions for Node 24 compatibility #16238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
🔗 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 SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ✅ No FailuresAs of commit 913dfdf with merge base c493e2d ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
There was a problem hiding this 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/checkoutfrom v3/v4 → v6 - Upgraded
actions/setup-pythonfrom v4/v5 → v6 - Upgraded
actions/download-artifactfrom v4 → v7 - Upgraded
actions/cachefrom v4 → v5 - Upgraded
actions/github-scriptfrom 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.
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
actions/cachev4v5actions/checkoutv3,v4v6actions/download-artifactv4v7actions/github-scriptv7v8actions/setup-pythonv4,v5v6Context
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
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.