ci: bump checkout and codeql-action off deprecated Node 20 - #3418
Open
aresnik11 wants to merge 2 commits into
Open
ci: bump checkout and codeql-action off deprecated Node 20#3418aresnik11 wants to merge 2 commits into
aresnik11 wants to merge 2 commits into
Conversation
Standardize actions/checkout to the SHA-pinned v6.0.2 already used in test.yml (and mono), and bump github/codeql-action to v3, to clear the Node 20 deprecation warning on CI runs. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
View your CI Pipeline Execution ↗ for commit 63f8785 ☁️ Nx Cloud last updated this comment at |
Contributor
|
🚀 Styleguide deploy preview ready! Preview URL: https://6a87222ae3516d26aeb3bdb6--gamut-preview.netlify.app |
Collaborator
|
📬 Published Alpha Packages:
|
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.
Overview
Bumps GitHub Actions off the deprecated Node.js 20 runtime to stop the CI warning appearing on gamut PRs:
Changes
actions/checkout— standardized all 12 usages across the workflows to the SHA-pinned v6.0.2 (de0fac2e…) already used intest.ymland throughout themonorepo. Replaces the older@v4(8) and@v2(2) tags.github/codeql-action— bumpedinit/autobuild/analyzefrom@v1→@v3. v1 is fully retired (GitHub rejects analysis uploads from it), so this also restores a working CodeQL scan. Kept the existing floating-tag style since these weren't SHA-pinned before.Why
actions/checkout@v4will fail to start instead of warning, breaking every gamut workflow (including release/publish) at once. See the deprecation notice.ubuntu-24.04(Node 24 supported), checkout v5/v6 is a drop-in, and the CodeQL language isjavascript(interpreted) soautobuildis a no-op.PR Checklist
Testing Instructions
CI is the test surface here — no app/runtime behavior changes.
actions/checkout" annotation.Test Suiteandpushworkflows run green (checkout + build + tests still work with the pinned version).CodeQLworkflow's Initialize/Analyze steps complete successfully on@v3(and no longer emit a Node deprecation warning). Note: CodeQL also runs on a schedule and onmain, so a green run here confirms the init/analyze upgrade.PR Links and Envs