fix(ci): bump Node 20-era actions to Node 24 majors#96
Merged
Conversation
GitHub will force Node.js 20 actions onto Node 24 starting 2026-06-16 and remove Node 20 from runners on 2026-09-16. Bump every action still pinned to a Node 20-era major to its Node 24 major to clear the deprecation warning: - actions/setup-python@v5 -> v6 (node20 -> node24) - actions/setup-go@v5 -> v6 (node20 -> node24) - actions/download-artifact@v4 -> v7 (node20 -> node24; first node24 major) - marocchino/sticky-pull-request-comment@v2 -> v3 (node20 -> node24) Already on Node 24, left unchanged: actions/checkout@v6, actions/setup-node@v6, actions/upload-artifact@v7, dependabot/fetch-metadata@v3. download-artifact stays at v7 (the first node24 major) rather than the latest v8, because v8 adds unrelated breaking changes (ESM migration, hash-mismatch errors by default, content-type-gated decompression). Both usages here download by name/pattern, so none of the v5-v8 path/decompress changes apply. sticky-pull-request-comment v3.0.0 is a pure node-24 + deps bump (no API change). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Coverage Floor — mode:
|
|
No issues found. Mechanical version bumps are consistent across all four files, upload/download artifact versions are properly paired, and no breaking inputs are in use. |
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
GitHub will force Node.js 20 actions onto Node 24 starting 2026-06-16, and remove Node 20 from runners on 2026-09-16. Several reusable workflows in this repo still pin actions to Node 20-era majors, producing the deprecation warning:
This bumps every action still on a Node 20-era major to its Node 24 major. Each target's runtime was verified by reading
runs.usingin the pinned tag'saction.yml.Changes
actions/setup-python@v5@v6actions/setup-go@v5@v6actions/download-artifact@v4@v7marocchino/sticky-pull-request-comment@v2@v3Already on Node 24 — left unchanged:
actions/checkout@v6,actions/setup-node@v6,actions/upload-artifact@v7,dependabot/fetch-metadata@v3.anthropics/claude-code-actionis SHA-pinned (composite action, separately managed) — out of scope.Version-choice notes
download-artifact→ v7, not the latest v8. v7 is the first major to default to node24 (runs.using: node24), which is exactly what resolves the deprecation. v8 adds unrelated breaking changes — ESM migration, hash-mismatch-errors-by-default, and content-type-gated decompression. Both download sites here fetch byname:(coverage-floor) andpattern:/merge-multiple:(audit-required-checks), so none of the v5→v8 single-artifact-by-ID path or decompress changes apply. Staying at v7 keeps the change scoped to the runtime. (Reviewer: bump to v8 instead if you prefer latest — usage is compatible either way.)sticky-pull-request-commentv3.0.0 is a pure "update node to 24 + update deps" release — no input/API changes. Theheader/messageinputs used here are unchanged.Scope note
audit-required-checks.ymlis a standalone scheduled workflow (notworkflow_call), but it carried the same node20download-artifact@v4and emits the identical warning, so it's included for a complete sweep.Verification
grepconfirms zerosetup-python@v5/setup-go@v5/download-artifact@v[0-6]/sticky-pull-request-comment@v2pins remain.yaml.safe_load.action.yml.Auto-merge rationale: Manual click-merge required — touches
.github/workflows/**(high-risk surface per fleet policy), and this repo has no auto-merge caller anyway (filename collision with the reusable definition).Codex pre-review: Skipped — trivial mechanical version bumps (8 single-token edits), no
src/**code changed; below the Codex threshold.🤖 Generated with Claude Code