Skip to content

Commit 4df2385

Browse files
authored
Merge pull request #46861 from github/repo-sync
Repo sync
2 parents d0c59c5 + 6de6538 commit 4df2385

68 files changed

Lines changed: 2291 additions & 288 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎content/billing/concepts/product-billing/github-advanced-security.md‎

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,21 @@ For information about features that consume {% data variables.product.prodname_c
8686

8787
Push protection for {% data variables.secret-scanning.ai-detected-secrets %} consumes **{% data variables.product.prodname_secret_protection %} {% data variables.product.prodname_ai_credits_short %}**.
8888

89-
{% data variables.product.prodname_ai_credit_singular %} usage applies to your organization. The number of {% data variables.product.prodname_ai_credits_short %} consumed will depend on the amount of file content scanned during a push. Charging by content scanned ensures pricing is fair and predictable for organizations.
89+
The number of {% data variables.product.prodname_ai_credits_short %} consumed will depend on the amount of file content scanned during a push. Charging by content scanned ensures pricing is fair and predictable for organizations.
9090

91-
Usage is billed to the organization that owns the repository. You can view usage under **{% data variables.product.prodname_ai_credit_singular %} consumption** for the **{% data variables.product.prodname_secret_protection %} {% data variables.product.prodname_ai_credits_short %}** SKU in your AI usage insights.
91+
Usage is billed to the organization that owns the repository:
92+
93+
* For repositories owned by an organization in an enterprise, usage counts toward the enterprise's pool of {% data variables.product.prodname_ai_credits_short %}, not the individual pool of the user who pushes.
94+
* For repositories owned by a standalone organization, usage counts toward the organization's pool of {% data variables.product.prodname_ai_credits_short %}.
95+
* For repositories owned by an enterprise-managed user in their user namespace, usage counts toward the repository owner.
96+
97+
The exception is a repository in the personal namespace of a {% data variables.enterprise.prodname_managed_user %}:
98+
99+
* Usage for that repository counts toward the repository owner's individual pool of {% data variables.product.prodname_ai_credits_short %}, regardless of who pushes.
100+
* Organization-owned repositories in an enterprise with {% data variables.enterprise.prodname_managed_users %} still use the enterprise's pool.
101+
* Otherwise, push protection for {% data variables.secret-scanning.ai-detected-secrets %} does not consume users' individual {% data variables.product.prodname_ai_credits_short %}.
102+
103+
You can view usage under **{% data variables.product.prodname_ai_credit_singular %} consumption** for the **{% data variables.product.prodname_secret_protection %} {% data variables.product.prodname_ai_credits_short %}** SKU in your AI usage insights.
92104

93105
Each push that is scanned can consume {% data variables.product.prodname_ai_credits_short %}, even when no potential secret is identified and the push is not blocked, as the model is still providing value by scanning the push.
94106

‎content/code-security/how-tos/secure-your-secrets/prevent-future-leaks/enable-ai-push-protection.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ When you enable push protection for {% data variables.secret-scanning.ai-detecte
1717

1818
Push protection for {% data variables.secret-scanning.ai-detected-secrets %} consumes {% data variables.product.prodname_ai_credits_short %} in addition to your {% data variables.product.prodname_GH_secret_protection %} or {% data variables.product.prodname_GHAS %} license. See [AUTOTITLE](/code-security/concepts/secret-security/push-protection#generic-secrets-found-with-ai) and [AUTOTITLE](/billing/concepts/product-billing/github-advanced-security#secret-protection-ai-credits).
1919

20+
Usage is billed to the organization that owns the repository. For organization-owned repositories in an enterprise, usage counts toward the enterprise's pool of {% data variables.product.prodname_ai_credits_short %}. Only repositories in the personal namespace of a {% data variables.enterprise.prodname_managed_user %} consume the repository owner's individual pool, regardless of who pushes. Otherwise, users' individual pools are not charged.
21+
2022
## Prerequisites
2123

2224
* Your repository must have {% data variables.product.prodname_GH_secret_protection %} or {% data variables.product.prodname_GHAS %} enabled.

‎content/rest/dependabot/index.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ children:
1414
- /alert-dismissal-requests
1515
- /alerts
1616
- /repository-access
17+
- /runner-settings
1718
- /secrets
1819
redirect_from:
1920
- /rest/reference/dependabot
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: REST API endpoints for {% data variables.product.prodname_dependabot %} runner settings
3+
shortTitle: Runner settings
4+
intro: Use the REST API to get and set {% data variables.product.prodname_dependabot %} runner settings.
5+
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
6+
fpt: '*'
7+
ghec: '*'
8+
autogenerated: rest
9+
allowTitleToDifferFromFilename: true
10+
category:
11+
- Secure code and manage vulnerabilities
12+
---
13+
14+
<!-- Content after this section is automatically generated -->
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<a href="https://github.com/features/ai/github-app?utm_source=app-download-docs&utm_medium=docs&utm_campaign=universe-2026" target="_blank" class="btn btn-primary mt-3 mr-3 no-underline js-os-download" data-os-download-mac="https://gh.io/copilot-app-mac" data-os-download-mac-intel="https://gh.io/copilot-app-mac-intel" data-os-download-windows="https://gh.io/copilot-app-win64" data-os-download-windows-arm="https://gh.io/copilot-app-win-arm" data-os-download-linux="https://gh.io/copilot-app-linux">{% octicon "desktop-download" aria-hidden="true" %} <span class="js-os-download-label">Download the {% data variables.copilot.github_copilot_app %}</span></a>
1+
<a href="https://github.com/features/ai/github-app?utm_source=app-download-docs&utm_medium=docs&utm_campaign=universe-2026" target="_blank" class="btn btn-primary mt-3 mr-3 no-underline js-os-download" data-os-download-mac="https://gh.io/copilot-app-mac" data-os-download-mac-intel="https://gh.io/copilot-app-mac-intel" data-os-download-windows="https://gh.io/copilot-app-win64" data-os-download-windows-arm="https://gh.io/copilot-app-win-arm" data-os-download-linux="https://gh.io/copilot-app-linux" data-os-download-linux-arm="https://github.com/github/app/releases/latest/download/GitHub-Copilot-linux-arm64.AppImage">{% octicon "desktop-download" aria-hidden="true" %} <span class="js-os-download-label">Download the {% data variables.copilot.github_copilot_app %}</span></a>

‎src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4815,6 +4815,24 @@
48154815
"additional-permissions": false,
48164816
"access": "write"
48174817
},
4818+
{
4819+
"category": "dependabot",
4820+
"slug": "get-repository-dependabot-runner-settings",
4821+
"subcategory": "runner-settings",
4822+
"verb": "get",
4823+
"requestPath": "/repos/{owner}/{repo}/dependabot/runner-settings",
4824+
"additional-permissions": false,
4825+
"access": "read"
4826+
},
4827+
{
4828+
"category": "dependabot",
4829+
"slug": "set-repository-dependabot-runner-settings",
4830+
"subcategory": "runner-settings",
4831+
"verb": "put",
4832+
"requestPath": "/repos/{owner}/{repo}/dependabot/runner-settings",
4833+
"additional-permissions": false,
4834+
"access": "write"
4835+
},
48184836
{
48194837
"category": "deployments",
48204838
"slug": "create-or-update-an-environment",

‎src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2918,6 +2918,18 @@
29182918
"verb": "patch",
29192919
"requestPath": "/repos/{owner}/{repo}/dependabot/alerts/{alert_number}"
29202920
},
2921+
{
2922+
"slug": "get-repository-dependabot-runner-settings",
2923+
"subcategory": "runner-settings",
2924+
"verb": "get",
2925+
"requestPath": "/repos/{owner}/{repo}/dependabot/runner-settings"
2926+
},
2927+
{
2928+
"slug": "set-repository-dependabot-runner-settings",
2929+
"subcategory": "runner-settings",
2930+
"verb": "put",
2931+
"requestPath": "/repos/{owner}/{repo}/dependabot/runner-settings"
2932+
},
29212933
{
29222934
"slug": "list-repository-secrets",
29232935
"subcategory": "secrets",

‎src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6098,6 +6098,28 @@
60986098
"server-to-server": true,
60996099
"additional-permissions": false
61006100
},
6101+
{
6102+
"category": "dependabot",
6103+
"slug": "get-repository-dependabot-runner-settings",
6104+
"subcategory": "runner-settings",
6105+
"verb": "get",
6106+
"requestPath": "/repos/{owner}/{repo}/dependabot/runner-settings",
6107+
"access": "read",
6108+
"user-to-server": true,
6109+
"server-to-server": true,
6110+
"additional-permissions": false
6111+
},
6112+
{
6113+
"category": "dependabot",
6114+
"slug": "set-repository-dependabot-runner-settings",
6115+
"subcategory": "runner-settings",
6116+
"verb": "put",
6117+
"requestPath": "/repos/{owner}/{repo}/dependabot/runner-settings",
6118+
"access": "write",
6119+
"user-to-server": true,
6120+
"server-to-server": true,
6121+
"additional-permissions": false
6122+
},
61016123
{
61026124
"category": "deployments",
61036125
"slug": "create-or-update-an-environment",

‎src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2872,6 +2872,18 @@
28722872
"verb": "patch",
28732873
"requestPath": "/repos/{owner}/{repo}/dependabot/alerts/{alert_number}"
28742874
},
2875+
{
2876+
"slug": "get-repository-dependabot-runner-settings",
2877+
"subcategory": "runner-settings",
2878+
"verb": "get",
2879+
"requestPath": "/repos/{owner}/{repo}/dependabot/runner-settings"
2880+
},
2881+
{
2882+
"slug": "set-repository-dependabot-runner-settings",
2883+
"subcategory": "runner-settings",
2884+
"verb": "put",
2885+
"requestPath": "/repos/{owner}/{repo}/dependabot/runner-settings"
2886+
},
28752887
{
28762888
"slug": "list-repository-secrets",
28772889
"subcategory": "secrets",

‎src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3106,6 +3106,18 @@
31063106
"verb": "patch",
31073107
"requestPath": "/repos/{owner}/{repo}/dependabot/alerts/{alert_number}"
31083108
},
3109+
{
3110+
"slug": "get-repository-dependabot-runner-settings",
3111+
"subcategory": "runner-settings",
3112+
"verb": "get",
3113+
"requestPath": "/repos/{owner}/{repo}/dependabot/runner-settings"
3114+
},
3115+
{
3116+
"slug": "set-repository-dependabot-runner-settings",
3117+
"subcategory": "runner-settings",
3118+
"verb": "put",
3119+
"requestPath": "/repos/{owner}/{repo}/dependabot/runner-settings"
3120+
},
31093121
{
31103122
"slug": "list-repository-secrets",
31113123
"subcategory": "secrets",

0 commit comments

Comments
 (0)