You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/steps/1-codeql-language-matrix.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,23 +9,23 @@ CodeQL language matrices allow you to configure your CodeQL workflows with a lan
9
9
### Importance of using languages matrices with code scanning
10
10
11
11
1.**Simplicity**: Using a language matrix with CodeQL simplifies your workflow by allowing you to manage multiple languages in a single workflow file. This eliminates the need for separate workflows for each language, making your code scanning process more streamlined and manageable.
12
-
2.**Flexibility**: A language matrix provides flexibility as it allows you to easily add or remove languages from your workflow. This means you can quickly adapt your code scanning process to changes in your project's language usage.
12
+
2.**Flexibility**: A language matrix provides flexibility, as it allows you to easily add or remove languages from your workflow. This means you can quickly adapt your code scanning process to changes in your project's language usage.
13
13
3.**Consistency**: By using a language matrix, you ensure consistent code scanning across all languages used in your project. This helps maintain the quality and security of your codebase, regardless of the language it's written in.
14
14
15
15
Remember, a well-configured CodeQL setup is key to maintaining a secure and reliable codebase.
16
16
17
17
### :keyboard: Activity: Configure your `codeql.yml` file to use a language matrix
18
18
19
-
1.Navigate to the `Code` tab and locate the `.github/workflows` folder.
20
-
1.Add the following content to the `codeql.yml` file before the steps section:
19
+
1.In the `Code` tab, locate the `.github/workflows` folder.
20
+
1.In the `codeql.yml` file, above the `steps` section, add the following:
0 commit comments