Skip to content

Commit d9727c4

Browse files
Merge branch 'main' into oxidizegithub
2 parents 6ae5fed + dd98f14 commit d9727c4

File tree

12 files changed

+63
-14
lines changed

12 files changed

+63
-14
lines changed

content/code-security/dependabot/working-with-dependabot/dependabot-options-reference.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ By default, a group will include all types of dependencies.
233233

234234
### `patterns` and `exclude-patterns` (`groups`)
235235

236-
Both options support using `*` as a wild card to define matches with dependency names.
236+
Both options support using `*` as a wild card to define matches with dependency names. If a dependency matches both a pattern and an exclude-pattern, then it is excluded from the group.
237237

238238
### `update-types` (`groups`)
239239

content/copilot/using-github-copilot/asking-github-copilot-questions-in-github.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ On {% data variables.product.github %}, you can use {% data variables.product.pr
3535

3636
## Powered by skills
3737

38-
{% data variables.product.prodname_copilot_short %} is powered by a collection of skills that are dynamically selected based on the question you ask. You can tell which skill {% data variables.product.prodname_copilot_short %} used by clicking {% octicon "chevron-down" aria-label="the down arrow" %} to expand the status information in the chat window.
38+
When using the GPT-4o and {% data variables.copilot.copilot_claude_sonnet %} models, {% data variables.product.prodname_copilot_short %} has access to a collection of skills to fetch data from {% data variables.product.github %}, which are dynamically selected based on the question you ask. You can tell which skill {% data variables.product.prodname_copilot_short %} used by clicking {% octicon "chevron-down" aria-label="the down arrow" %} to expand the status information in the chat window.
3939

4040
![Screenshot of the {% data variables.product.prodname_copilot_short %} chat panel with the status information expanded and the skill that was used highlighted with an orange outline.](/assets/images/help/copilot/chat-show-skill.png)
4141

@@ -71,7 +71,7 @@ The skills you can use in {% data variables.product.prodname_copilot_chat_dotcom
7171

7272
### Limitations of AI models for {% data variables.product.prodname_copilot_chat_short %}
7373

74-
* If you want to use the skills listed in the table above{% ifversion ghec %}, or knowledge bases{% endif %}, on the {% data variables.product.github %} website, you must use the `gpt-4o` model.
74+
* If you want to use the skills listed in the table above{% ifversion ghec %}, or knowledge bases{% endif %}, on the {% data variables.product.github %} website, only the GPT 4o and {% data variables.copilot.copilot_claude_sonnet %} models are supported.
7575
* Experimental pre-release versions of the models may not interact with all filters correctly, including the duplication detection filter.
7676

7777
### Changing your AI model

content/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks.md

+3
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ This will display the code block with syntax highlighting:
6666

6767
![Screenshot of three lines of Ruby code as displayed on {% data variables.product.prodname_dotcom %}. Elements of the code display in purple, blue, and red type for scannability.](/assets/images/help/writing/code-block-syntax-highlighting-rendered.png)
6868

69+
> [!TIP]
70+
> When you create a fenced code block that you also want to have syntax highlighting on a GitHub Pages site, use lower-case language identifiers. For more information, see [AUTOTITLE](/pages/setting-up-a-github-pages-site-with-jekyll/about-github-pages-and-jekyll#syntax-highlighting).
71+
6972
We use [Linguist](https://github.com/github-linguist/linguist) to perform language detection and to select [third-party grammars](https://github.com/github-linguist/linguist/blob/main/vendor/README.md) for syntax highlighting. You can find out which keywords are valid in [the languages YAML file](https://github.com/github-linguist/linguist/blob/main/lib/linguist/languages.yml).
7073

7174
## Creating diagrams

content/organizations/managing-programmatic-access-to-your-organization/viewing-api-insights-in-your-organization.md

-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ topics:
1212
- REST
1313
---
1414

15-
> [!NOTE] This feature is currently in {% data variables.release-phases.public_preview %} and is subject to change. We welcome your feedback in [this {% data variables.product.prodname_github_community %} discussion](https://github.co/api-insights-discussion).
16-
1715
## About API insights
1816

1917
As a {% data variables.product.prodname_ghe_cloud %} organization owner, you and your designated users can view REST API activity for your entire organization or specific apps and users. This helps you understand the sources of your REST API activity and manage against your primary rate limits, giving you visibility into the timeframe, apps, and API endpoints involved. To learn more about primary rate limits, see [AUTOTITLE](/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-primary-rate-limits).

content/pages/setting-up-a-github-pages-site-with-jekyll/about-github-pages-and-jekyll.md

+3
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ To make your site easier to read, code snippets are highlighted on {% data varia
110110

111111
By default, code blocks on your site will be highlighted by Jekyll. Jekyll uses the [Rouge](https://github.com/rouge-ruby/rouge) highlighter (which is compatible with [Pygments](https://pygments.org/)). If you specify Pygments in your `_config.yml` file, Rouge will be used as the fallback instead. Jekyll cannot use any other syntax highlighter, and you'll get a page build warning if you specify another syntax highlighter in your `_config.yml` file. For more information, see [AUTOTITLE](/pages/setting-up-a-github-pages-site-with-jekyll/about-jekyll-build-errors-for-github-pages-sites).
112112

113+
> [!NOTE]
114+
> Rouge only recognizes lower-case language identifiers for fenced code blocks. For a list of supported languages, see [Languages](https://rouge-ruby.github.io/docs/file.Languages.html).
115+
113116
If you want to use another highlighter, such as [highlight.js](https://github.com/highlightjs/highlight.js), you must disable Jekyll's syntax highlighting by updating your project's `_config.yml` file.
114117

115118
```yaml

content/webhooks/using-webhooks/automatically-redelivering-failed-deliveries-for-a-github-app-webhook.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
- name: Setup Node.js
7777
uses: {% data reusables.actions.action-setup-node %}
7878
with:
79-
node-version: '18.x'
79+
node-version: '20.x'
8080

8181
# This step installs the octokit library. The script that this workflow will run uses the octokit library.
8282
- name: Install dependencies
@@ -98,18 +98,18 @@ jobs:
9898
WORKFLOW_REPO: {% raw %}${{ github.event.repository.name }}{% endraw %}
9999
WORKFLOW_REPO_OWNER: {% raw %}${{ github.repository_owner }}{% endraw %}
100100
run: |
101-
node .github/workflows/scripts/redeliver-failed-deliveries.js
101+
node .github/workflows/scripts/redeliver-failed-deliveries.mjs
102102
```
103103
104104
## Adding the script
105105
106106
This section demonstrates how you can write a script to find and redeliver failed deliveries.
107107
108-
Copy this script into a file called `.github/workflows/scripts/redeliver-failed-deliveries.js` in the same repository where you saved the {% data variables.product.prodname_actions %} workflow file above.
108+
Copy this script into a file called `.github/workflows/scripts/redeliver-failed-deliveries.mjs` in the same repository where you saved the {% data variables.product.prodname_actions %} workflow file above.
109109

110110
```javascript copy annotate
111111
// This script uses {% data variables.product.company_short %}'s Octokit SDK to make API requests. For more information, see "[AUTOTITLE](/rest/guides/scripting-with-the-rest-api-and-javascript)."
112-
const { App, Octokit } = require("octokit");
112+
import { App, Octokit } from "octokit";
113113
114114
//
115115
async function checkAndRedeliverWebhooks() {
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
> [!NOTE]
2-
> This event will only trigger a workflow run if the workflow file is on the default branch.
2+
> This event will only trigger a workflow run if the workflow file exists on the default branch.

data/reusables/actions/environment-example.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
When the above workflow runs, the `deployment` job will be subject to any rules configured for the `production` environment. For example, if the environment requires reviewers, the job will pause until one of the reviewers approves the job.
2323

24-
You can also specify a URL for the environment. The specified URL will appear on the deployments page for the repository (accessed by clicking **Environments** on the home page of your repository) and in the visualization graph for the workflow run. If a pull request triggered the workflow, the URL is also displayed as a **View deployment** button in the pull request timeline.
24+
You can also specify a URL for the environment. The specified URL will appear on the deployments page for the repository (accessed by clicking **Environments** on the home page of your repository) and in the visualization graph for the workflow run. If a pull request triggered the workflow, the URL is also displayed as a **View deployment** button in the pull request timeline. When using the "Require deployments to succeed before merging" rule, only the `name` specified is being checked even if a URL has also been specified. See [AUTOTITLE](/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/about-protected-branches#require-deployments-to-succeed-before-merging).
2525

2626
```yaml
2727
name: Deployment

data/reusables/actions/runner-essential-communications.md

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ github-registry-files.githubusercontent.com
4545

4646
```shell copy
4747
*.pkg.github.com
48+
pkg-containers.githubusercontent.com
4849
ghcr.io
4950
```
5051

Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
When running security or version updates, some ecosystems must be able to resolve all dependencies from their source to verify that updates have been successful. If your manifest or lock files contain any private dependencies, {% data variables.product.prodname_dependabot %} must be able to access the location at which those dependencies are hosted. Organization owners can grant {% data variables.product.prodname_dependabot %} access to private repositories containing dependencies for a project within the same organization. For more information, see "[AUTOTITLE](/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/managing-security-and-analysis-settings-for-your-organization#allowing-dependabot-to-access-private{% ifversion ghec or ghes %}-or-internal{% endif %}-dependencies)." You can configure access to private registries in a repository's `dependabot.yml` configuration file. For more information, see "[AUTOTITLE](/code-security/dependabot/working-with-dependabot/dependabot-options-reference#configuration-options-for-private-registries)."
1+
When running security or version updates, some ecosystems must be able to resolve all dependencies from their source to verify that updates have been successful. If your manifest or lock files contain any private dependencies, {% data variables.product.prodname_dependabot %} must be able to access the location at which those dependencies are hosted. Organization owners can grant {% data variables.product.prodname_dependabot %} access to private repositories containing dependencies for a project within the same organization. For more information, see [AUTOTITLE](/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/managing-security-and-analysis-settings-for-your-organization#allowing-dependabot-to-access-private{% ifversion ghec or ghes %}-or-internal{% endif %}-dependencies). You can configure access to private registries in a repository's `dependabot.yml` configuration file. For more information, see [AUTOTITLE](/code-security/dependabot/working-with-dependabot/configuring-access-to-private-registries-for-dependabot).

src/secret-scanning/data/public-docs.yml

+44
Original file line numberDiff line numberDiff line change
@@ -955,6 +955,17 @@
955955
hasPushProtection: true
956956
hasValidityCheck: false
957957
isduplicate: false
958+
- provider: Databento
959+
supportedSecret: Databento API Key
960+
secretType: databento_api_key
961+
versions:
962+
fpt: '*'
963+
ghec: '*'
964+
isPublic: true
965+
isPrivateWithGhas: false
966+
hasPushProtection: false
967+
hasValidityCheck: false
968+
isduplicate: false
958969
- provider: Databricks
959970
supportedSecret: Databricks Access Token
960971
secretType: databricks_access_token
@@ -1998,6 +2009,28 @@
19982009
hasPushProtection: false
19992010
hasValidityCheck: false
20002011
isduplicate: false
2012+
- provider: Lichess
2013+
supportedSecret: Lichess OAuth Access Token
2014+
secretType: lichess_oauth_access_token
2015+
versions:
2016+
fpt: '*'
2017+
ghec: '*'
2018+
isPublic: true
2019+
isPrivateWithGhas: false
2020+
hasPushProtection: false
2021+
hasValidityCheck: false
2022+
isduplicate: false
2023+
- provider: Lichess
2024+
supportedSecret: Lichess Personal Access Token
2025+
secretType: lichess_personal_access_token
2026+
versions:
2027+
fpt: '*'
2028+
ghec: '*'
2029+
isPublic: true
2030+
isPrivateWithGhas: false
2031+
hasPushProtection: false
2032+
hasValidityCheck: false
2033+
isduplicate: false
20012034
- provider: Lightspeed
20022035
supportedSecret: Lightspeed Personal Access Token
20032036
secretType: lightspeed_xs_pat
@@ -2488,6 +2521,17 @@
24882521
hasPushProtection: true
24892522
hasValidityCheck: '{% ifversion fpt or ghes %}false{% else %}true{% endif %}'
24902523
isduplicate: true
2524+
- provider: OpenRouter
2525+
supportedSecret: OpenRouter API Key
2526+
secretType: openrouter_api_key
2527+
versions:
2528+
fpt: '*'
2529+
ghec: '*'
2530+
isPublic: true
2531+
isPrivateWithGhas: false
2532+
hasPushProtection: false
2533+
hasValidityCheck: false
2534+
isduplicate: false
24912535
- provider: Orbit
24922536
supportedSecret: Orbit API Token
24932537
secretType: orbit_api_token

src/secret-scanning/lib/config.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"sha": "e6054aab2e4808013fc252da4eecc896e43a5ffc",
3-
"blob-sha": "ad9b0dbbff0337145d4929b99b65877c4b1ebeed",
2+
"sha": "cc2ad2addc1a78be626037470b48db546e8a35ec",
3+
"blob-sha": "7cd3674e6d0419376506fc41828588bd3eaed01d",
44
"targetFilename": "code-security/secret-scanning/introduction/supported-secret-scanning-patterns"
55
}

0 commit comments

Comments
 (0)