Skip to content

Commit 9f244be

Browse files
authored
Merge pull request #31049 from github/repo-sync
Repo sync
2 parents 72e1833 + 32b6277 commit 9f244be

File tree

16 files changed

+229
-228
lines changed

16 files changed

+229
-228
lines changed

data/secret-scanning.yml

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,18 @@
167167
hasPushProtection: true
168168
hasValidityCheck: '{% ifversion fpt or ghes %}false{% else %}true{% endif %}'
169169

170+
- provider: 'Anthropic'
171+
supportedSecret: 'Anthropic API Key'
172+
secretType: 'anthropic_api_key'
173+
versions:
174+
fpt: '*'
175+
ghec: '*'
176+
ghes: '>=3.12'
177+
isPublic: false
178+
isPrivateWithGhas: true
179+
hasPushProtection: true
180+
hasValidityCheck: false
181+
170182
- provider: 'Asana'
171183
supportedSecret: 'Asana Personal Access Token'
172184
secretType: 'asana_personal_access_token'
@@ -466,6 +478,18 @@
466478
hasPushProtection: true
467479
hasValidityCheck: false
468480

481+
- provider: 'Canva'
482+
supportedSecret: 'Canva Connect API Secret'
483+
secretType: 'canva_connect_api_secret'
484+
versions:
485+
fpt: '*'
486+
ghec: '*'
487+
ghes: '>=3.12'
488+
isPublic: true
489+
isPrivateWithGhas: true
490+
hasPushProtection: true
491+
hasValidityCheck: false
492+
469493
- provider: 'Checkout.com'
470494
supportedSecret: 'Checkout.com Production Secret Key'
471495
secretType: 'checkout_production_secret_key'
@@ -2783,7 +2807,7 @@
27832807
isPublic: false
27842808
isPrivateWithGhas: true
27852809
hasPushProtection: false
2786-
hasValidityCheck: false
2810+
hasValidityCheck: '{% ifversion fpt or ghes %}false{% else %}true{% endif %}'
27872811

27882812
- provider: 'Telnyx'
27892813
supportedSecret: 'Telnyx API V2 Key'
@@ -3040,7 +3064,7 @@
30403064
ghec: '*'
30413065
ghes: '*'
30423066
ghae: '*'
3043-
isPublic: true
3067+
isPublic: false
30443068
isPrivateWithGhas: true
30453069
hasPushProtection: false
30463070
hasValidityCheck: false
@@ -3064,7 +3088,7 @@
30643088
ghec: '*'
30653089
ghes: '*'
30663090
ghae: '*'
3067-
isPublic: true
3091+
isPublic: false
30683092
isPrivateWithGhas: true
30693093
hasPushProtection: false
30703094
hasValidityCheck: false
@@ -3077,7 +3101,7 @@
30773101
ghec: '*'
30783102
ghes: '*'
30793103
ghae: '*'
3080-
isPublic: true
3104+
isPublic: false
30813105
isPrivateWithGhas: true
30823106
hasPushProtection: false
30833107
hasValidityCheck: false

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,24 @@
3939
"additional-permissions": [],
4040
"access": "read"
4141
},
42+
{
43+
"category": "enterprise-admin",
44+
"slug": "list-enterprise-consumed-licenses",
45+
"subcategory": "license",
46+
"verb": "get",
47+
"requestPath": "/enterprises/{enterprise}/consumed-licenses",
48+
"additional-permissions": [],
49+
"access": "read"
50+
},
51+
{
52+
"category": "enterprise-admin",
53+
"slug": "get-a-license-sync-status",
54+
"subcategory": "license",
55+
"verb": "get",
56+
"requestPath": "/enterprises/{enterprise}/license-sync-status",
57+
"additional-permissions": [],
58+
"access": "read"
59+
},
4260
{
4361
"category": "enterprise-admin",
4462
"slug": "get-github-actions-billing-for-an-enterprise",

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

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,28 @@
4747
"server-to-server": true,
4848
"additional-permissions": []
4949
},
50+
{
51+
"category": "enterprise-admin",
52+
"slug": "list-enterprise-consumed-licenses",
53+
"subcategory": "license",
54+
"verb": "get",
55+
"requestPath": "/enterprises/{enterprise}/consumed-licenses",
56+
"access": "read",
57+
"user-to-server": true,
58+
"server-to-server": true,
59+
"additional-permissions": []
60+
},
61+
{
62+
"category": "enterprise-admin",
63+
"slug": "get-a-license-sync-status",
64+
"subcategory": "license",
65+
"verb": "get",
66+
"requestPath": "/enterprises/{enterprise}/license-sync-status",
67+
"access": "read",
68+
"user-to-server": true,
69+
"server-to-server": true,
70+
"additional-permissions": []
71+
},
5072
{
5173
"category": "enterprise-admin",
5274
"slug": "get-github-actions-billing-for-an-enterprise",

src/github-apps/lib/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,5 @@
6060
"2022-11-28"
6161
]
6262
},
63-
"sha": "6d0981c022d41b9e6f385d364bd2dfcc5d3b6cab"
63+
"sha": "7ab8592e0e02e3a1f4b89b14078e3ae793b17068"
6464
}

src/rest/data/fpt-2022-11-28/schema.json

Lines changed: 49 additions & 13 deletions
Large diffs are not rendered by default.

src/rest/data/ghae/schema.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246304,7 +246304,7 @@
246304246304
}
246305246305
],
246306246306
"previews": [],
246307-
"descriptionHTML": "<p>Returns a weekly aggregate of the number of additions and deletions pushed to a repository.</p>",
246307+
"descriptionHTML": "<p>Returns a weekly aggregate of the number of additions and deletions pushed to a repository.</p>\n<p><strong>Note:</strong> This endpoint can only be used for repositories with fewer than 10,000 commits. If the repository contains\n10,000 or more commits, a 422 status code will be returned.</p>",
246308246308
"statusCodes": [
246309246309
{
246310246310
"httpStatusCode": "200",
@@ -246317,6 +246317,10 @@
246317246317
{
246318246318
"httpStatusCode": "204",
246319246319
"description": "<p>A header with no content is returned.</p>"
246320+
},
246321+
{
246322+
"httpStatusCode": "422",
246323+
"description": "<p>Repository contains more than 10,000 commits</p>"
246320246324
}
246321246325
]
246322246326
},
@@ -246739,7 +246743,7 @@
246739246743
}
246740246744
],
246741246745
"previews": [],
246742-
"descriptionHTML": "<p>Returns the <code>total</code> number of commits authored by the contributor. In addition, the response includes a Weekly Hash (<code>weeks</code> array) with the following information:</p>\n<ul>\n<li><code>w</code> - Start of the week, given as a <a href=\"http://en.wikipedia.org/wiki/Unix_time\">Unix timestamp</a>.</li>\n<li><code>a</code> - Number of additions</li>\n<li><code>d</code> - Number of deletions</li>\n<li><code>c</code> - Number of commits</li>\n</ul>",
246746+
"descriptionHTML": "<p>Returns the <code>total</code> number of commits authored by the contributor. In addition, the response includes a Weekly Hash (<code>weeks</code> array) with the following information:</p>\n<ul>\n<li><code>w</code> - Start of the week, given as a <a href=\"https://en.wikipedia.org/wiki/Unix_time\">Unix timestamp</a>.</li>\n<li><code>a</code> - Number of additions</li>\n<li><code>d</code> - Number of deletions</li>\n<li><code>c</code> - Number of commits</li>\n</ul>\n<p><strong>Note:</strong> This endpoint will return <code>0</code> values for all addition and deletion counts in repositories with 10,000 or more commits.</p>",
246743246747
"statusCodes": [
246744246748
{
246745246749
"httpStatusCode": "200",

0 commit comments

Comments
 (0)