Upgrade GitHub Actions for Node 24 compatibility#780
Open
salmanmkc wants to merge 1 commit intoMoonshotAI:mainfrom
Open
Upgrade GitHub Actions for Node 24 compatibility#780salmanmkc wants to merge 1 commit intoMoonshotAI:mainfrom
salmanmkc wants to merge 1 commit intoMoonshotAI:mainfrom
Conversation
Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR upgrades GitHub Actions to their latest versions to ensure compatibility with Node 24, as Node 20 will reach end-of-life in April 2026.
Changes:
- Upgraded five GitHub Actions across eleven workflow files to support Node 24
- Updated actions/checkout from v4 to v6
- Updated actions/setup-python from v5 to v6
- Updated actions/setup-node from v4 to v6
- Updated actions/upload-artifact from v4 to v6
- Updated actions/download-artifact from v4 to v7
Reviewed changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/typos.yml | Updated checkout action to v6 |
| .github/workflows/release-pykaos.yml | Updated checkout to v6 and setup-python to v6 for validation and publish jobs |
| .github/workflows/release-kosong.yml | Updated checkout to v6 and setup-python to v6 for validation, publish, and docs jobs |
| .github/workflows/release-kimi-sdk.yml | Updated checkout to v6 and setup-python to v6 for validation and publish jobs |
| .github/workflows/release-kimi-cli.yml | Updated checkout to v6, setup-python to v6, upload-artifact to v6, and download-artifact to v7 across validation, build, release, and publish jobs |
| .github/workflows/docs-pages.yml | Updated checkout to v6 and setup-node to v6 for docs deployment |
| .github/workflows/ci-pykaos.yml | Updated checkout to v6 and setup-python to v6 for test job |
| .github/workflows/ci-kosong.yml | Updated checkout to v6, setup-python to v6, and upload-artifact to v6 for test and docs jobs |
| .github/workflows/ci-kimi-sdk.yml | Updated checkout to v6, setup-python to v6, and upload-artifact to v6 for test and docs jobs |
| .github/workflows/ci-kimi-cli.yml | Updated checkout to v6, setup-python to v6, and upload-artifact to v6 for test, release-validate, and nix-test jobs |
| .github/workflows/ci-docs.yml | Updated checkout to v6 and setup-node to v6 for docs build job |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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/checkoutv4v6actions/download-artifactv4v7actions/setup-nodev4v6actions/setup-pythonv5v6actions/upload-artifactv4v6Context
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.