summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgithub-openapi-bot <security+github-openapi-bot@github.com>2020-10-14 03:23:02 -0700
committergithub-openapi-bot <security+github-openapi-bot@github.com>2020-10-14 03:23:02 -0700
commit0ac1adbc756ad73d879d3536215608122b732e4d (patch)
treea2690050e77214d1f70b15edccd24e1a42b1ed00
parentc43cf3082e7f6f5fef5f984213000cb7093fee69 (diff)
downloadrest-api-description-0ac1adbc756ad73d879d3536215608122b732e4d.tar.gz
rest-api-description-0ac1adbc756ad73d879d3536215608122b732e4d.zip
fix: Update the OpenAPI description to the latest version
-rw-r--r--descriptions/api.github.com/api.github.com.json14
-rw-r--r--descriptions/api.github.com/api.github.com.yaml14
-rw-r--r--descriptions/api.github.com/dereferenced/api.github.com.deref.json14
-rw-r--r--descriptions/api.github.com/dereferenced/api.github.com.deref.yaml14
-rw-r--r--descriptions/ghes-2.18/dereferenced/ghes-2.18.deref.json4
-rw-r--r--descriptions/ghes-2.18/dereferenced/ghes-2.18.deref.yaml4
-rw-r--r--descriptions/ghes-2.18/ghes-2.18.json4
-rw-r--r--descriptions/ghes-2.18/ghes-2.18.yaml4
-rw-r--r--descriptions/ghes-2.19/dereferenced/ghes-2.19.deref.json4
-rw-r--r--descriptions/ghes-2.19/dereferenced/ghes-2.19.deref.yaml4
-rw-r--r--descriptions/ghes-2.19/ghes-2.19.json4
-rw-r--r--descriptions/ghes-2.19/ghes-2.19.yaml4
-rw-r--r--descriptions/ghes-2.20/dereferenced/ghes-2.20.deref.json4
-rw-r--r--descriptions/ghes-2.20/dereferenced/ghes-2.20.deref.yaml4
-rw-r--r--descriptions/ghes-2.20/ghes-2.20.json4
-rw-r--r--descriptions/ghes-2.20/ghes-2.20.yaml4
-rw-r--r--descriptions/ghes-2.21/dereferenced/ghes-2.21.deref.json4
-rw-r--r--descriptions/ghes-2.21/dereferenced/ghes-2.21.deref.yaml4
-rw-r--r--descriptions/ghes-2.21/ghes-2.21.json4
-rw-r--r--descriptions/ghes-2.21/ghes-2.21.yaml4
-rw-r--r--descriptions/ghes-2.22/dereferenced/ghes-2.22.deref.json14
-rw-r--r--descriptions/ghes-2.22/dereferenced/ghes-2.22.deref.yaml14
-rw-r--r--descriptions/ghes-2.22/ghes-2.22.json14
-rw-r--r--descriptions/ghes-2.22/ghes-2.22.yaml14
24 files changed, 120 insertions, 56 deletions
diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json
index ab8bc5880..8a18279ed 100644
--- a/descriptions/api.github.com/api.github.com.json
+++ b/descriptions/api.github.com/api.github.com.json
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
- "version": "1.1.0",
+ "version": "1.1.1",
"title": "GitHub v3 REST API",
"description": "GitHub's v3 REST API.",
"license": {
@@ -21107,7 +21107,7 @@
"/repos/{owner}/{repo}/check-runs": {
"post": {
"summary": "Create a check run",
- "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.",
+ "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.",
"tags": [
"checks"
],
@@ -22197,7 +22197,7 @@
}
},
"404": {
- "description": "Response if the ref doesn't match an existing ref"
+ "description": "Response if the ref does not match an existing ref"
},
"503": {
"$ref": "#/components/responses/service_unavailable"
@@ -22337,8 +22337,11 @@
}
}
},
+ "403": {
+ "description": "Response if the repository is archived"
+ },
"503": {
- "description": "When code scanning isn't available you can try again at a later time"
+ "description": "Response when code scanning is not available and you should try again at a later time"
}
},
"x-github": {
@@ -22489,6 +22492,9 @@
"202": {
"description": "response"
},
+ "403": {
+ "description": "Response if the repository is archived"
+ },
"404": {
"description": "Response if `commit_sha` or `ref` cannot be found"
}
diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml
index 59504fc2b..75ea4ae17 100644
--- a/descriptions/api.github.com/api.github.com.yaml
+++ b/descriptions/api.github.com/api.github.com.yaml
@@ -1,7 +1,7 @@
---
openapi: 3.0.3
info:
- version: 1.1.0
+ version: 1.1.1
title: GitHub v3 REST API
description: GitHub's v3 REST API.
license:
@@ -15130,6 +15130,8 @@ paths:
**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
Creates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.
+
+ In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.
tags:
- checks
operationId: checks/create
@@ -15993,7 +15995,7 @@ paths:
default:
"$ref": "#/components/examples/code-scanning-alert-code-scanning-alert-items"
'404':
- description: Response if the ref doesn't match an existing ref
+ description: Response if the ref does not match an existing ref
'503':
"$ref": "#/components/responses/service_unavailable"
x-github:
@@ -16083,9 +16085,11 @@ paths:
examples:
default:
"$ref": "#/components/examples/code-scanning-alert-code-scanning-alert-dismissed"
+ '403':
+ description: Response if the repository is archived
'503':
- description: When code scanning isn't available you can try again at a later
- time
+ description: Response when code scanning is not available and you should
+ try again at a later time
x-github:
enabledForApps: true
githubCloudOnly: false
@@ -16193,6 +16197,8 @@ paths:
responses:
'202':
description: response
+ '403':
+ description: Response if the repository is archived
'404':
description: Response if `commit_sha` or `ref` cannot be found
x-github:
diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json
index 6acc739b1..f62d447bb 100644
--- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json
+++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
- "version": "1.1.0",
+ "version": "1.1.1",
"title": "GitHub v3 REST API",
"description": "GitHub's v3 REST API.",
"license": {
@@ -116148,7 +116148,7 @@
"/repos/{owner}/{repo}/check-runs": {
"post": {
"summary": "Create a check run",
- "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.",
+ "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.",
"tags": [
"checks"
],
@@ -123639,7 +123639,7 @@
}
},
"404": {
- "description": "Response if the ref doesn't match an existing ref"
+ "description": "Response if the ref does not match an existing ref"
},
"503": {
"description": "Service Unavailable",
@@ -124500,8 +124500,11 @@
}
}
},
+ "403": {
+ "description": "Response if the repository is archived"
+ },
"503": {
- "description": "When code scanning isn't available you can try again at a later time"
+ "description": "Response when code scanning is not available and you should try again at a later time"
}
},
"x-github": {
@@ -124736,6 +124739,9 @@
"202": {
"description": "response"
},
+ "403": {
+ "description": "Response if the repository is archived"
+ },
"404": {
"description": "Response if `commit_sha` or `ref` cannot be found"
}
diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml
index b9753c735..865cb715c 100644
--- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml
+++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml
@@ -1,7 +1,7 @@
---
openapi: 3.0.3
info:
- version: 1.1.0
+ version: 1.1.1
title: GitHub v3 REST API
description: GitHub's v3 REST API.
license:
@@ -88850,6 +88850,8 @@ paths:
**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
Creates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.
+
+ In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.
tags:
- checks
operationId: checks/create
@@ -94780,7 +94782,7 @@ paths:
name: CodeQL command-line toolchain
version:
'404':
- description: Response if the ref doesn't match an existing ref
+ description: Response if the ref does not match an existing ref
'503':
description: Service Unavailable
content:
@@ -95444,9 +95446,11 @@ paths:
tool:
name: CodeQL command-line toolchain
version:
+ '403':
+ description: Response if the repository is archived
'503':
- description: When code scanning isn't available you can try again at a later
- time
+ description: Response when code scanning is not available and you should
+ try again at a later time
x-github:
enabledForApps: true
githubCloudOnly: false
@@ -95634,6 +95638,8 @@ paths:
responses:
'202':
description: response
+ '403':
+ description: Response if the repository is archived
'404':
description: Response if `commit_sha` or `ref` cannot be found
x-github:
diff --git a/descriptions/ghes-2.18/dereferenced/ghes-2.18.deref.json b/descriptions/ghes-2.18/dereferenced/ghes-2.18.deref.json
index da5eeee58..d316566f9 100644
--- a/descriptions/ghes-2.18/dereferenced/ghes-2.18.deref.json
+++ b/descriptions/ghes-2.18/dereferenced/ghes-2.18.deref.json
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
- "version": "1.1.0",
+ "version": "1.1.1",
"title": "GitHub v3 REST API",
"description": "GitHub's v3 REST API.",
"license": {
@@ -74516,7 +74516,7 @@
"/repos/{owner}/{repo}/check-runs": {
"post": {
"summary": "Create a check run",
- "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.",
+ "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.",
"tags": [
"checks"
],
diff --git a/descriptions/ghes-2.18/dereferenced/ghes-2.18.deref.yaml b/descriptions/ghes-2.18/dereferenced/ghes-2.18.deref.yaml
index 8467c461d..1c93f9b48 100644
--- a/descriptions/ghes-2.18/dereferenced/ghes-2.18.deref.yaml
+++ b/descriptions/ghes-2.18/dereferenced/ghes-2.18.deref.yaml
@@ -1,7 +1,7 @@
---
openapi: 3.0.3
info:
- version: 1.1.0
+ version: 1.1.1
title: GitHub v3 REST API
description: GitHub's v3 REST API.
license:
@@ -56631,6 +56631,8 @@ paths:
**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
Creates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.
+
+ In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.
tags:
- checks
operationId: checks/create
diff --git a/descriptions/ghes-2.18/ghes-2.18.json b/descriptions/ghes-2.18/ghes-2.18.json
index e3f9ff897..12e1b76de 100644
--- a/descriptions/ghes-2.18/ghes-2.18.json
+++ b/descriptions/ghes-2.18/ghes-2.18.json
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
- "version": "1.1.0",
+ "version": "1.1.1",
"title": "GitHub v3 REST API",
"description": "GitHub's v3 REST API.",
"license": {
@@ -13536,7 +13536,7 @@
"/repos/{owner}/{repo}/check-runs": {
"post": {
"summary": "Create a check run",
- "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.",
+ "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.",
"tags": [
"checks"
],
diff --git a/descriptions/ghes-2.18/ghes-2.18.yaml b/descriptions/ghes-2.18/ghes-2.18.yaml
index 6972d848b..00d015b08 100644
--- a/descriptions/ghes-2.18/ghes-2.18.yaml
+++ b/descriptions/ghes-2.18/ghes-2.18.yaml
@@ -1,7 +1,7 @@
---
openapi: 3.0.3
info:
- version: 1.1.0
+ version: 1.1.1
title: GitHub v3 REST API
description: GitHub's v3 REST API.
license:
@@ -9747,6 +9747,8 @@ paths:
**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
Creates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.
+
+ In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.
tags:
- checks
operationId: checks/create
diff --git a/descriptions/ghes-2.19/dereferenced/ghes-2.19.deref.json b/descriptions/ghes-2.19/dereferenced/ghes-2.19.deref.json
index 8dbca6f9f..4eee982fb 100644
--- a/descriptions/ghes-2.19/dereferenced/ghes-2.19.deref.json
+++ b/descriptions/ghes-2.19/dereferenced/ghes-2.19.deref.json
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
- "version": "1.1.0",
+ "version": "1.1.1",
"title": "GitHub v3 REST API",
"description": "GitHub's v3 REST API.",
"license": {
@@ -77401,7 +77401,7 @@
"/repos/{owner}/{repo}/check-runs": {
"post": {
"summary": "Create a check run",
- "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.",
+ "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.",
"tags": [
"checks"
],
diff --git a/descriptions/ghes-2.19/dereferenced/ghes-2.19.deref.yaml b/descriptions/ghes-2.19/dereferenced/ghes-2.19.deref.yaml
index b8b7552c3..bd48108e0 100644
--- a/descriptions/ghes-2.19/dereferenced/ghes-2.19.deref.yaml
+++ b/descriptions/ghes-2.19/dereferenced/ghes-2.19.deref.yaml
@@ -1,7 +1,7 @@
---
openapi: 3.0.3
info:
- version: 1.1.0
+ version: 1.1.1
title: GitHub v3 REST API
description: GitHub's v3 REST API.
license:
@@ -58803,6 +58803,8 @@ paths:
**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
Creates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.
+
+ In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.
tags:
- checks
operationId: checks/create
diff --git a/descriptions/ghes-2.19/ghes-2.19.json b/descriptions/ghes-2.19/ghes-2.19.json
index 77154417f..b5d98669d 100644
--- a/descriptions/ghes-2.19/ghes-2.19.json
+++ b/descriptions/ghes-2.19/ghes-2.19.json
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
- "version": "1.1.0",
+ "version": "1.1.1",
"title": "GitHub v3 REST API",
"description": "GitHub's v3 REST API.",
"license": {
@@ -13873,7 +13873,7 @@
"/repos/{owner}/{repo}/check-runs": {
"post": {
"summary": "Create a check run",
- "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.",
+ "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.",
"tags": [
"checks"
],
diff --git a/descriptions/ghes-2.19/ghes-2.19.yaml b/descriptions/ghes-2.19/ghes-2.19.yaml
index 1c59d4263..9d2681ec6 100644
--- a/descriptions/ghes-2.19/ghes-2.19.yaml
+++ b/descriptions/ghes-2.19/ghes-2.19.yaml
@@ -1,7 +1,7 @@
---
openapi: 3.0.3
info:
- version: 1.1.0
+ version: 1.1.1
title: GitHub v3 REST API
description: GitHub's v3 REST API.
license:
@@ -9976,6 +9976,8 @@ paths:
**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
Creates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.
+
+ In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.
tags:
- checks
operationId: checks/create
diff --git a/descriptions/ghes-2.20/dereferenced/ghes-2.20.deref.json b/descriptions/ghes-2.20/dereferenced/ghes-2.20.deref.json
index 6a74761c4..7b99dcdb1 100644
--- a/descriptions/ghes-2.20/dereferenced/ghes-2.20.deref.json
+++ b/descriptions/ghes-2.20/dereferenced/ghes-2.20.deref.json
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
- "version": "1.1.0",
+ "version": "1.1.1",
"title": "GitHub v3 REST API",
"description": "GitHub's v3 REST API.",
"license": {
@@ -78496,7 +78496,7 @@
"/repos/{owner}/{repo}/check-runs": {
"post": {
"summary": "Create a check run",
- "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.",
+ "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.",
"tags": [
"checks"
],
diff --git a/descriptions/ghes-2.20/dereferenced/ghes-2.20.deref.yaml b/descriptions/ghes-2.20/dereferenced/ghes-2.20.deref.yaml
index be6b5e400..acae89b90 100644
--- a/descriptions/ghes-2.20/dereferenced/ghes-2.20.deref.yaml
+++ b/descriptions/ghes-2.20/dereferenced/ghes-2.20.deref.yaml
@@ -1,7 +1,7 @@
---
openapi: 3.0.3
info:
- version: 1.1.0
+ version: 1.1.1
title: GitHub v3 REST API
description: GitHub's v3 REST API.
license:
@@ -59776,6 +59776,8 @@ paths:
**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
Creates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.
+
+ In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.
tags:
- checks
operationId: checks/create
diff --git a/descriptions/ghes-2.20/ghes-2.20.json b/descriptions/ghes-2.20/ghes-2.20.json
index d4331a04b..18111e117 100644
--- a/descriptions/ghes-2.20/ghes-2.20.json
+++ b/descriptions/ghes-2.20/ghes-2.20.json
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
- "version": "1.1.0",
+ "version": "1.1.1",
"title": "GitHub v3 REST API",
"description": "GitHub's v3 REST API.",
"license": {
@@ -14159,7 +14159,7 @@
"/repos/{owner}/{repo}/check-runs": {
"post": {
"summary": "Create a check run",
- "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.",
+ "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.",
"tags": [
"checks"
],
diff --git a/descriptions/ghes-2.20/ghes-2.20.yaml b/descriptions/ghes-2.20/ghes-2.20.yaml
index 00be6d716..a054eaad1 100644
--- a/descriptions/ghes-2.20/ghes-2.20.yaml
+++ b/descriptions/ghes-2.20/ghes-2.20.yaml
@@ -1,7 +1,7 @@
---
openapi: 3.0.3
info:
- version: 1.1.0
+ version: 1.1.1
title: GitHub v3 REST API
description: GitHub's v3 REST API.
license:
@@ -10175,6 +10175,8 @@ paths:
**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
Creates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.
+
+ In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.
tags:
- checks
operationId: checks/create
diff --git a/descriptions/ghes-2.21/dereferenced/ghes-2.21.deref.json b/descriptions/ghes-2.21/dereferenced/ghes-2.21.deref.json
index 48e70f3fa..cf8e74d62 100644
--- a/descriptions/ghes-2.21/dereferenced/ghes-2.21.deref.json
+++ b/descriptions/ghes-2.21/dereferenced/ghes-2.21.deref.json
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
- "version": "1.1.0",
+ "version": "1.1.1",
"title": "GitHub v3 REST API",
"description": "GitHub's v3 REST API.",
"license": {
@@ -87515,7 +87515,7 @@
"/repos/{owner}/{repo}/check-runs": {
"post": {
"summary": "Create a check run",
- "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.",
+ "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.",
"tags": [
"checks"
],
diff --git a/descriptions/ghes-2.21/dereferenced/ghes-2.21.deref.yaml b/descriptions/ghes-2.21/dereferenced/ghes-2.21.deref.yaml
index 32d8e9986..66be3efa2 100644
--- a/descriptions/ghes-2.21/dereferenced/ghes-2.21.deref.yaml
+++ b/descriptions/ghes-2.21/dereferenced/ghes-2.21.deref.yaml
@@ -1,7 +1,7 @@
---
openapi: 3.0.3
info:
- version: 1.1.0
+ version: 1.1.1
title: GitHub v3 REST API
description: GitHub's v3 REST API.
license:
@@ -66933,6 +66933,8 @@ paths:
**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
Creates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.
+
+ In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.
tags:
- checks
operationId: checks/create
diff --git a/descriptions/ghes-2.21/ghes-2.21.json b/descriptions/ghes-2.21/ghes-2.21.json
index 03feba4c6..aada6b4ab 100644
--- a/descriptions/ghes-2.21/ghes-2.21.json
+++ b/descriptions/ghes-2.21/ghes-2.21.json
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
- "version": "1.1.0",
+ "version": "1.1.1",
"title": "GitHub v3 REST API",
"description": "GitHub's v3 REST API.",
"license": {
@@ -16211,7 +16211,7 @@
"/repos/{owner}/{repo}/check-runs": {
"post": {
"summary": "Create a check run",
- "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.",
+ "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.",
"tags": [
"checks"
],
diff --git a/descriptions/ghes-2.21/ghes-2.21.yaml b/descriptions/ghes-2.21/ghes-2.21.yaml
index a01602766..041801f9d 100644
--- a/descriptions/ghes-2.21/ghes-2.21.yaml
+++ b/descriptions/ghes-2.21/ghes-2.21.yaml
@@ -1,7 +1,7 @@
---
openapi: 3.0.3
info:
- version: 1.1.0
+ version: 1.1.1
title: GitHub v3 REST API
description: GitHub's v3 REST API.
license:
@@ -11699,6 +11699,8 @@ paths:
**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
Creates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.
+
+ In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.
tags:
- checks
operationId: checks/create
diff --git a/descriptions/ghes-2.22/dereferenced/ghes-2.22.deref.json b/descriptions/ghes-2.22/dereferenced/ghes-2.22.deref.json
index 55f72b34f..6f0fba642 100644
--- a/descriptions/ghes-2.22/dereferenced/ghes-2.22.deref.json
+++ b/descriptions/ghes-2.22/dereferenced/ghes-2.22.deref.json
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
- "version": "1.1.0",
+ "version": "1.1.1",
"title": "GitHub v3 REST API",
"description": "GitHub's v3 REST API.",
"license": {
@@ -107193,7 +107193,7 @@
"/repos/{owner}/{repo}/check-runs": {
"post": {
"summary": "Create a check run",
- "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.",
+ "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.",
"tags": [
"checks"
],
@@ -114720,7 +114720,7 @@
}
},
"404": {
- "description": "Response if the ref doesn't match an existing ref"
+ "description": "Response if the ref does not match an existing ref"
},
"503": {
"description": "Service Unavailable",
@@ -115581,8 +115581,11 @@
}
}
},
+ "403": {
+ "description": "Response if the repository is archived"
+ },
"503": {
- "description": "When code scanning isn't available you can try again at a later time"
+ "description": "Response when code scanning is not available and you should try again at a later time"
}
},
"x-github": {
@@ -115817,6 +115820,9 @@
"202": {
"description": "response"
},
+ "403": {
+ "description": "Response if the repository is archived"
+ },
"404": {
"description": "Response if `commit_sha` or `ref` cannot be found"
}
diff --git a/descriptions/ghes-2.22/dereferenced/ghes-2.22.deref.yaml b/descriptions/ghes-2.22/dereferenced/ghes-2.22.deref.yaml
index 5ac3330ce..8ff4f8e89 100644
--- a/descriptions/ghes-2.22/dereferenced/ghes-2.22.deref.yaml
+++ b/descriptions/ghes-2.22/dereferenced/ghes-2.22.deref.yaml
@@ -1,7 +1,7 @@
---
openapi: 3.0.3
info:
- version: 1.1.0
+ version: 1.1.1
title: GitHub v3 REST API
description: GitHub's v3 REST API.
license:
@@ -81934,6 +81934,8 @@ paths:
**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
Creates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.
+
+ In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.
tags:
- checks
operationId: checks/create
@@ -87927,7 +87929,7 @@ paths:
name: CodeQL command-line toolchain
version:
'404':
- description: Response if the ref doesn't match an existing ref
+ description: Response if the ref does not match an existing ref
'503':
description: Service Unavailable
content:
@@ -88591,9 +88593,11 @@ paths:
tool:
name: CodeQL command-line toolchain
version:
+ '403':
+ description: Response if the repository is archived
'503':
- description: When code scanning isn't available you can try again at a later
- time
+ description: Response when code scanning is not available and you should
+ try again at a later time
x-github:
enabledForApps: true
githubCloudOnly: false
@@ -88781,6 +88785,8 @@ paths:
responses:
'202':
description: response
+ '403':
+ description: Response if the repository is archived
'404':
description: Response if `commit_sha` or `ref` cannot be found
x-github:
diff --git a/descriptions/ghes-2.22/ghes-2.22.json b/descriptions/ghes-2.22/ghes-2.22.json
index 267a57bc8..53775249c 100644
--- a/descriptions/ghes-2.22/ghes-2.22.json
+++ b/descriptions/ghes-2.22/ghes-2.22.json
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
- "version": "1.1.0",
+ "version": "1.1.1",
"title": "GitHub v3 REST API",
"description": "GitHub's v3 REST API.",
"license": {
@@ -20286,7 +20286,7 @@
"/repos/{owner}/{repo}/check-runs": {
"post": {
"summary": "Create a check run",
- "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.",
+ "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.",
"tags": [
"checks"
],
@@ -21412,7 +21412,7 @@
}
},
"404": {
- "description": "Response if the ref doesn't match an existing ref"
+ "description": "Response if the ref does not match an existing ref"
},
"503": {
"$ref": "#/components/responses/service_unavailable"
@@ -21552,8 +21552,11 @@
}
}
},
+ "403": {
+ "description": "Response if the repository is archived"
+ },
"503": {
- "description": "When code scanning isn't available you can try again at a later time"
+ "description": "Response when code scanning is not available and you should try again at a later time"
}
},
"x-github": {
@@ -21704,6 +21707,9 @@
"202": {
"description": "response"
},
+ "403": {
+ "description": "Response if the repository is archived"
+ },
"404": {
"description": "Response if `commit_sha` or `ref` cannot be found"
}
diff --git a/descriptions/ghes-2.22/ghes-2.22.yaml b/descriptions/ghes-2.22/ghes-2.22.yaml
index b7cf11e89..61ee4fcab 100644
--- a/descriptions/ghes-2.22/ghes-2.22.yaml
+++ b/descriptions/ghes-2.22/ghes-2.22.yaml
@@ -1,7 +1,7 @@
---
openapi: 3.0.3
info:
- version: 1.1.0
+ version: 1.1.1
title: GitHub v3 REST API
description: GitHub's v3 REST API.
license:
@@ -14596,6 +14596,8 @@ paths:
**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
Creates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.
+
+ In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.
tags:
- checks
operationId: checks/create
@@ -15522,7 +15524,7 @@ paths:
default:
"$ref": "#/components/examples/code-scanning-alert-code-scanning-alert-items"
'404':
- description: Response if the ref doesn't match an existing ref
+ description: Response if the ref does not match an existing ref
'503':
"$ref": "#/components/responses/service_unavailable"
x-github:
@@ -15612,9 +15614,11 @@ paths:
examples:
default:
"$ref": "#/components/examples/code-scanning-alert-code-scanning-alert-dismissed"
+ '403':
+ description: Response if the repository is archived
'503':
- description: When code scanning isn't available you can try again at a later
- time
+ description: Response when code scanning is not available and you should
+ try again at a later time
x-github:
enabledForApps: true
githubCloudOnly: false
@@ -15722,6 +15726,8 @@ paths:
responses:
'202':
description: response
+ '403':
+ description: Response if the repository is archived
'404':
description: Response if `commit_sha` or `ref` cannot be found
x-github: