Upgrade GitHub Actions for Node 24 compatibility#18688
Upgrade GitHub Actions for Node 24 compatibility#18688salmanmkc wants to merge 1 commit intogithub:mainfrom
Conversation
7621e4a to
e332f78
Compare
There was a problem hiding this comment.
Pull request overview
Upgrades GitHub Actions workflow dependencies to versions compatible with the upcoming Node 24 runtime on GitHub-hosted runners.
Changes:
- Updated
actions/checkout,actions/setup-go, andactions/setup-nodeto their newer major versions across CI and maintenance workflows. - Updated artifact upload/download actions (
actions/upload-artifact,actions/download-artifact) to newer major versions. - Updated
actions/github-scriptusage in workflow-driven automation docs.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/vet.yml | Bumps actions/checkout to v6 for vet job compatibility. |
| .github/workflows/test-copilot-github-integration.yml | Updates setup-node and upload-artifact references used by the Copilot integration test workflow. |
| .github/workflows/super-linter.md | Updates download-artifact reference for the Super Linter reporting workflow. |
| .github/workflows/security-scan.yml | Updates pinned SHAs for checkout and setup-go used by security scanning jobs. |
| .github/workflows/release.md | Updates github-script and setup-go used in the release workflow definition. |
| .github/workflows/link-check.yml | Updates pinned actions/checkout SHA to the newer major release. |
| .github/workflows/license-check.yml | Updates pinned checkout, setup-go, and upload-artifact references used for license compliance reporting. |
| .github/workflows/integration-agentics.yml | Updates pinned checkout and setup-go references for integration workflow. |
| .github/workflows/install.yml | Updates pinned checkout and upload-artifact references used by install verification jobs. |
| .github/workflows/hourly-ci-cleaner.md | Updates pinned actions/checkout reference in the CI cleaner workflow doc. |
| .github/workflows/format-and-commit.yml | Updates pinned checkout, setup-go, and setup-node references for formatting automation. |
| .github/workflows/docs.yml | Updates pinned checkout, setup-node, and setup-go references for docs build workflow. |
| .github/workflows/daily-syntax-error-quality.md | Updates setup-go major version used by the daily syntax workflow doc. |
| .github/workflows/copilot.yml | Updates pinned setup-node and upload-artifact references for Copilot workflow. |
| .github/workflows/copilot-setup-steps.yml | Updates pinned checkout, setup-node, and setup-go references for Copilot setup steps. |
| .github/workflows/copilot-maintenance.yml | Updates pinned actions/checkout reference for Copilot maintenance workflow. |
| .github/workflows/codeql.yml | Updates pinned checkout and setup-go references used by CodeQL workflow. |
| .github/workflows/ci.yml | Updates core CI workflow action versions (checkout/setup-go/setup-node/artifacts) for Node 24 runtime compatibility. |
| .github/workflows/bot-detection.md | Updates actions/github-script major version used in bot detection workflow doc. |
| .github/workflows/agentics-maintenance.yml | Updates pinned checkout, setup-go, and setup-node references in agentics maintenance workflow. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@copilot recompile |
|
Hey @salmanmkc 👋 — thanks for flagging the Node 20 deprecation and putting together such a detailed summary of the actions that need upgrading! The concern is legitimate and the research is solid. However, this PR can't be merged as-is for two reasons: 1. Process violation — community members don't open PRs directly. 2. The diff is incomplete relative to the description. Recommended next step: Close this PR and open an issue with your agentic plan instead. The research you've already done maps perfectly to what a good agentic plan looks like! If you'd like a hand turning this into a proper issue plan, you can assign the following prompt to your coding agent:
|
|
Let's run your action into a new PR once #18692 is merged. |
Updates .md workflow source files and regenerated .lock.yml via gh aw compile.
5e6a31d to
32fb43c
Compare
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/checkout11bd719,93cb6ef,v4de0fac2actions/download-artifactfa0a91b,v637930b1actions/github-scriptv7v8actions/setup-go3041bf5,41dfa10,4dc6199,d35c59a,v54b73464actions/setup-node39370e3,395ad32,cdca7366044e13actions/upload-artifactea165f8,v4b7c566aContext
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
always-authwas removed — if your workflow uses it, the step may failSecurity 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.