# Code scanning can now be enabled on repositories before they contain CodeQL supported languages

DevFeed: [Code scanning can now be enabled on repositories before they contain CodeQL supported languages](<https://devfeed.tech/articles/code-scanning-can-now-be-enabled-on-repositories-before-they-contain-codeql-supported-languages-73223.md>)

Original publisher: [Read original article](<https://github.blog/changelog/2024-02-05-code-scanning-can-now-be-enabled-on-repositories-before-they-contain-codeql-supported-languages>)

Author: Jon Janego

Published: 2024-02-05T13:54:29Z

Content type: release

Language: en

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

Topics: [trivy](<https://devfeed.tech/topics/trivy.md>)

Tags: [code-scanning](<https://devfeed.tech/tags/code-scanning.md>), [codeql](<https://devfeed.tech/tags/codeql.md>), [repositories](<https://devfeed.tech/tags/repositories.md>), [setup](<https://devfeed.tech/tags/setup.md>)

## AI overview

GitHub code scanning can now be enabled with default setup on repositories that have no CodeQL-supported languages yet, including empty repositories. The initial scan runs automatically once a supported language is detected on the default branch. Organizations can also bulk-enable scanning for these repositories, so they are covered if their languages change later. The change is available on GitHub.com and is planned for GitHub Enterprise Server 3.13.

## Source excerpt

Code scanning can now be enabled on repositories even if they don't contain any code written in the languages currently supported by CodeQL. Default setup will automatically trigger the first...