Skip to content

Commit 20e1319

Browse files
committed
Merge branch 'main' into pr/68
2 parents 466c57f + 817b0fe commit 20e1319

File tree

34 files changed

+1750
-122936
lines changed

34 files changed

+1750
-122936
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v4
1515
- uses: actions/setup-node@v4
1616
with:
17-
node-version: "lts/*"
17+
node-version: "20"
1818
cache: npm
1919
- run: npm ci
2020
- run: npx semantic-release

.github/workflows/update.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: update cache
3434
uses: gr2m/[email protected]
3535
env:
36-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36+
GITHUB_TOKEN: ${{ secrets.OCTOKITBOT_PAT }}
3737
with:
3838
title: 🤖📯 GitHub OpenAPI Update
3939
body: >
@@ -50,4 +50,4 @@ jobs:
5050
branch: update
5151
author: Octokit Bot <[email protected]>
5252
commit-message: "WIP: schema updates"
53-
labels: maintenance
53+
labels: "Type: Maintenance"

cache/api.github.com.json

Lines changed: 185 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14836,8 +14836,7 @@
1483614836
},
1483714837
"repository-dispatch-sample.collected": {
1483814838
"post": {
14839-
"summary": "This event occurs when a GitHub App sends a `POST` request to `/repos/{owner}/{repo}/dispatches`. For more information, see [the REST API documentation for creating a repository dispatch event](https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event).\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.",
14840-
"description": "The `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body.",
14839+
"summary": "This event occurs when a GitHub App sends a `POST` request to `/repos/{owner}/{repo}/dispatches`. For more information, see [the REST API documentation for creating a repository dispatch event](https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event). In the payload, the `action` will be the `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.",
1484114840
"operationId": "repository-dispatch/sample.collected",
1484214841
"externalDocs": {
1484314842
"url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository_dispatch"
@@ -18590,7 +18589,11 @@
1859018589
"followers_url": { "type": "string", "format": "uri-template" },
1859118590
"following_url": { "type": "string", "format": "uri-template" },
1859218591
"gists_url": { "type": "string", "format": "uri-template" },
18593-
"hub_url": { "type": "string", "format": "uri-template" },
18592+
"hub_url": {
18593+
"type": "string",
18594+
"format": "uri-template",
18595+
"deprecated": true
18596+
},
1859418597
"issue_search_url": { "type": "string", "format": "uri-template" },
1859518598
"issues_url": { "type": "string", "format": "uri-template" },
1859618599
"keys_url": { "type": "string", "format": "uri-template" },
@@ -18643,7 +18646,6 @@
1864318646
"followers_url",
1864418647
"following_url",
1864518648
"gists_url",
18646-
"hub_url",
1864718649
"issue_search_url",
1864818650
"issues_url",
1864918651
"keys_url",
@@ -24895,11 +24897,21 @@
2489524897
"description": "The organization policy for allowing or disallowing Copilot to make suggestions that match public code.",
2489624898
"enum": ["allow", "block", "unconfigured", "unknown"]
2489724899
},
24898-
"copilot_chat": {
24900+
"ide_chat": {
2489924901
"type": "string",
2490024902
"description": "The organization policy for allowing or disallowing organization members to use Copilot Chat within their editor.",
2490124903
"enum": ["enabled", "disabled", "unconfigured"]
2490224904
},
24905+
"platform_chat": {
24906+
"type": "string",
24907+
"description": "The organization policy for allowing or disallowing organization members to use Copilot features within github.com.",
24908+
"enum": ["enabled", "disabled", "unconfigured"]
24909+
},
24910+
"cli": {
24911+
"type": "string",
24912+
"description": "The organization policy for allowing or disallowing organization members to use Copilot within their CLI.",
24913+
"enum": ["enabled", "disabled", "unconfigured"]
24914+
},
2490324915
"seat_management_setting": {
2490424916
"type": "string",
2490524917
"description": "The mode of assigning new seats.",
@@ -27169,6 +27181,34 @@
2716927181
}
2717027182
}
2717127183
},
27184+
"repository-rule-params-code-scanning-threshold": {
27185+
"title": "CodeScanningThreshold",
27186+
"description": "A tool and its thresholds.",
27187+
"type": "object",
27188+
"properties": {
27189+
"alerts": {
27190+
"type": "string",
27191+
"description": "Code scanning alert threshold",
27192+
"enum": ["none", "errors", "errors_and_warnings", "all"]
27193+
},
27194+
"security_alerts": {
27195+
"type": "string",
27196+
"description": "Code scanning security alert threshold.",
27197+
"enum": [
27198+
"none",
27199+
"critical",
27200+
"high_or_higher",
27201+
"medium_or_higher",
27202+
"all"
27203+
]
27204+
},
27205+
"tool": {
27206+
"type": "string",
27207+
"description": "The name of a code scanning tool"
27208+
}
27209+
},
27210+
"required": ["alerts", "security_alerts", "tool"]
27211+
},
2717227212
"repository-rule": {
2717327213
"title": "Repository Rule",
2717427214
"type": "object",
@@ -29326,7 +29366,14 @@
2932629366
"status": {
2932729367
"description": "The phase of the lifecycle that the job is currently in.",
2932829368
"type": "string",
29329-
"enum": ["queued", "in_progress", "completed", "waiting"],
29369+
"enum": [
29370+
"queued",
29371+
"in_progress",
29372+
"completed",
29373+
"waiting",
29374+
"requested",
29375+
"pending"
29376+
],
2933029377
"examples": ["queued"]
2933129378
},
2933229379
"conclusion": {
@@ -31397,9 +31444,16 @@
3139731444
"examples": ["https://example.com"]
3139831445
},
3139931446
"status": {
31400-
"description": "The phase of the lifecycle that the check is currently in.",
31447+
"description": "The phase of the lifecycle that the check is currently in. Statuses of waiting, requested, and pending are reserved for GitHub Actions check runs.",
3140131448
"type": "string",
31402-
"enum": ["queued", "in_progress", "completed"],
31449+
"enum": [
31450+
"queued",
31451+
"in_progress",
31452+
"completed",
31453+
"waiting",
31454+
"requested",
31455+
"pending"
31456+
],
3140331457
"examples": ["queued"]
3140431458
},
3140531459
"conclusion": {
@@ -31541,7 +31595,16 @@
3154131595
},
3154231596
"status": {
3154331597
"type": ["string", "null"],
31544-
"enum": ["queued", "in_progress", "completed", null],
31598+
"description": "The phase of the lifecycle that the check suite is currently in. Statuses of waiting, requested, and pending are reserved for GitHub Actions check suites.",
31599+
"enum": [
31600+
"queued",
31601+
"in_progress",
31602+
"completed",
31603+
"waiting",
31604+
"requested",
31605+
"pending",
31606+
null
31607+
],
3154531608
"examples": ["completed"]
3154631609
},
3154731610
"conclusion": {
@@ -38084,6 +38147,68 @@
3808438147
"commit_url"
3808538148
]
3808638149
},
38150+
"secret-scanning-location-wiki-commit": {
38151+
"description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.",
38152+
"type": "object",
38153+
"properties": {
38154+
"path": {
38155+
"type": "string",
38156+
"description": "The file path of the wiki page",
38157+
"examples": ["/example/Home.md"]
38158+
},
38159+
"start_line": {
38160+
"type": "number",
38161+
"description": "Line number at which the secret starts in the file"
38162+
},
38163+
"end_line": {
38164+
"type": "number",
38165+
"description": "Line number at which the secret ends in the file"
38166+
},
38167+
"start_column": {
38168+
"type": "number",
38169+
"description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII."
38170+
},
38171+
"end_column": {
38172+
"type": "number",
38173+
"description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII."
38174+
},
38175+
"blob_sha": {
38176+
"type": "string",
38177+
"description": "SHA-1 hash ID of the associated blob",
38178+
"examples": ["af5626b4a114abcb82d63db7c8082c3c4756e51b"]
38179+
},
38180+
"page_url": {
38181+
"type": "string",
38182+
"description": "The GitHub URL to get the associated wiki page",
38183+
"examples": [
38184+
"https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5"
38185+
]
38186+
},
38187+
"commit_sha": {
38188+
"type": "string",
38189+
"description": "SHA-1 hash ID of the associated commit",
38190+
"examples": ["302c0b7e200761c9dd9b57e57db540ee0b4293a5"]
38191+
},
38192+
"commit_url": {
38193+
"type": "string",
38194+
"description": "The GitHub URL to get the associated wiki commit",
38195+
"examples": [
38196+
"https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5"
38197+
]
38198+
}
38199+
},
38200+
"required": [
38201+
"path",
38202+
"start_line",
38203+
"end_line",
38204+
"start_column",
38205+
"end_column",
38206+
"blob_sha",
38207+
"page_url",
38208+
"commit_sha",
38209+
"commit_url"
38210+
]
38211+
},
3808738212
"secret-scanning-location-issue-title": {
3808838213
"description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.",
3808938214
"type": "object",
@@ -38256,6 +38381,7 @@
3825638381
"type": "string",
3825738382
"enum": [
3825838383
"commit",
38384+
"wiki_commit",
3825938385
"issue_title",
3826038386
"issue_body",
3826138387
"issue_comment",
@@ -38276,6 +38402,9 @@
3827638402
{
3827738403
"$ref": "#/components/schemas/secret-scanning-location-commit"
3827838404
},
38405+
{
38406+
"$ref": "#/components/schemas/secret-scanning-location-wiki-commit"
38407+
},
3827938408
{
3828038409
"$ref": "#/components/schemas/secret-scanning-location-issue-title"
3828138410
},
@@ -38311,8 +38440,7 @@
3831138440
}
3831238441
]
3831338442
}
38314-
},
38315-
"required": ["type", "details"]
38443+
}
3831638444
},
3831738445
"repository-advisory-create": {
3831838446
"type": "object",
@@ -70430,11 +70558,18 @@
7043070558
"type": "object",
7043170559
"properties": {
7043270560
"permission": {
70561+
"description": "This field is included for legacy purposes; use the `role_name` field instead. The `maintain`\nrole is mapped to `write` and the `triage` role is mapped to `read`. To determine the role\nassigned to the collaborator, use the `role_name` field instead, which will provide the full\nrole name, including custom roles.",
7043370562
"type": "object",
7043470563
"properties": {
7043570564
"to": { "type": "string", "enum": ["write", "admin", "read"] }
7043670565
},
7043770566
"required": ["to"]
70567+
},
70568+
"role_name": {
70569+
"description": "The role assigned to the collaborator.",
70570+
"type": "object",
70571+
"properties": { "to": { "type": "string" } },
70572+
"required": ["to"]
7043870573
}
7043970574
}
7044070575
},
@@ -123199,7 +123334,7 @@
123199123334
"type": "string"
123200123335
},
123201123336
"commits": {
123202-
"description": "An array of commit objects describing the pushed commits. (Pushed commits are all commits that are included in the `compare` between the `before` commit and the `after` commit.) The array includes a maximum of 20 commits. If necessary, you can use the [Commits API](https://docs.github.com/rest/commits) to fetch additional commits. This limit is applied to timeline events only and isn't applied to webhook deliveries.",
123337+
"description": "An array of commit objects describing the pushed commits. (Pushed commits are all commits that are included in the `compare` between the `before` commit and the `after` commit.) The array includes a maximum of 2048 commits. If necessary, you can use the [Commits API](https://docs.github.com/rest/commits) to fetch additional commits.",
123203123338
"type": "array",
123204123339
"items": {
123205123340
"title": "Commit",
@@ -126477,11 +126612,15 @@
126477126612
"title": "repository_dispatch event",
126478126613
"type": "object",
126479126614
"properties": {
126480-
"action": { "type": "string", "enum": ["sample.collected"] },
126615+
"action": {
126616+
"type": "string",
126617+
"description": "The `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body."
126618+
},
126481126619
"branch": { "type": "string" },
126482126620
"client_payload": {
126483126621
"type": ["object", "null"],
126484-
"additionalProperties": true
126622+
"additionalProperties": true,
126623+
"description": "The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body."
126485126624
},
126486126625
"enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" },
126487126626
"installation": {
@@ -156714,6 +156853,20 @@
156714156853
"commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b"
156715156854
}
156716156855
},
156856+
{
156857+
"type": "wiki_commit",
156858+
"details": {
156859+
"path": "/example/Home.md",
156860+
"start_line": 1,
156861+
"end_line": 1,
156862+
"start_column": 1,
156863+
"end_column": 64,
156864+
"blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b",
156865+
"page_url": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5",
156866+
"commit_sha": "302c0b7e200761c9dd9b57e57db540ee0b4293a5",
156867+
"commit_url": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5"
156868+
}
156869+
},
156717156870
{
156718156871
"type": "issue_title",
156719156872
"details": {
@@ -163743,7 +163896,7 @@
163743163896
},
163744163897
"workflow-run-status": {
163745163898
"name": "status",
163746-
"description": "Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status can be `in_progress`. Only GitHub can set a status of `waiting` or `requested`.",
163899+
"description": "Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status can be `in_progress`. Only GitHub Actions can set a status of `waiting`, `pending`, or `requested`.",
163747163900
"in": "query",
163748163901
"required": false,
163749163902
"schema": {
@@ -163938,6 +164091,15 @@
163938164091
"required": true,
163939164092
"schema": { "type": "integer" }
163940164093
},
164094+
"git-ref-only": {
164095+
"name": "ref",
164096+
"description": "The Git reference. For more information, see \"[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)\" in the Git documentation.",
164097+
"in": "path",
164098+
"required": true,
164099+
"example": "heads/feature-a",
164100+
"schema": { "type": "string" },
164101+
"x-multi-segment": true
164102+
},
163941164103
"since-user": {
163942164104
"name": "since",
163943164105
"description": "A user ID. Only return users with an ID greater than this ID.",
@@ -164352,6 +164514,14 @@
164352164514
"schema": { "$ref": "#/components/schemas/basic-error" }
164353164515
}
164354164516
}
164517+
},
164518+
"unacceptable": {
164519+
"description": "Unacceptable",
164520+
"content": {
164521+
"application/json": {
164522+
"schema": { "$ref": "#/components/schemas/basic-error" }
164523+
}
164524+
}
164355164525
}
164356164526
},
164357164527
"headers": {

0 commit comments

Comments
 (0)