ci: bump workflow actions off deprecated Node.js 20 - #71
Merged
Conversation
Updates GitHub Actions that still run on the deprecated Node.js 20 runtime, which is being phased out on GitHub-hosted runners. - actions/checkout v4 -> v6 - actions/setup-node v4 -> v6 (and script Node 20 -> 24) - softprops/action-gh-release v2 -> v3
Contributor
There was a problem hiding this comment.
Pull request overview
Updates GitHub Actions workflow dependencies to newer major versions to eliminate warnings from the deprecated Node.js 20 Actions runtime, keeping CI compatible with GitHub-hosted runner changes.
Changes:
- Bumped
actions/checkoutfromv4tov6in both workflows. - Bumped
actions/setup-nodefromv4tov6and updated the workflow Node version from20to24insync-readme-references.yml. - Bumped
softprops/action-gh-releasefromv2tov3inrelease.yml.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .github/workflows/sync-readme-references.yml | Updates checkout/setup-node action majors and runs the sync script on Node 24. |
| .github/workflows/release.yml | Updates checkout and release action majors to versions compatible with newer Actions runtimes. |
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
The
4.0.0release run logged a GitHub warning that several actions still use the deprecated Node.js 20 runtime, which is being phased out on GitHub-hosted runners. This bumps them to the current Node 24 majors.actions/checkoutv4→v6(bothrelease.ymlandsync-readme-references.yml)actions/setup-nodev4→v6, and the script Node version20→24insync-readme-references.ymlsoftprops/action-gh-releasev2→v3inrelease.ymlNo workflow logic changed — only action versions.
Test plan
sync-readme-referencesruns on this PR (it triggers onswiftui-expert-skill/references/**, so it won't run here — no reference files changed)Releasedispatch completes without the Node 20 deprecation annotation