# Code scanning: deprecation of CodeQL Action v1

DevFeed: [Code scanning: deprecation of CodeQL Action v1](<https://devfeed.tech/articles/code-scanning-deprecation-of-codeql-action-v1-74078.md>)

Original publisher: [Read original article](<https://github.blog/changelog/2022-04-27-code-scanning-deprecation-of-codeql-action-v1>)

Author: Sidi Merzouk

Published: 2022-04-27T15:03:50Z

Content type: release

Language: en

Sources: [GitHub Changelog](<https://devfeed.tech/sources/github-changelog.md>)

Topics: [code security](<https://devfeed.tech/topics/code-security.md>)

Tags: [actions](<https://devfeed.tech/tags/actions.md>), [analysis](<https://devfeed.tech/tags/analysis.md>), [code-scanning](<https://devfeed.tech/tags/code-scanning.md>), [codeql](<https://devfeed.tech/tags/codeql.md>), [dependabot](<https://devfeed.tech/tags/dependabot.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [deprecation](<https://devfeed.tech/tags/deprecation.md>), [ghes](<https://devfeed.tech/tags/ghes.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>), [github-com](<https://devfeed.tech/tags/github-com.md>), [github-connect](<https://devfeed.tech/tags/github-connect.md>), [github-enterprise-server](<https://devfeed.tech/tags/github-enterprise-server.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [runtime](<https://devfeed.tech/tags/runtime.md>), [v1](<https://devfeed.tech/tags/v1.md>), [v2](<https://devfeed.tech/tags/v2.md>)

## AI overview

CodeQL Action v1 was scheduled for deprecation in January 2023, when it would stop receiving updates and new CodeQL analysis capabilities would be available only in v2. Workflows on GitHub.com, GitHub AE, and GHES 3.5 or later should replace `github/codeql-action` references ending in `@v1` with the corresponding `@v2` actions. GHES 3.3 and older cannot run v2 because they do not support Node 16 Actions, so users should upgrade GHES before changing workflows. GHES 3.4 supports Node 16 but does not include v2; migration there requires an administrator to enable GitHub Connect to download it.

## Source excerpt

On March 30, 2022, we released CodeQL Action v2, which runs on the Node.js 16 runtime. The CodeQL Action v1 will be deprecated at the same time as GHES 3.3,...