Skip to content

Commit ae3e119

Browse files
authored
Merge pull request github#23885 from github/repo-sync
repo sync
2 parents af6ccce + 9228639 commit ae3e119

File tree

13 files changed

+34
-37
lines changed

13 files changed

+34
-37
lines changed

content/actions/security-guides/automatic-token-authentication.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ For information about the API endpoints {% data variables.product.prodname_githu
7777

7878
The following table shows the permissions granted to the `GITHUB_TOKEN` by default. People with admin permissions to an {% ifversion not ghes %}enterprise, organization, or repository,{% else %}organization or repository{% endif %} can set the default permissions to be either permissive or restricted. For information on how to set the default permissions for the `GITHUB_TOKEN` for your enterprise, organization, or repository, see "[Enforcing policies for {% data variables.product.prodname_actions %} in your enterprise](/admin/policies/enforcing-policies-for-your-enterprise/enforcing-github-actions-policies-for-your-enterprise#enforcing-a-policy-for-workflow-permissions-in-your-enterprise)," "[Disabling or limiting {% data variables.product.prodname_actions %} for your organization](/github/setting-up-and-managing-organizations-and-teams/disabling-or-limiting-github-actions-for-your-organization#setting-the-permissions-of-the-github_token-for-your-organization)," or "[Managing {% data variables.product.prodname_actions %} settings for a repository](/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#setting-the-permissions-of-the-github_token-for-your-repository)."
7979

80-
| Scope | Default access<br>(permissive) | Default access<br>(restricted) | Maximum access for<br>pull requests from<br>public forked repositories<sup>[†]</sup> |
80+
| Scope | Default access<br>(permissive) | Default access<br>(restricted) | Maximum access for<br>pull requests from<br>public forked repositories [1] |
8181
|---------------|-----------------------------|-----------------------------|--------------------------------|
8282
| actions | read/write | none | read |
8383
| checks | read/write | none | read |
@@ -93,7 +93,7 @@ The following table shows the permissions granted to the `GITHUB_TOKEN` by defau
9393
| security-events | read/write | none | read |
9494
| statuses | read/write | none | read |
9595

96-
[] Private repositories can control if pull requests from forks can run workflows, and configure the permissions assigned to `GITHUB_TOKEN`. For more information, see "[Managing GitHub Actions settings for a repository](/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#enabling-workflows-for-forks-of-private-repositories)."
96+
[1] Private repositories can control if pull requests from forks can run workflows, and configure the permissions assigned to `GITHUB_TOKEN`. For more information, see "[Managing GitHub Actions settings for a repository](/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#enabling-workflows-for-forks-of-private-repositories)."
9797

9898
{% data reusables.actions.workflow-runs-dependabot-note %}
9999

content/billing/managing-billing-for-github-codespaces/about-billing-for-github-codespaces.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ A {% data variables.product.prodname_github_codespaces %} instance (a "codespace
8282
| | 8 core | 1 hour | 8 | $0.72 |
8383
| | 16 core | 1 hour | 16 | $1.44 |
8484
| | 32 core | 1 hour | 32 | $2.88 |
85-
| Codespaces storage | Storage | 1 GB-month<sup>*</sup> | N/A | $0.07 |
85+
| Codespaces storage | Storage | 1 GB-month [1] | N/A | $0.07 |
8686

87-
<sup>*</sup> See "[Billing for storage usage](#billing-for-storage-usage)" below for details of the GB-month unit of measure.
87+
[1] See "[Billing for storage usage](#billing-for-storage-usage)" below for details of the GB-month unit of measure.
8888

8989
If you enable prebuilding of codespaces this will incur additional charges. For more information, see "[Billing for {% data variables.product.prodname_codespaces %} prebuilds](#billing-for-codespaces-prebuilds)."
9090

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 &lt;database&gt; --format=&lt;format&gt; \
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

content/code-security/supply-chain-security/understanding-your-software-supply-chain/about-the-dependency-graph.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,12 @@ The recommended formats explicitly define which versions are used for all direct
8585
| Composer | PHP | `composer.lock` | `composer.json`, `composer.lock` |
8686
| NuGet | .NET languages (C#, F#, VB), C++ | `.csproj`, `.vbproj`, `.nuspec`, `.vcxproj`, `.fsproj` | `.csproj`, `.vbproj`, `.nuspec`, `.vcxproj`, `.fsproj`, `packages.config` |
8787
{%- ifversion github-actions-in-dependency-graph %}
88-
| {% data variables.product.prodname_actions %} workflows<sup>[]</sup> | YAML | `.yml`, `.yaml` | `.yml`, `.yaml` |
88+
| {% data variables.product.prodname_actions %} workflows [1] | YAML | `.yml`, `.yaml` | `.yml`, `.yaml` |
8989
{%- endif %}
9090
| Go modules | Go | `go.sum` | `go.mod`, `go.sum` |
9191
| Maven | Java, Scala | `pom.xml` | `pom.xml` |
9292
| npm | JavaScript | `package-lock.json` | `package-lock.json`, `package.json`|
93-
| pip | Python | `requirements.txt`, `pipfile.lock` | `requirements.txt`, `pipfile`, `pipfile.lock`, `setup.py`<sup>[]</sup> |
93+
| pip | Python | `requirements.txt`, `pipfile.lock` | `requirements.txt`, `pipfile`, `pipfile.lock`, `setup.py`[2] |
9494
{%- ifversion dependency-graph-dart-support %}
9595
| pub | Dart | `pubspec.lock` | `pubspec.yaml`, `pubspec.lock` |
9696
{%- endif %}
@@ -101,11 +101,11 @@ The recommended formats explicitly define which versions are used for all direct
101101
| Yarn | JavaScript | `yarn.lock` | `package.json`, `yarn.lock` |
102102

103103
{% ifversion github-actions-in-dependency-graph %}
104-
[] {% data reusables.enterprise.3-5-missing-feature %} {% data variables.product.prodname_actions %} workflows must be located in the `.github/workflows/` directory of a repository to be recognized as manifests. Any actions or workflows referenced using the syntax `jobs[*].steps[*].uses` or `jobs.<job_id>.uses` will be parsed as dependencies. For more information, see "[Workflow syntax for {% data variables.product.prodname_actions %}](/actions/using-workflows/workflow-syntax-for-github-actions)."
104+
[1] {% data reusables.enterprise.3-5-missing-feature %} {% data variables.product.prodname_actions %} workflows must be located in the `.github/workflows/` directory of a repository to be recognized as manifests. Any actions or workflows referenced using the syntax `jobs[*].steps[*].uses` or `jobs.<job_id>.uses` will be parsed as dependencies. For more information, see "[Workflow syntax for {% data variables.product.prodname_actions %}](/actions/using-workflows/workflow-syntax-for-github-actions)."
105105

106106
{% endif %}
107107

108-
[] If you list your Python dependencies within a `setup.py` file, we may not be able to parse and list every dependency in your project.
108+
[2] If you list your Python dependencies within a `setup.py` file, we may not be able to parse and list every dependency in your project.
109109

110110
{% ifversion github-actions-in-dependency-graph %}
111111
{% note %}

content/code-security/supply-chain-security/understanding-your-software-supply-chain/using-the-dependency-submission-api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ The simplest way to use the Dependency submission API is by adding a pre-made ac
2929

3030
Ecosystem | Action | Maintained by {% data variables.product.prodname_dotcom %}
3131
--- | --- | --- |
32-
Any<sup>[]</sup> | [Anchore SBOM Action](https://github.com/marketplace/actions/anchore-sbom-action) | |
32+
Any [1] | [Anchore SBOM Action](https://github.com/marketplace/actions/anchore-sbom-action) | |
3333
Go | [Go Dependency Submission](https://github.com/marketplace/actions/go-dependency-submission) | **** |
3434
Gradle | [Gradle Dependency Submission](https://github.com/marketplace/actions/gradle-dependency-submission) | |
3535
Maven | [Maven Dependency Tree Dependency Submission](https://github.com/marketplace/actions/maven-dependency-tree-dependency-submission) | **** |
3636
Mill | [Mill Dependency Submission](https://github.com/marketplace/actions/mill-dependency-submission) | |
3737
Scala | [Sbt Dependency Submission](https://github.com/marketplace/actions/sbt-dependency-submission) | |
3838

39-
[] This action is ecosystem-agnostic.
39+
[1] This action is ecosystem-agnostic.
4040

4141
For example, the following [Go Dependency Submission](https://github.com/actions/go-dependency-submission) workflow calculates the dependencies for a Go build-target (a Go file with a `main` function) and submits the list to the Dependency Submission API.
4242

content/organizations/managing-user-access-to-your-organizations-repositories/repository-roles-for-an-organization.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ In this section, you can find the access required for security features, such as
163163
| [View dependency reviews](/code-security/supply-chain-security/about-dependency-review) | **✔️** | **✔️** | **✔️** | **✔️** | **✔️** |{% endif %}
164164
| [View {% data variables.product.prodname_code_scanning %} alerts on pull requests](/github/finding-security-vulnerabilities-and-errors-in-your-code/triaging-code-scanning-alerts-in-pull-requests) | **✔️** | **✔️** | **✔️** | **✔️** | **✔️** |
165165
| [List, dismiss, and delete {% data variables.product.prodname_code_scanning %} alerts](/github/finding-security-vulnerabilities-and-errors-in-your-code/managing-code-scanning-alerts-for-your-repository) | | | **✔️** | **✔️** | **✔️** |
166-
| [View and dismiss {% data variables.secret-scanning.alerts %} in a repository](/github/administering-a-repository/managing-alerts-from-secret-scanning) | | | **✔️**{% ifversion not ghae %}<sup>[1]</sup>{% endif %} | **✔️**{% ifversion not ghae %}<sup>[1]</sup>{% endif %} | **✔️** |{% ifversion ghes or ghae or ghec %}<!--Not available for FPT-->
167-
| [Resolve, revoke, or re-open {% data variables.secret-scanning.alerts %}](/github/administering-a-repository/managing-alerts-from-secret-scanning) | | | **✔️**{% ifversion not ghae %}<sup>[1]</sup>{% endif %} | **✔️**{% ifversion not ghae %}<sup>[1]</sup>{% endif %} | **✔️** |{% endif %}{% ifversion ghes or ghae or ghec %}
166+
| [View and dismiss {% data variables.secret-scanning.alerts %} in a repository](/github/administering-a-repository/managing-alerts-from-secret-scanning) | | | **✔️**{% ifversion not ghae %}[1]{% endif %} | **✔️**{% ifversion not ghae %}[1]{% endif %} | **✔️** |{% ifversion ghes or ghae or ghec %}<!--Not available for FPT-->
167+
| [Resolve, revoke, or re-open {% data variables.secret-scanning.alerts %}](/github/administering-a-repository/managing-alerts-from-secret-scanning) | | | **✔️**{% ifversion not ghae %}[1]{% endif %} | **✔️**{% ifversion not ghae %}[1]{% endif %} | **✔️** |{% endif %}{% ifversion ghes or ghae or ghec %}
168168
| [Designate additional people or teams to receive {% data variables.secret-scanning.alerts %}](/github/administering-a-repository/managing-security-and-analysis-settings-for-your-repository#granting-access-to-security-alerts) in repositories | | | | | **✔️** |{% endif %}
169169

170170
[1] Repository writers and maintainers can only see alert information for their own commits.

data/reusables/actions/supported-github-runners.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Ubuntu 20.04
5151
</tr>
5252
<tr>
5353
<td>
54-
Ubuntu 18.04 <sup>[deprecated]</sup>
54+
Ubuntu 18.04 [deprecated]
5555
</td>
5656
<td>
5757
<code>ubuntu-18.04</code>
@@ -83,7 +83,7 @@ macOS Big Sur 11
8383
</tr>
8484
<tr>
8585
<td>
86-
macOS Catalina 10.15 <sup>[deprecated]</sup>
86+
macOS Catalina 10.15 [deprecated]
8787
</td>
8888
<td>
8989
<code>macos-10.15</code>

data/reusables/dependabot/supported-package-managers.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,23 @@ Package manager | YAML value | Supported versions | Private repositories |
99
Bundler | `bundler` | v1, v2 | | **** | **** |
1010
Cargo | `cargo` | v1 | **** | **** | |
1111
Composer | `composer` | v1, v2 | **** | **** | |
12-
Docker {% ifversion dependabot-version-updates-enhanced-docker-support %}<sup>[1]</sup>{% endif %} | `docker` | v1 | **** | **** | |
12+
Docker {% ifversion dependabot-version-updates-enhanced-docker-support %}[1]{% endif %} | `docker` | v1 | **** | **** | |
1313
Hex | `mix` | v1 | | **** | |
1414
elm-package | `elm` | v0.19 | **** | **** | |
1515
git submodule | `gitsubmodule` | N/A (no version) | **** | **** | |
16-
{% data variables.product.prodname_actions %} <sup>[2]</sup> | `github-actions` | N/A (no version) | **** | **** | |
16+
{% data variables.product.prodname_actions %} [2] | `github-actions` | N/A (no version) | **** | **** | |
1717
Go modules | `gomod` | v1 | **** | **** | **** |
18-
Gradle <sup>[3]</sup> | `gradle` | N/A (no version) | **** | **** | |
19-
Maven <sup>[4]</sup> | `maven` | N/A (no version) | **** | **** | |
18+
Gradle [3] | `gradle` | N/A (no version) | **** | **** | |
19+
Maven [4] | `maven` | N/A (no version) | **** | **** | |
2020
npm | `npm` | v6, v7, v8 | **** | **** | |
21-
NuGet | `nuget` | <= 4.8<sup>[5]</sup> | **** | **** | |
22-
pip{% ifversion dependabot-PEP621-support %}<sup>[6]</sup>{% endif %} | `pip` | v21.1.2 | | **** | |
21+
NuGet | `nuget` | <= 4.8 [5] | **** | **** | |
22+
pip{% ifversion dependabot-PEP621-support %} [6]{% endif %} | `pip` | v21.1.2 | | **** | |
2323
pipenv | `pip` | <= 2021-05-29 | | **** | |
24-
pip-compile{% ifversion dependabot-PEP621-support %}<sup>[6]</sup>{% endif %} | `pip` | 6.1.0 | | **** | |
24+
pip-compile{% ifversion dependabot-PEP621-support %} [6]{% endif %} | `pip` | 6.1.0 | | **** | |
2525
poetry | `pip` | v1 | | **** | |{% ifversion fpt or ghec or ghes > 3.4 %}
26-
pub <sup>[7]</sup> | `pub` | v2 | | | |{% endif %}
26+
pub [7] | `pub` | v2 | | | |{% endif %}
2727
Terraform | `terraform` | >= 0.13, <= 1.3.x | **** | **** | |
28-
{% ifversion dependabot-yarn-v3-update %}yarn | `npm` | v1, v2, v3 | **** | **** | ****<sup>[8]</sup> |{% else %}yarn | `npm` | v1 | **** | **** | |
28+
{% ifversion dependabot-yarn-v3-update %}yarn | `npm` | v1, v2, v3 | **** | **** | ****[8] |{% else %}yarn | `npm` | v1 | **** | **** | |
2929
{% endif %}
3030

3131
{% tip %}

0 commit comments

Comments
 (0)