Bump GitHub Actions to Node.js 24-compatible versions and add CodeQL workflow#204
Bump GitHub Actions to Node.js 24-compatible versions and add CodeQL workflow#204Copilot wants to merge 3 commits into
Conversation
Co-authored-by: goiri <3159513+goiri@users.noreply.github.com> Agent-Logs-Url: https://github.com/Azure/realtimevideogen/sessions/2597918e-56ce-4697-a85d-76c99b3596c9
goiri
left a comment
There was a problem hiding this comment.
You tripped hard.
Most of those versions don't really exist and in CodeQL/Analyze it still shows the error.
Check the errors in the CI.
Also tell me how to update the CodeQL/Analyze versions.
…de.js 24 actions Co-authored-by: goiri <3159513+goiri@users.noreply.github.com> Agent-Logs-Url: https://github.com/Azure/realtimevideogen/sessions/07ef543a-5a82-432d-8b6c-49a0da35f68d
Fixed in 126aa78. The wrong version bumps (v7 for Regarding
This overrides the default automatic scan with pinned Node.js 24-compatible versions. |
Lint Results
|
goiri
left a comment
There was a problem hiding this comment.
There are still errors and there's two CodeQL stages now.
One on PR and one on dynamic.
Isn't there a default one I need to setup?
Also check for all the failures.
Mypy Type Checking
Full mypy output |
|
GitHub Actions using Node.js 20 are deprecated; CodeQL logs surface warnings for the affected actions in all three workflows. This PR updates the outdated actions and adds an explicit CodeQL workflow to control the versions used by GitHub Advanced Security scanning.
Changes
actions/setup-node:v5→v6(Node.js 24 version, released Oct 2025)actions/upload-artifact:v6→v7inci.yml(latest version, consistent withdocker.yml)actions/checkoutandactions/setup-pythonremain atv6— these are already the current latest versions and use Node.js 24Applies across
ci.yml,lint.yml, anddocker.yml.CodeQL workflow
Added
.github/workflows/codeql.ymlwith explicit Node.js 24-compatible action versions:actions/checkout@v6(Node.js 24)github/codeql-action/init@v4,autobuild@v4,analyze@v4(Node.js 24 — confirmed viaruns.using: node24in the action'saction.yml)The workflow analyzes Python and GitHub Actions (YAML) languages, runs on push/PR to main, and on a weekly schedule. This overrides the default automatic GHAS scan with pinned Node.js 24-compatible versions.
Original prompt
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.