Skip to content

Commit 9641569

Browse files
authored
[Accessibility] Expand heading text to remove duplicate headings (github#34671)
1 parent 158acd8 commit 9641569

2 files changed

Lines changed: 7 additions & 10 deletions

File tree

content/code-security/code-scanning/using-codeql-code-scanning-with-your-existing-ci-system/configuring-codeql-cli-in-your-ci-system.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ title: Configuring CodeQL CLI in your CI system
33
shortTitle: Configure CodeQL CLI
44
intro: 'You can configure your continuous integration system to run the {% data variables.product.prodname_codeql_cli %}, perform {% data variables.product.prodname_codeql %} analysis, and upload the results to {% data variables.product.product_name %} for display as {% data variables.product.prodname_code_scanning %} alerts.'
55
product: '{% data reusables.gated-features.code-scanning %}'
6-
miniTocMaxHeadingLevel: 3
76
redirect_from:
87
- /code-security/secure-coding/using-codeql-code-scanning-with-your-existing-ci-system/configuring-codeql-cli-in-your-ci-system
98
versions:
@@ -161,7 +160,7 @@ codeql database analyze <database> --format=<format> \
161160

162161
For more information, see [Analyzing databases with the {% data variables.product.prodname_codeql_cli %}](/code-security/codeql-cli/using-the-codeql-cli/analyzing-databases-with-the-codeql-cli/)."
163162

164-
### Basic example
163+
### Basic example of analyzing a CodeQL database
165164

166165
This example analyzes a {% data variables.product.prodname_codeql %} database stored at `/codeql-dbs/example-repo` and saves the results as a SARIF file: `/temp/example-repo-js.sarif`. It uses `--sarif-category` to include extra information in the SARIF file that identifies the results as JavaScript. This is essential when you have more than one {% data variables.product.prodname_codeql %} database to analyze for a single commit in a repository.
167166

@@ -205,7 +204,7 @@ When you have decided on the most secure and reliable method for your CI server,
205204

206205
For more information, see [github upload-results](https://codeql.github.com/docs/codeql-cli/manual/github-upload-results/) in the documentation for the {% data variables.product.prodname_codeql_cli %}.
207206

208-
### Basic example
207+
### Basic example of uploading results to {% data variables.product.product_name %}
209208

210209
This example uploads results from the SARIF file `temp/example-repo-js.sarif` to the repository `my-org/example-repo`. It tells the {% data variables.product.prodname_code_scanning %} API that the results are for the commit `deb275d2d5fe9a522a0b7bd8b6b6a1c939552718` on the `main` branch.
211210

@@ -242,7 +241,7 @@ For more information about pack compatibility, see "[About {% data variables.pro
242241
{% endnote %}
243242
{% endif %}
244243

245-
### Basic example
244+
### Basic example of downloading and using query packs
246245

247246
This example runs the `codeql database analyze` command with the `--download` option to:
248247

content/code-security/codeql-cli/using-the-codeql-cli/getting-started-with-the-codeql-cli.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,8 @@ structures. To get started quickly, we recommend adopting a relatively simple
3030
setup, as outlined in the steps below.
3131

3232
If you use Linux, Windows, or macOS version 10.14 (“Mojave”) or earlier, simply
33-
follow the steps below. For macOS version 10.15 (“Catalina”) or newer, steps 1
34-
and 4 are slightly different—for further details, see the sections labeled
35-
**Information for macOS “Catalina” (or newer) users**. If you are using macOS
36-
on Apple Silicon (e.g. Apple M1), ensure that the [Xcode command-line developer
33+
follow the steps below. For macOS version 10.15 (“Catalina”) or newer, there are additional notes for some of the steps. If you are using macOS
34+
on Apple Silicon (for example, Apple M1), ensure that the [Xcode command-line developer
3735
tools](https://developer.apple.com/downloads/index.action) and [Rosetta 2](https://support.apple.com/en-us/HT211861) are installed.
3836

3937
{% note %}
@@ -67,7 +65,7 @@ for the version you require.
6765
If you want the CLI for a specific platform, download the appropriate `codeql-PLATFORM.zip` file.
6866
Alternatively, you can download `codeql.zip`, which contains the CLI for all supported platforms.
6967

70-
#### Information for macOS “Catalina” (or newer) users
68+
#### Download information for macOS “Catalina” (or newer) users
7169

7270
If you use macOS version 10.15 (“Catalina”), version 11 (“Big Sur”), or the upcoming version 12 (“Monterey”), you need to ensure that your web browser does not automatically extract zip files. If you use Safari, complete the following steps before downloading the {% data variables.product.prodname_codeql_cli %} zip archive:
7371

@@ -81,7 +79,7 @@ If you use macOS version 10.15 (“Catalina”), version 11 (“Big Sur”), or
8179
For Linux, Windows, and macOS users (version 10.14 “Mojave”, and earlier)
8280
simply extract the zip archive.
8381

84-
#### Information for macOS “Catalina” (or newer) users
82+
#### Extraction information for macOS “Catalina” (or newer) users
8583

8684
macOS “Catalina”, “Big Sur”, or “Monterey” users should run the following commands in the Terminal, where `${extraction-root}` is the path to the directory where you will extract the {% data variables.product.prodname_codeql_cli %} zip archive:
8785

0 commit comments

Comments
 (0)