Skip to content

Commit 2a53e90

Browse files
authored
fix: description updates, remove GHES 3.12 (#118)
BREAKING CHANGE: drop GHES 3.12
1 parent 4cecc87 commit 2a53e90

File tree

23 files changed

+706
-252864
lines changed

23 files changed

+706
-252864
lines changed

cache/api.github.com.json

Lines changed: 361 additions & 155 deletions
Large diffs are not rendered by default.

cache/ghec.json

Lines changed: 241 additions & 24 deletions
Large diffs are not rendered by default.

cache/ghes-3.12.json

Lines changed: 0 additions & 146446 deletions
This file was deleted.

cache/ghes-3.13.json

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -29301,7 +29301,7 @@
2930129301
"$ref": "#/components/schemas/repository-rule-params-reviewer"
2930229302
}
2930329303
},
29304-
"required": ["file_patterns", "minimum_approvals"]
29304+
"required": ["file_patterns", "minimum_approvals", "reviewer"]
2930529305
},
2930629306
"repository-rule-pull-request": {
2930729307
"title": "pull_request",
@@ -29315,7 +29315,7 @@
2931529315
"properties": {
2931629316
"automatic_copilot_code_review_enabled": {
2931729317
"type": "boolean",
29318-
"description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review."
29318+
"description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review."
2931929319
},
2932029320
"dismiss_stale_reviews_on_push": {
2932129321
"type": "boolean",
@@ -34930,6 +34930,7 @@
3493034930
]
3493134931
}
3493234932
},
34933+
"encoding": { "type": "string" },
3493334934
"_links": {
3493434935
"type": "object",
3493534936
"properties": {
@@ -36411,6 +36412,7 @@
3641136412
"type": "array",
3641236413
"items": {
3641336414
"type": "object",
36415+
"required": ["path", "mode", "type", "sha"],
3641436416
"properties": {
3641536417
"path": { "type": "string", "examples": ["test/file.rb"] },
3641636418
"mode": { "type": "string", "examples": ["040000"] },
@@ -36435,21 +36437,12 @@
3643536437
"type": "blob",
3643636438
"size": 30,
3643736439
"sha": "44b4fc6d56897b048c772eb4087f854f46256132",
36438-
"url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132",
36439-
"properties": {
36440-
"path": { "type": "string" },
36441-
"mode": { "type": "string" },
36442-
"type": { "type": "string" },
36443-
"size": { "type": "integer" },
36444-
"sha": { "type": "string" },
36445-
"url": { "type": "string" }
36446-
},
36447-
"required": ["path", "mode", "type", "sha", "url", "size"]
36440+
"url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132"
3644836441
}
3644936442
]
3645036443
}
3645136444
},
36452-
"required": ["sha", "url", "tree", "truncated"]
36445+
"required": ["sha", "tree", "truncated"]
3645336446
},
3645436447
"hook-response": {
3645536448
"title": "Hook Response",
@@ -145669,6 +145662,16 @@
145669145662
"required": false,
145670145663
"schema": { "type": "string" }
145671145664
},
145665+
"advanced-security-product": {
145666+
"name": "advanced_security_product",
145667+
"in": "query",
145668+
"description": "The security feature to get GitHub Advanced Security active committers for.",
145669+
"required": false,
145670+
"schema": {
145671+
"type": "string",
145672+
"enum": ["code_security", "secret_protection"]
145673+
}
145674+
},
145672145675
"enterprise-security-product": {
145673145676
"name": "security_product",
145674145677
"in": "path",

cache/ghes-3.14.json

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30039,7 +30039,7 @@
3003930039
"$ref": "#/components/schemas/repository-rule-params-reviewer"
3004030040
}
3004130041
},
30042-
"required": ["file_patterns", "minimum_approvals"]
30042+
"required": ["file_patterns", "minimum_approvals", "reviewer"]
3004330043
},
3004430044
"repository-rule-pull-request": {
3004530045
"title": "pull_request",
@@ -30053,7 +30053,7 @@
3005330053
"properties": {
3005430054
"automatic_copilot_code_review_enabled": {
3005530055
"type": "boolean",
30056-
"description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review."
30056+
"description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review."
3005730057
},
3005830058
"dismiss_stale_reviews_on_push": {
3005930059
"type": "boolean",
@@ -35641,6 +35641,7 @@
3564135641
]
3564235642
}
3564335643
},
35644+
"encoding": { "type": "string" },
3564435645
"_links": {
3564535646
"type": "object",
3564635647
"properties": {
@@ -37122,6 +37123,7 @@
3712237123
"type": "array",
3712337124
"items": {
3712437125
"type": "object",
37126+
"required": ["path", "mode", "type", "sha"],
3712537127
"properties": {
3712637128
"path": { "type": "string", "examples": ["test/file.rb"] },
3712737129
"mode": { "type": "string", "examples": ["040000"] },
@@ -37146,21 +37148,12 @@
3714637148
"type": "blob",
3714737149
"size": 30,
3714837150
"sha": "44b4fc6d56897b048c772eb4087f854f46256132",
37149-
"url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132",
37150-
"properties": {
37151-
"path": { "type": "string" },
37152-
"mode": { "type": "string" },
37153-
"type": { "type": "string" },
37154-
"size": { "type": "integer" },
37155-
"sha": { "type": "string" },
37156-
"url": { "type": "string" }
37157-
},
37158-
"required": ["path", "mode", "type", "sha", "url", "size"]
37151+
"url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132"
3715937152
}
3716037153
]
3716137154
}
3716237155
},
37163-
"required": ["sha", "url", "tree", "truncated"]
37156+
"required": ["sha", "tree", "truncated"]
3716437157
},
3716537158
"hook-response": {
3716637159
"title": "Hook Response",
@@ -147058,6 +147051,16 @@
147058147051
"required": false,
147059147052
"schema": { "type": "string" }
147060147053
},
147054+
"advanced-security-product": {
147055+
"name": "advanced_security_product",
147056+
"in": "query",
147057+
"description": "The security feature to get GitHub Advanced Security active committers for.",
147058+
"required": false,
147059+
"schema": {
147060+
"type": "string",
147061+
"enum": ["code_security", "secret_protection"]
147062+
}
147063+
},
147061147064
"enterprise-security-product": {
147062147065
"name": "security_product",
147063147066
"in": "path",

cache/ghes-3.15.json

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30285,7 +30285,7 @@
3028530285
"$ref": "#/components/schemas/repository-rule-params-reviewer"
3028630286
}
3028730287
},
30288-
"required": ["file_patterns", "minimum_approvals"]
30288+
"required": ["file_patterns", "minimum_approvals", "reviewer"]
3028930289
},
3029030290
"repository-rule-pull-request": {
3029130291
"title": "pull_request",
@@ -30299,7 +30299,7 @@
3029930299
"properties": {
3030030300
"automatic_copilot_code_review_enabled": {
3030130301
"type": "boolean",
30302-
"description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review."
30302+
"description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review."
3030330303
},
3030430304
"dismiss_stale_reviews_on_push": {
3030530305
"type": "boolean",
@@ -35911,6 +35911,7 @@
3591135911
]
3591235912
}
3591335913
},
35914+
"encoding": { "type": "string" },
3591435915
"_links": {
3591535916
"type": "object",
3591635917
"properties": {
@@ -37392,6 +37393,7 @@
3739237393
"type": "array",
3739337394
"items": {
3739437395
"type": "object",
37396+
"required": ["path", "mode", "type", "sha"],
3739537397
"properties": {
3739637398
"path": { "type": "string", "examples": ["test/file.rb"] },
3739737399
"mode": { "type": "string", "examples": ["040000"] },
@@ -37416,21 +37418,12 @@
3741637418
"type": "blob",
3741737419
"size": 30,
3741837420
"sha": "44b4fc6d56897b048c772eb4087f854f46256132",
37419-
"url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132",
37420-
"properties": {
37421-
"path": { "type": "string" },
37422-
"mode": { "type": "string" },
37423-
"type": { "type": "string" },
37424-
"size": { "type": "integer" },
37425-
"sha": { "type": "string" },
37426-
"url": { "type": "string" }
37427-
},
37428-
"required": ["path", "mode", "type", "sha", "url", "size"]
37421+
"url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132"
3742937422
}
3743037423
]
3743137424
}
3743237425
},
37433-
"required": ["sha", "url", "tree", "truncated"]
37426+
"required": ["sha", "tree", "truncated"]
3743437427
},
3743537428
"hook-response": {
3743637429
"title": "Hook Response",
@@ -147249,6 +147242,16 @@
147249147242
"required": false,
147250147243
"schema": { "type": "string" }
147251147244
},
147245+
"advanced-security-product": {
147246+
"name": "advanced_security_product",
147247+
"in": "query",
147248+
"description": "The security feature to get GitHub Advanced Security active committers for.",
147249+
"required": false,
147250+
"schema": {
147251+
"type": "string",
147252+
"enum": ["code_security", "secret_protection"]
147253+
}
147254+
},
147252147255
"enterprise-security-product": {
147253147256
"name": "security_product",
147254147257
"in": "path",

cache/ghes-3.16.json

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -31174,7 +31174,7 @@
3117431174
"$ref": "#/components/schemas/repository-rule-params-reviewer"
3117531175
}
3117631176
},
31177-
"required": ["file_patterns", "minimum_approvals"]
31177+
"required": ["file_patterns", "minimum_approvals", "reviewer"]
3117831178
},
3117931179
"repository-rule-pull-request": {
3118031180
"title": "pull_request",
@@ -31188,7 +31188,7 @@
3118831188
"properties": {
3118931189
"automatic_copilot_code_review_enabled": {
3119031190
"type": "boolean",
31191-
"description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review."
31191+
"description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review."
3119231192
},
3119331193
"dismiss_stale_reviews_on_push": {
3119431194
"type": "boolean",
@@ -36820,6 +36820,7 @@
3682036820
]
3682136821
}
3682236822
},
36823+
"encoding": { "type": "string" },
3682336824
"_links": {
3682436825
"type": "object",
3682536826
"properties": {
@@ -38301,6 +38302,7 @@
3830138302
"type": "array",
3830238303
"items": {
3830338304
"type": "object",
38305+
"required": ["path", "mode", "type", "sha"],
3830438306
"properties": {
3830538307
"path": { "type": "string", "examples": ["test/file.rb"] },
3830638308
"mode": { "type": "string", "examples": ["040000"] },
@@ -38325,21 +38327,12 @@
3832538327
"type": "blob",
3832638328
"size": 30,
3832738329
"sha": "44b4fc6d56897b048c772eb4087f854f46256132",
38328-
"url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132",
38329-
"properties": {
38330-
"path": { "type": "string" },
38331-
"mode": { "type": "string" },
38332-
"type": { "type": "string" },
38333-
"size": { "type": "integer" },
38334-
"sha": { "type": "string" },
38335-
"url": { "type": "string" }
38336-
},
38337-
"required": ["path", "mode", "type", "sha", "url", "size"]
38330+
"url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132"
3833838331
}
3833938332
]
3834038333
}
3834138334
},
38342-
"required": ["sha", "url", "tree", "truncated"]
38335+
"required": ["sha", "tree", "truncated"]
3834338336
},
3834438337
"hook-response": {
3834538338
"title": "Hook Response",
@@ -148617,6 +148610,16 @@
148617148610
"required": false,
148618148611
"schema": { "type": "boolean", "default": false }
148619148612
},
148613+
"advanced-security-product": {
148614+
"name": "advanced_security_product",
148615+
"in": "query",
148616+
"description": "The security feature to get GitHub Advanced Security active committers for.",
148617+
"required": false,
148618+
"schema": {
148619+
"type": "string",
148620+
"enum": ["code_security", "secret_protection"]
148621+
}
148622+
},
148620148623
"enterprise-security-product": {
148621148624
"name": "security_product",
148622148625
"in": "path",

package.json

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -75,24 +75,6 @@
7575
"pkgRoot": "packages/openapi-webhooks-types-ghec"
7676
}
7777
],
78-
[
79-
"@semantic-release/npm",
80-
{
81-
"pkgRoot": "packages/openapi-webhooks-types-ghes-3.10"
82-
}
83-
],
84-
[
85-
"@semantic-release/npm",
86-
{
87-
"pkgRoot": "packages/openapi-webhooks-types-ghes-3.11"
88-
}
89-
],
90-
[
91-
"@semantic-release/npm",
92-
{
93-
"pkgRoot": "packages/openapi-webhooks-types-ghes-3.12"
94-
}
95-
],
9678
[
9779
"@semantic-release/npm",
9880
{

packages/openapi-webhooks-types-ghec/types.d.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4300,6 +4300,10 @@ export interface components {
43004300
/** @enum {string} */
43014301
status?: "enabled" | "disabled";
43024302
};
4303+
code_security?: {
4304+
/** @enum {string} */
4305+
status?: "enabled" | "disabled";
4306+
};
43034307
/** @description Enable or disable Dependabot security updates for the repository. */
43044308
dependabot_security_updates?: {
43054309
/**
@@ -55473,12 +55477,7 @@ export interface components {
5547355477
parameters?: {
5547455478
/** @description Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled. */
5547555479
allowed_merge_methods?: ("merge" | "squash" | "rebase")[];
55476-
/**
55477-
* @description > [!NOTE]
55478-
* > `automatic_copilot_code_review_enabled` is in beta and subject to change.
55479-
*
55480-
* Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review.
55481-
*/
55480+
/** @description Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review. */
5548255481
automatic_copilot_code_review_enabled?: boolean;
5548355482
/** @description New, reviewable commits pushed will dismiss previous pull request review approvals. */
5548455483
dismiss_stale_reviews_on_push: boolean;

packages/openapi-webhooks-types-ghes-3.13/types.d.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51290,12 +51290,7 @@ export interface components {
5129051290
/** @enum {string} */
5129151291
type: "pull_request";
5129251292
parameters?: {
51293-
/**
51294-
* @description > [!NOTE]
51295-
* > `automatic_copilot_code_review_enabled` is in beta and subject to change.
51296-
*
51297-
* Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review.
51298-
*/
51293+
/** @description Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review. */
5129951294
automatic_copilot_code_review_enabled?: boolean;
5130051295
/** @description New, reviewable commits pushed will dismiss previous pull request review approvals. */
5130151296
dismiss_stale_reviews_on_push: boolean;

0 commit comments

Comments
 (0)