Skip to content

Commit 41723ed

Browse files
authored
Update CodeQL language analysis instructions
Clarify language requirements for CodeQL analysis.
1 parent 2fa49bc commit 41723ed

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

docs/repos/security/configure-github-advanced-security-features.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -236,12 +236,6 @@ steps:
236236

237237
```
238238

239-
> [!TIP]
240-
> - Use `java` to analyze code written in Java, Kotlin or both.
241-
> - Use `javascript` to analyze code written in JavaScript, TypeScript, or both.
242-
243-
If the language specified is `swift`, custom build steps are required.
244-
245239
#### [Classic](#tab/classic)
246240

247241
Add the tasks in the following order:
@@ -253,7 +247,11 @@ Add the tasks in the following order:
253247

254248
---
255249

256-
Also, specify which language you're analyzing in the `Initialize CodeQL` task. If the language specified is `cpp, java, csharp` or `swift`, custom build steps are required.
250+
Also, specify which language you're analyzing in the `Initialize CodeQL` task. If the language specified is `swift`, custom build steps are required.
251+
252+
> [!TIP]
253+
> - Use `java` to analyze code written in Java, Kotlin or both.
254+
> - Use `javascript` to analyze code written in JavaScript, TypeScript, or both.
257255
258256
If you're running on a self-hosted agent, select the `Enable automatic CodeQL detection and installation` to automatically use the latest CodeQL bits on your agent if you didn't manually install the latest CodeQL bundle to your agent tool cache.
259257

0 commit comments

Comments
 (0)