Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com> Co-authored-by: Rachael Sewell <rachmari@github.com> Co-authored-by: Ashish Keshan <ashkeshan@gmail.com>
36 lines
1.4 KiB
Markdown
36 lines
1.4 KiB
Markdown
{% ifversion codeql-language-identifiers-311 %}
|
|
|
|
| Language | Identifier | Optional alternative identifiers (if any)
|
|
|------------------|------------------- | ---------------
|
|
| C/C++ | `c-cpp` | `c` or `cpp` |
|
|
| C# | `csharp` |
|
|
| Go | `go` |
|
|
| Java/Kotlin | `java-kotlin` | `java` or `kotlin` |
|
|
| JavaScript/TypeScript | `javascript-typescript` | `javascript` or `typescript` |
|
|
| Python | `python` |
|
|
| Ruby | `ruby` |
|
|
| Swift | `swift` |
|
|
| {% ifversion code-scanning-actions-language %} |
|
|
{% data variables.product.prodname_actions %} workflows | `actions`
|
|
| {% endif %}
|
|
|
|
{% data reusables.code-scanning.beta-actions-analysis %}
|
|
|
|
> [!NOTE]
|
|
> If you specify one of the alternative identifiers, this is equivalent to using the standard language identifier. For example, specifying `javascript` instead of `javascript-typescript` will not exclude analysis of TypeScript code. You can do this in an advanced setup workflow with the `--paths-ignore` option. For more information, see [AUTOTITLE](/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning#specifying-directories-to-scan).
|
|
|
|
{% else %}
|
|
|
|
| Language | Identifier
|
|
|------------------|-------------------
|
|
| C/C++ | `cpp`
|
|
| C# | `csharp`
|
|
| Go | `go`
|
|
| Java/Kotlin | `java`
|
|
| JavaScript/TypeScript | `javascript`
|
|
| Python | `python`
|
|
| Ruby | `ruby`
|
|
| Swift | `swift`
|
|
|
|
{% endif %}
|