diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.json b/descriptions-next/api.github.com/api.github.com.2022-11-28.json index 0c01d0e879..0237bef279 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.json @@ -38263,6 +38263,9 @@ "409": { "$ref": "#/components/responses/code_scanning_conflict" }, + "422": { + "$ref": "#/components/responses/code_scanning_invalid_state" + }, "503": { "$ref": "#/components/responses/service_unavailable" } @@ -311974,6 +311977,16 @@ } } }, + "code_scanning_invalid_state": { + "description": "Response if the configuration change cannot be made because the repository is not in the required state", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, "dependency_review_forbidden": { "description": "Response for a private repository when GitHub Advanced Security is not enabled, or if used against a fork", "content": { diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml index aea5cfa304..e9592468d8 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml @@ -27800,6 +27800,8 @@ paths: "$ref": "#/components/responses/not_found" '409': "$ref": "#/components/responses/code_scanning_conflict" + '422': + "$ref": "#/components/responses/code_scanning_invalid_state" '503': "$ref": "#/components/responses/service_unavailable" x-github: @@ -233669,6 +233671,13 @@ components: application/json: schema: "$ref": "#/components/schemas/basic-error" + code_scanning_invalid_state: + description: Response if the configuration change cannot be made because the + repository is not in the required state + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" dependency_review_forbidden: description: Response for a private repository when GitHub Advanced Security is not enabled, or if used against a fork diff --git a/descriptions-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index 0c01d0e879..0237bef279 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -38263,6 +38263,9 @@ "409": { "$ref": "#/components/responses/code_scanning_conflict" }, + "422": { + "$ref": "#/components/responses/code_scanning_invalid_state" + }, "503": { "$ref": "#/components/responses/service_unavailable" } @@ -311974,6 +311977,16 @@ } } }, + "code_scanning_invalid_state": { + "description": "Response if the configuration change cannot be made because the repository is not in the required state", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, "dependency_review_forbidden": { "description": "Response for a private repository when GitHub Advanced Security is not enabled, or if used against a fork", "content": { diff --git a/descriptions-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index aea5cfa304..e9592468d8 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -27800,6 +27800,8 @@ paths: "$ref": "#/components/{"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}