From 7d56f06928f2a7b2c36924709def8f290795633e Mon Sep 17 00:00:00 2001 From: Octokit Bot Date: Thu, 22 Feb 2024 12:05:53 +0000 Subject: [PATCH 1/3] WIP: schema updates --- cache/api.github.com.json | 12 +++++++++++- cache/ghec.json | 12 +++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/cache/api.github.com.json b/cache/api.github.com.json index c5b2293..6a85c31 100644 --- a/cache/api.github.com.json +++ b/cache/api.github.com.json @@ -24895,11 +24895,21 @@ "description": "The organization policy for allowing or disallowing Copilot to make suggestions that match public code.", "enum": ["allow", "block", "unconfigured", "unknown"] }, - "copilot_chat": { + "ide_chat": { "type": "string", "description": "The organization policy for allowing or disallowing organization members to use Copilot Chat within their editor.", "enum": ["enabled", "disabled", "unconfigured"] }, + "platform_chat": { + "type": "string", + "description": "The organization policy for allowing or disallowing organization members to use Copilot features within github.com.", + "enum": ["enabled", "disabled", "unconfigured"] + }, + "cli": { + "type": "string", + "description": "The organization policy for allowing or disallowing organization members to use Copilot within their CLI.", + "enum": ["enabled", "disabled", "unconfigured"] + }, "seat_management_setting": { "type": "string", "description": "The mode of assigning new seats.", diff --git a/cache/ghec.json b/cache/ghec.json index 810045c..524c1e1 100644 --- a/cache/ghec.json +++ b/cache/ghec.json @@ -25744,11 +25744,21 @@ "description": "The organization policy for allowing or disallowing Copilot to make suggestions that match public code.", "enum": ["allow", "block", "unconfigured", "unknown"] }, - "copilot_chat": { + "ide_chat": { "type": "string", "description": "The organization policy for allowing or disallowing organization members to use Copilot Chat within their editor.", "enum": ["enabled", "disabled", "unconfigured"] }, + "platform_chat": { + "type": "string", + "description": "The organization policy for allowing or disallowing organization members to use Copilot features within github.com.", + "enum": ["enabled", "disabled", "unconfigured"] + }, + "cli": { + "type": "string", + "description": "The organization policy for allowing or disallowing organization members to use Copilot within their CLI.", + "enum": ["enabled", "disabled", "unconfigured"] + }, "seat_management_setting": { "type": "string", "description": "The mode of assigning new seats.", From bf393585c4da068bd538c96efda856bca56de8b1 Mon Sep 17 00:00:00 2001 From: Octokit Bot Date: Tue, 27 Feb 2024 12:05:47 +0000 Subject: [PATCH 2/3] WIP: schema updates --- cache/api.github.com.json | 2 +- cache/ghec.json | 2 +- cache/ghes-3.10.json | 2 +- cache/ghes-3.11.json | 2 +- cache/ghes-3.12.json | 2 +- cache/ghes-3.8.json | 2 +- cache/ghes-3.9.json | 2 +- packages/openapi-webhooks-types-ghec/types.d.ts | 2 +- packages/openapi-webhooks-types-ghes-3.10/types.d.ts | 2 +- packages/openapi-webhooks-types-ghes-3.11/types.d.ts | 2 +- packages/openapi-webhooks-types-ghes-3.12/types.d.ts | 2 +- packages/openapi-webhooks-types-ghes-3.8/types.d.ts | 2 +- packages/openapi-webhooks-types-ghes-3.9/types.d.ts | 2 +- packages/openapi-webhooks-types/types.d.ts | 2 +- packages/openapi-webhooks/generated/api.github.com.json | 2 +- packages/openapi-webhooks/generated/ghec.json | 2 +- packages/openapi-webhooks/generated/ghes-3.10.json | 2 +- packages/openapi-webhooks/generated/ghes-3.11.json | 2 +- packages/openapi-webhooks/generated/ghes-3.12.json | 2 +- packages/openapi-webhooks/generated/ghes-3.8.json | 2 +- packages/openapi-webhooks/generated/ghes-3.9.json | 2 +- 21 files changed, 21 insertions(+), 21 deletions(-) diff --git a/cache/api.github.com.json b/cache/api.github.com.json index 6a85c31..b77ba96 100644 --- a/cache/api.github.com.json +++ b/cache/api.github.com.json @@ -123209,7 +123209,7 @@ "type": "string" }, "commits": { - "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.", + "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.", "type": "array", "items": { "title": "Commit", diff --git a/cache/ghec.json b/cache/ghec.json index 524c1e1..912e420 100644 --- a/cache/ghec.json +++ b/cache/ghec.json @@ -124954,7 +124954,7 @@ "type": "string" }, "commits": { - "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/enterprise-cloud@latest//rest/commits) to fetch additional commits. This limit is applied to timeline events only and isn't applied to webhook deliveries.", + "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/enterprise-cloud@latest//rest/commits) to fetch additional commits.", "type": "array", "items": { "title": "Commit", diff --git a/cache/ghes-3.10.json b/cache/ghes-3.10.json index ad31e95..3f39fc1 100644 --- a/cache/ghes-3.10.json +++ b/cache/ghes-3.10.json @@ -117175,7 +117175,7 @@ "type": "string" }, "commits": { - "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/enterprise-server@3.10/rest/commits) to fetch additional commits. This limit is applied to timeline events only and isn't applied to webhook deliveries.", + "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/enterprise-server@3.10/rest/commits) to fetch additional commits.", "type": "array", "items": { "title": "Commit", diff --git a/cache/ghes-3.11.json b/cache/ghes-3.11.json index 5fe4b85..b09315b 100644 --- a/cache/ghes-3.11.json +++ b/cache/ghes-3.11.json @@ -118701,7 +118701,7 @@ "type": "string" }, "commits": { - "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/enterprise-server@3.11/rest/commits) to fetch additional commits. This limit is applied to timeline events only and isn't applied to webhook deliveries.", + "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/enterprise-server@3.11/rest/commits) to fetch additional commits.", "type": "array", "items": { "title": "Commit", diff --git a/cache/ghes-3.12.json b/cache/ghes-3.12.json index bfb294e..0adb0b0 100644 --- a/cache/ghes-3.12.json +++ b/cache/ghes-3.12.json @@ -119558,7 +119558,7 @@ "type": "string" }, "commits": { - "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/enterprise-server@3.12/rest/commits) to fetch additional commits. This limit is applied to timeline events only and isn't applied to webhook deliveries.", + "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/enterprise-server@3.12/rest/commits) to fetch additional commits.", "type": "array", "items": { "title": "Commit", diff --git a/cache/ghes-3.8.json b/cache/ghes-3.8.json index 701df4b..d08dc4f 100644 --- a/cache/ghes-3.8.json +++ b/cache/ghes-3.8.json @@ -114663,7 +114663,7 @@ "type": "string" }, "commits": { - "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/enterprise-server@3.8/rest/commits) to fetch additional commits. This limit is applied to timeline events only and isn't applied to webhook deliveries.", + "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/enterprise-server@3.8/rest/commits) to fetch additional commits.", "type": "array", "items": { "title": "Commit", diff --git a/cache/ghes-3.9.json b/cache/ghes-3.9.json index 6618a5f..2a69659 100644 --- a/cache/ghes-3.9.json +++ b/cache/ghes-3.9.json @@ -116134,7 +116134,7 @@ "type": "string" }, "commits": { - "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/enterprise-server@3.9/rest/commits) to fetch additional commits. This limit is applied to timeline events only and isn't applied to webhook deliveries.", + "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/enterprise-server@3.9/rest/commits) to fetch additional commits.", "type": "array", "items": { "title": "Commit", diff --git a/packages/openapi-webhooks-types-ghec/types.d.ts b/packages/openapi-webhooks-types-ghec/types.d.ts index 76e6e21..cc9e134 100644 --- a/packages/openapi-webhooks-types-ghec/types.d.ts +++ b/packages/openapi-webhooks-types-ghec/types.d.ts @@ -58251,7 +58251,7 @@ export interface components { base_ref: string | null; /** @description The SHA of the most recent commit on `ref` before the push. */ before: string; - /** @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/enterprise-cloud@latest//rest/commits) to fetch additional commits. This limit is applied to timeline events only and isn't applied to webhook deliveries. */ + /** @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/enterprise-cloud@latest//rest/commits) to fetch additional commits. */ commits: { /** @description An array of files added in the commit. A maximum of 3000 changed files will be reported per commit. */ added?: string[]; diff --git a/packages/openapi-webhooks-types-ghes-3.10/types.d.ts b/packages/openapi-webhooks-types-ghes-3.10/types.d.ts index 013372e..54e42fe 100644 --- a/packages/openapi-webhooks-types-ghes-3.10/types.d.ts +++ b/packages/openapi-webhooks-types-ghes-3.10/types.d.ts @@ -54887,7 +54887,7 @@ export interface components { base_ref: string | null; /** @description The SHA of the most recent commit on `ref` before the push. */ before: string; - /** @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/enterprise-server@3.10/rest/commits) to fetch additional commits. This limit is applied to timeline events only and isn't applied to webhook deliveries. */ + /** @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/enterprise-server@3.10/rest/commits) to fetch additional commits. */ commits: { /** @description An array of files added in the commit. A maximum of 3000 changed files will be reported per commit. */ added?: string[]; diff --git a/packages/openapi-webhooks-types-ghes-3.11/types.d.ts b/packages/openapi-webhooks-types-ghes-3.11/types.d.ts index ecaea16..e5f73b4 100644 --- a/packages/openapi-webhooks-types-ghes-3.11/types.d.ts +++ b/packages/openapi-webhooks-types-ghes-3.11/types.d.ts @@ -54963,7 +54963,7 @@ export interface components { base_ref: string | null; /** @description The SHA of the most recent commit on `ref` before the push. */ before: string; - /** @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/enterprise-server@3.11/rest/commits) to fetch additional commits. This limit is applied to timeline events only and isn't applied to webhook deliveries. */ + /** @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/enterprise-server@3.11/rest/commits) to fetch additional commits. */ commits: { /** @description An array of files added in the commit. A maximum of 3000 changed files will be reported per commit. */ added?: string[]; diff --git a/packages/openapi-webhooks-types-ghes-3.12/types.d.ts b/packages/openapi-webhooks-types-ghes-3.12/types.d.ts index aad09ea..4ad4e44 100644 --- a/packages/openapi-webhooks-types-ghes-3.12/types.d.ts +++ b/packages/openapi-webhooks-types-ghes-3.12/types.d.ts @@ -55021,7 +55021,7 @@ export interface components { base_ref: string | null; /** @description The SHA of the most recent commit on `ref` before the push. */ before: string; - /** @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/enterprise-server@3.12/rest/commits) to fetch additional commits. This limit is applied to timeline events only and isn't applied to webhook deliveries. */ + /** @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/enterprise-server@3.12/rest/commits) to fetch additional commits. */ commits: { /** @description An array of files added in the commit. A maximum of 3000 changed files will be reported per commit. */ added?: string[]; diff --git a/packages/openapi-webhooks-types-ghes-3.8/types.d.ts b/packages/openapi-webhooks-types-ghes-3.8/types.d.ts index c28e970..bc8bf6a 100644 --- a/packages/openapi-webhooks-types-ghes-3.8/types.d.ts +++ b/packages/openapi-webhooks-types-ghes-3.8/types.d.ts @@ -54405,7 +54405,7 @@ export interface components { base_ref: string | null; /** @description The SHA of the most recent commit on `ref` before the push. */ before: string; - /** @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/enterprise-server@3.8/rest/commits) to fetch additional commits. This limit is applied to timeline events only and isn't applied to webhook deliveries. */ + /** @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/enterprise-server@3.8/rest/commits) to fetch additional commits. */ commits: { /** @description An array of files added in the commit. A maximum of 3000 changed files will be reported per commit. */ added?: string[]; diff --git a/packages/openapi-webhooks-types-ghes-3.9/types.d.ts b/packages/openapi-webhooks-types-ghes-3.9/types.d.ts index 7b3dc95..e24f151 100644 --- a/packages/openapi-webhooks-types-ghes-3.9/types.d.ts +++ b/packages/openapi-webhooks-types-ghes-3.9/types.d.ts @@ -54625,7 +54625,7 @@ export interface components { base_ref: string | null; /** @description The SHA of the most recent commit on `ref` before the push. */ before: string; - /** @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/enterprise-server@3.9/rest/commits) to fetch additional commits. This limit is applied to timeline events only and isn't applied to webhook deliveries. */ + /** @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/enterprise-server@3.9/rest/commits) to fetch additional commits. */ commits: { /** @description An array of files added in the commit. A maximum of 3000 changed files will be reported per commit. */ added?: string[]; diff --git a/packages/openapi-webhooks-types/types.d.ts b/packages/openapi-webhooks-types/types.d.ts index f3aea67..403435c 100644 --- a/packages/openapi-webhooks-types/types.d.ts +++ b/packages/openapi-webhooks-types/types.d.ts @@ -58061,7 +58061,7 @@ export interface components { base_ref: string | null; /** @description The SHA of the most recent commit on `ref` before the push. */ before: string; - /** @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. */ + /** @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. */ commits: { /** @description An array of files added in the commit. A maximum of 3000 changed files will be reported per commit. */ added?: string[]; diff --git a/packages/openapi-webhooks/generated/api.github.com.json b/packages/openapi-webhooks/generated/api.github.com.json index 1df826d..6824a3a 100644 --- a/packages/openapi-webhooks/generated/api.github.com.json +++ b/packages/openapi-webhooks/generated/api.github.com.json @@ -105778,7 +105778,7 @@ "type": "string" }, "commits": { - "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.", + "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.", "type": "array", "items": { "title": "Commit", diff --git a/packages/openapi-webhooks/generated/ghec.json b/packages/openapi-webhooks/generated/ghec.json index 5a75d00..749c220 100644 --- a/packages/openapi-webhooks/generated/ghec.json +++ b/packages/openapi-webhooks/generated/ghec.json @@ -106015,7 +106015,7 @@ "type": "string" }, "commits": { - "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/enterprise-cloud@latest//rest/commits) to fetch additional commits. This limit is applied to timeline events only and isn't applied to webhook deliveries.", + "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/enterprise-cloud@latest//rest/commits) to fetch additional commits.", "type": "array", "items": { "title": "Commit", diff --git a/packages/openapi-webhooks/generated/ghes-3.10.json b/packages/openapi-webhooks/generated/ghes-3.10.json index 4e339a0..7e9cb4f 100644 --- a/packages/openapi-webhooks/generated/ghes-3.10.json +++ b/packages/openapi-webhooks/generated/ghes-3.10.json @@ -102453,7 +102453,7 @@ "type": "string" }, "commits": { - "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/enterprise-server@3.10/rest/commits) to fetch additional commits. This limit is applied to timeline events only and isn't applied to webhook deliveries.", + "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/enterprise-server@3.10/rest/commits) to fetch additional commits.", "type": "array", "items": { "title": "Commit", diff --git a/packages/openapi-webhooks/generated/ghes-3.11.json b/packages/openapi-webhooks/generated/ghes-3.11.json index ee07354..e9170d1 100644 --- a/packages/openapi-webhooks/generated/ghes-3.11.json +++ b/packages/openapi-webhooks/generated/ghes-3.11.json @@ -102898,7 +102898,7 @@ "type": "string" }, "commits": { - "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/enterprise-server@3.11/rest/commits) to fetch additional commits. This limit is applied to timeline events only and isn't applied to webhook deliveries.", + "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/enterprise-server@3.11/rest/commits) to fetch additional commits.", "type": "array", "items": { "title": "Commit", diff --git a/packages/openapi-webhooks/generated/ghes-3.12.json b/packages/openapi-webhooks/generated/ghes-3.12.json index dab81c4..de0cc2a 100644 --- a/packages/openapi-webhooks/generated/ghes-3.12.json +++ b/packages/openapi-webhooks/generated/ghes-3.12.json @@ -103136,7 +103136,7 @@ "type": "string" }, "commits": { - "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/enterprise-server@3.12/rest/commits) to fetch additional commits. This limit is applied to timeline events only and isn't applied to webhook deliveries.", + "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/enterprise-server@3.12/rest/commits) to fetch additional commits.", "type": "array", "items": { "title": "Commit", diff --git a/packages/openapi-webhooks/generated/ghes-3.8.json b/packages/openapi-webhooks/generated/ghes-3.8.json index cd12cf1..7160a84 100644 --- a/packages/openapi-webhooks/generated/ghes-3.8.json +++ b/packages/openapi-webhooks/generated/ghes-3.8.json @@ -100699,7 +100699,7 @@ "type": "string" }, "commits": { - "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/enterprise-server@3.8/rest/commits) to fetch additional commits. This limit is applied to timeline events only and isn't applied to webhook deliveries.", + "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/enterprise-server@3.8/rest/commits) to fetch additional commits.", "type": "array", "items": { "title": "Commit", diff --git a/packages/openapi-webhooks/generated/ghes-3.9.json b/packages/openapi-webhooks/generated/ghes-3.9.json index 041cfce..0ff8e27 100644 --- a/packages/openapi-webhooks/generated/ghes-3.9.json +++ b/packages/openapi-webhooks/generated/ghes-3.9.json @@ -101624,7 +101624,7 @@ "type": "string" }, "commits": { - "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/enterprise-server@3.9/rest/commits) to fetch additional commits. This limit is applied to timeline events only and isn't applied to webhook deliveries.", + "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/enterprise-server@3.9/rest/commits) to fetch additional commits.", "type": "array", "items": { "title": "Commit", From 051f03865f8b5b25ce27e971e6934933b4fbe343 Mon Sep 17 00:00:00 2001 From: Octokit Bot Date: Thu, 29 Feb 2024 12:06:26 +0000 Subject: [PATCH 3/3] WIP: schema updates --- cache/ghec.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/cache/ghec.json b/cache/ghec.json index 912e420..6599c51 100644 --- a/cache/ghec.json +++ b/cache/ghec.json @@ -167072,14 +167072,6 @@ } } }, - "code_scanning_forbidden_read": { - "description": "Response if GitHub Advanced Security is not enabled for this repository", - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/basic-error" } - } - } - }, "forbidden_gist": { "description": "Forbidden Gist", "content": { @@ -167146,6 +167138,14 @@ } } }, + "code_scanning_forbidden_read": { + "description": "Response if GitHub Advanced Security is not enabled for this repository", + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/basic-error" } + } + } + }, "code_scanning_forbidden_write": { "description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository", "content": {