1
0
mirror of synced 2026-01-05 03:06:35 -05:00

Creates a variable for compiled languages in code scanning docs, consolidates existing autobuild variables (#37673)

Co-authored-by: Felicity Chapman <felicitymay@github.com>
This commit is contained in:
Ben Ahmady
2023-06-09 17:41:27 +01:00
committed by GitHub
parent 62885df999
commit 462c7ca2d7
7 changed files with 11 additions and 8 deletions

View File

@@ -1 +0,0 @@
For these languages, {% data variables.product.prodname_codeql %} analyzes the source files in your repository that are built. For any of these languages, you can disable `autobuild` and instead use custom build commands in order to analyze only the files that are built by these custom commands.

View File

@@ -1 +1 @@
For the supported compiled languages, you can use the `autobuild` action in the {% data variables.code-scanning.codeql_workflow %} to build your code. This avoids you having to specify explicit build commands for C/C++, C#,{% ifversion codeql-go-autobuild %} Go,{% endif %}{% ifversion codeql-kotlin-beta %} Kotlin, {% endif %} and Java.
{% data variables.product.prodname_codeql %} analyzes the {% data variables.code-scanning.compiled_languages %} source files in your repository that are built. You can use the `autobuild` action in the {% data variables.code-scanning.codeql_workflow %} to build your code. Alternatively, you can disable `autobuild` and instead specify explicit build commands to analyze only the files that are built by these custom commands.

View File

@@ -8,3 +8,6 @@ codeql_workflow: 'CodeQL analysis workflow'
# The tool status page
tool_status_page: 'tool status page'
# List of compiled languages
compiled_languages: 'C/C++, C#, {% ifversion codeql-go-autobuild %} Go,{% endif %} {% ifversion codeql-swift-beta %} Java, and Swift{% else %} and Java{% endif %}'