| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
This requires creating a new major-version (v4) of codeql-action.
I got ahead of myself; v4 hasn't been tagged yet.
There was a problem hiding this comment.
This PR upgrades the CodeQL Action's Node.js runtime from v20 to v24 for the upcoming v4 release. This represents a major runtime upgrade to modernize the action's execution environment.
Key changes:
Copilot reviewed 30 out of 32 changed files in this pull request and generated no comments.
Show a summary per file| File | Description |
|---|---|
| action.yml files | Updated runtime specification from node20 to node24 for all actions |
| package.json | Updated version to 4.30.6 and @types/node to v24.5.2 |
| lib/*.js files | Generated JavaScript files updated with new version and Node.js target |
| test files | Updated test fixtures to use v4 action references instead of v3 |
| build.mjs | Updated esbuild target from node20 to node24 |
| workflow files | Updated CI to test on both Node.js 20 and 24 versions |
| documentation | Updated README and CONTRIBUTING to reflect v4 support and Node.js 24 requirement |
Sorry, something went wrong.
There was a problem hiding this comment.
Looks great! I only have a very minor suggested change to the README.
Before merging this, we'll need to update the set of required checks — there's instructions on how to do that here: https://github.com/github/codeql-action/blob/main/CONTRIBUTING.md#keeping-the-pr-checks-up-to-date-admin-access-required
Sorry, something went wrong.
Co-authored-by: Henry Mercer <henrymercer@github.com>
There was a problem hiding this comment.
LGTM, thanks for addressing my feedback and tackling this important work!
Sorry, something went wrong.
There was a problem hiding this comment.
Let's hold off on merging this until Monday, and then kick off a release right after we merge.
Sorry, something went wrong.
|
Also, it looks like there are a couple of merge conflicts to solve. You'll probably need a re-approval after fixing them. |
Sorry, something went wrong.
|
Weirdly, I don't see those merge conflicts: mario-campos@G49XGKM6FH ~/codeql-action (mario-campos/node24)> git status
On branch mario-campos/node24
Your branch is up to date with 'origin/mario-campos/node24'.
nothing to commit, working tree clean |
Sorry, something went wrong.
|
@mario-campos Have you run git fetch origin and then attempted git merge origin/main? I'd expect the merge conflicts to show up then. |
Sorry, something went wrong.
# Conflicts: # lib/analyze-action-post.js # lib/analyze-action.js # lib/autobuild-action.js # lib/init-action-post.js # lib/init-action.js # lib/resolve-environment-action.js # lib/start-proxy-action-post.js # lib/start-proxy-action.js # lib/upload-lib.js # lib/upload-sarif-action-post.js # lib/upload-sarif-action.js # package-lock.json # package.json
|
I think we're good to update the required checks (see these instructions) and kick off a release. Once the v4 release is merged, the release automation should open a backport from v4 to v3. That backport will bring in all the changes from v4, including the bump to node24 in the action.ymls. At that point we'll need to push a commit to the releases/v3 branch that moves the Actions back to node20. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Risk assessment
For internal use only. Please select the risk level of this change:
Merge / deployment checklist