Skip to content

Commit 473612b

Browse files
authored
Merge pull request #1587 from php-api-clients/GitHubEnterprise-3.14/from-1.1.4-fd3452e633ca20f3b19f783b723e8aae-from-1.1.4-fd3452e633ca20f3b19f783b723e8aae
2 parents e68ae45 + d289077 commit 473612b

File tree

17 files changed

+119
-17
lines changed

17 files changed

+119
-17
lines changed

clients/GitHubEnterprise-3.14/etc/openapi-client-generator.state

+16-16
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "17c2c7428f307a53f2d8a29fc0b52750",
2+
"specHash": "fd3452e633ca20f3b19f783b723e8aae",
33
"generatedFiles": {
44
"files": [
55
{
@@ -14284,7 +14284,7 @@
1428414284
},
1428514285
{
1428614286
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/RepositoryRulePullRequest.php",
14287-
"hash": "15bb1a04bb357d871d17cfa300df82a1"
14287+
"hash": "573164228d694e7e75c3bca8d85f8920"
1428814288
},
1428914289
{
1429014290
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/RepositoryRuleParamsStatusCheckConfiguration.php",
@@ -14336,15 +14336,15 @@
1433614336
},
1433714337
{
1433814338
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/RepositoryRule.php",
14339-
"hash": "9f0a0fa7d83fa33cafb05980add9e991"
14339+
"hash": "9a7a3a950a22d517ac3e4a910ed33898"
1434014340
},
1434114341
{
1434214342
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Attribute\/CastUnionToType\/Schema\/RepositoryRuleset\/Conditions.php",
1434314343
"hash": "81c9e9a0922f6bda5dee2002cc661a25"
1434414344
},
1434514345
{
1434614346
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/RepositoryRuleset.php",
14347-
"hash": "2cbb915e89598340adf7f6d92664e6d5"
14347+
"hash": "d0d5d63bd42bee8e73f041d59efbe165"
1434814348
},
1434914349
{
1435014350
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/RuleSuites.php",
@@ -15084,7 +15084,7 @@
1508415084
},
1508515085
{
1508615086
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/RepositoryRuleDetailed.php",
15087-
"hash": "d3daf7bc723e92edb67043a2d08f9f31"
15087+
"hash": "22971e8b414e10ef9d6a266ef00054a5"
1508815088
},
1508915089
{
1509015090
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/SecretScanningAlert.php",
@@ -17084,15 +17084,15 @@
1708417084
},
1708517085
{
1708617086
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetCreated.php",
17087-
"hash": "68568ff82a5ba2c8cdd1206bc10c0771"
17087+
"hash": "b1727ec38a9b1e219d0a2332f6ef3134"
1708817088
},
1708917089
{
1709017090
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetDeleted.php",
17091-
"hash": "52d9a98a63a2c6c3dd7775220a90bd76"
17091+
"hash": "9233e197d04a50c85f3cb19229278ae4"
1709217092
},
1709317093
{
1709417094
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited.php",
17095-
"hash": "0481b20b57c52fd3be4623699cc39a9d"
17095+
"hash": "dc965941a5240d471bfa79fff6bc9cea"
1709617096
},
1709717097
{
1709817098
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryTransferred.php",
@@ -18304,7 +18304,7 @@
1830418304
},
1830518305
{
1830618306
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/RepositoryRulePullRequest\/Parameters.php",
18307-
"hash": "7447d661647fc5f5025273387f92be1a"
18307+
"hash": "f70745bb79bac14967633fd7512eab9c"
1830818308
},
1830918309
{
1831018310
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/RepositoryRuleRequiredStatusChecks\/Parameters.php",
@@ -24240,7 +24240,7 @@
2424024240
},
2424124241
{
2424224242
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited\/Changes.php",
24243-
"hash": "1fbcce95dfceaff2a73ef1e3366134e9"
24243+
"hash": "967c68a535d947a7bba92d095d7bfb41"
2424424244
},
2424524245
{
2424624246
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited\/Changes\/Conditions.php",
@@ -24268,15 +24268,15 @@
2426824268
},
2426924269
{
2427024270
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited\/Changes\/Rules.php",
24271-
"hash": "1581192400a67163b8f2eea5628f9ee9"
24271+
"hash": "5cfdffac948f5894cad380dd0f8429e7"
2427224272
},
2427324273
{
2427424274
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Attribute\/CastUnionToType\/Schema\/WebhookRepositoryRulesetEdited\/Changes\/Rules\/Updated\/Rule.php",
2427524275
"hash": "1591c4b80d27435270b146b908f2a951"
2427624276
},
2427724277
{
2427824278
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited\/Changes\/Rules\/Updated.php",
24279-
"hash": "54be095f8d392b7b3da59da641b54ad9"
24279+
"hash": "d8d22ae0b20baa57e3d679835e009eac"
2428024280
},
2428124281
{
2428224282
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited\/Changes\/Rules\/Updated\/Changes.php",
@@ -25444,15 +25444,15 @@
2544425444
},
2544525445
{
2544625446
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/Repos\/CreateOrgRuleset\/Request\/ApplicationJson.php",
25447-
"hash": "86736cdc3d679a6e1bcd951ae061e9ed"
25447+
"hash": "3fc2d11dbbbf053681ee3fd74180c864"
2544825448
},
2544925449
{
2545025450
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Internal\/Attribute\/CastUnionToType\/Schema\/Repos\/UpdateOrgRuleset\/Request\/ApplicationJson\/Conditions.php",
2545125451
"hash": "36d2d9089ffa5f6f012c32248528b8d5"
2545225452
},
2545325453
{
2545425454
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/Repos\/UpdateOrgRuleset\/Request\/ApplicationJson.php",
25455-
"hash": "2f08c9792734d2f94852ae7cac3789ae"
25455+
"hash": "44a8d4a234d94f2eb775d06a9f898586"
2545625456
},
2545725457
{
2545825458
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/Teams\/Create\/Request\/ApplicationJson.php",
@@ -26480,11 +26480,11 @@
2648026480
},
2648126481
{
2648226482
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/Repos\/CreateRepoRuleset\/Request\/ApplicationJson.php",
26483-
"hash": "762d3e2879a240697f873acc7b50ceaf"
26483+
"hash": "ad6d06c1fc22da28d339ec104b5be60f"
2648426484
},
2648526485
{
2648626486
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/Repos\/UpdateRepoRuleset\/Request\/ApplicationJson.php",
26487-
"hash": "1f02a69475986e068b6c26f5c99578ea"
26487+
"hash": "5207218c7e57417c04c307162453faec"
2648826488
},
2648926489
{
2649026490
"name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/SecretScanning\/UpdateAlert\/Request\/ApplicationJson.php",

clients/GitHubEnterprise-3.14/src/Schema/Repos/CreateOrgRuleset/Request/ApplicationJson.php

+4
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,10 @@
489489
},
490490
"description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled."
491491
},
492+
"automatic_copilot_code_review_enabled": {
493+
"type": "boolean",
494+
"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."
495+
},
492496
"dismiss_stale_reviews_on_push": {
493497
"type": "boolean",
494498
"description": "New, reviewable commits pushed will dismiss previous pull request review approvals."

clients/GitHubEnterprise-3.14/src/Schema/Repos/CreateRepoRuleset/Request/ApplicationJson.php

+4
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,10 @@
270270
},
271271
"description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled."
272272
},
273+
"automatic_copilot_code_review_enabled": {
274+
"type": "boolean",
275+
"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."
276+
},
273277
"dismiss_stale_reviews_on_push": {
274278
"type": "boolean",
275279
"description": "New, reviewable commits pushed will dismiss previous pull request review approvals."

clients/GitHubEnterprise-3.14/src/Schema/Repos/UpdateOrgRuleset/Request/ApplicationJson.php

+4
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,10 @@
484484
},
485485
"description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled."
486486
},
487+
"automatic_copilot_code_review_enabled": {
488+
"type": "boolean",
489+
"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."
490+
},
487491
"dismiss_stale_reviews_on_push": {
488492
"type": "boolean",
489493
"description": "New, reviewable commits pushed will dismiss previous pull request review approvals."

clients/GitHubEnterprise-3.14/src/Schema/Repos/UpdateRepoRuleset/Request/ApplicationJson.php

+4
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,10 @@
265265
},
266266
"description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled."
267267
},
268+
"automatic_copilot_code_review_enabled": {
269+
"type": "boolean",
270+
"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."
271+
},
268272
"dismiss_stale_reviews_on_push": {
269273
"type": "boolean",
270274
"description": "New, reviewable commits pushed will dismiss previous pull request review approvals."

clients/GitHubEnterprise-3.14/src/Schema/RepositoryRule.php

+4
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,10 @@
168168
},
169169
"description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled."
170170
},
171+
"automatic_copilot_code_review_enabled": {
172+
"type": "boolean",
173+
"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."
174+
},
171175
"dismiss_stale_reviews_on_push": {
172176
"type": "boolean",
173177
"description": "New, reviewable commits pushed will dismiss previous pull request review approvals."

clients/GitHubEnterprise-3.14/src/Schema/RepositoryRuleDetailed.php

+4
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,10 @@
326326
},
327327
"description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled."
328328
},
329+
"automatic_copilot_code_review_enabled": {
330+
"type": "boolean",
331+
"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."
332+
},
329333
"dismiss_stale_reviews_on_push": {
330334
"type": "boolean",
331335
"description": "New, reviewable commits pushed will dismiss previous pull request review approvals."

clients/GitHubEnterprise-3.14/src/Schema/RepositoryRulePullRequest.php

+5
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@
4343
},
4444
"description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled."
4545
},
46+
"automatic_copilot_code_review_enabled": {
47+
"type": "boolean",
48+
"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."
49+
},
4650
"dismiss_stale_reviews_on_push": {
4751
"type": "boolean",
4852
"description": "New, reviewable commits pushed will dismiss previous pull request review approvals."
@@ -79,6 +83,7 @@
7983
"generated",
8084
"generated"
8185
],
86+
"automatic_copilot_code_review_enabled": false,
8287
"dismiss_stale_reviews_on_push": false,
8388
"require_code_owner_review": false,
8489
"require_last_push_approval": false,

clients/GitHubEnterprise-3.14/src/Schema/RepositoryRulePullRequest/Parameters.php

+11-1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@
3030
},
3131
"description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled."
3232
},
33+
"automatic_copilot_code_review_enabled": {
34+
"type": "boolean",
35+
"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."
36+
},
3337
"dismiss_stale_reviews_on_push": {
3438
"type": "boolean",
3539
"description": "New, reviewable commits pushed will dismiss previous pull request review approvals."
@@ -61,6 +65,7 @@
6165
"generated",
6266
"generated"
6367
],
68+
"automatic_copilot_code_review_enabled": false,
6469
"dismiss_stale_reviews_on_push": false,
6570
"require_code_owner_review": false,
6671
"require_last_push_approval": false,
@@ -70,14 +75,19 @@
7075

7176
/**
7277
* allowedMergeMethods: Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled.
78+
* automaticCopilotCodeReviewEnabled: > [!NOTE]
79+
> `automatic_copilot_code_review_enabled` is in beta and subject to change.
80+
81+
Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review.
7382
* dismissStaleReviewsOnPush: New, reviewable commits pushed will dismiss previous pull request review approvals.
7483
* requireCodeOwnerReview: Require an approving review in pull requests that modify files that have a designated code owner.
7584
* requireLastPushApproval: Whether the most recent reviewable push must be approved by someone other than the person who pushed it.
7685
* requiredApprovingReviewCount: The number of approving reviews that are required before a pull request can be merged.
7786
* requiredReviewThreadResolution: All conversations on code must be resolved before a pull request can be merged.
7887
*/
7988
public function __construct(#[MapFrom('allowed_merge_methods')]
80-
public array|null $allowedMergeMethods, #[MapFrom('dismiss_stale_reviews_on_push')]
89+
public array|null $allowedMergeMethods, #[MapFrom('automatic_copilot_code_review_enabled')]
90+
public bool|null $automaticCopilotCodeReviewEnabled, #[MapFrom('dismiss_stale_reviews_on_push')]
8191
public bool $dismissStaleReviewsOnPush, #[MapFrom('require_code_owner_review')]
8292
public bool $requireCodeOwnerReview, #[MapFrom('require_last_push_approval')]
8393
public bool $requireLastPushApproval, #[MapFrom('required_approving_review_count')]

clients/GitHubEnterprise-3.14/src/Schema/RepositoryRuleset.php

+4
Original file line numberDiff line numberDiff line change
@@ -579,6 +579,10 @@
579579
},
580580
"description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled."
581581
},
582+
"automatic_copilot_code_review_enabled": {
583+
"type": "boolean",
584+
"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."
585+
},
582586
"dismiss_stale_reviews_on_push": {
583587
"type": "boolean",
584588
"description": "New, reviewable commits pushed will dismiss previous pull request review approvals."

clients/GitHubEnterprise-3.14/src/Schema/WebhookRepositoryRulesetCreated.php

+4
Original file line numberDiff line numberDiff line change
@@ -2296,6 +2296,10 @@
22962296
},
22972297
"description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled."
22982298
},
2299+
"automatic_copilot_code_review_enabled": {
2300+
"type": "boolean",
2301+
"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."
2302+
},
22992303
"dismiss_stale_reviews_on_push": {
23002304
"type": "boolean",
23012305
"description": "New, reviewable commits pushed will dismiss previous pull request review approvals."

clients/GitHubEnterprise-3.14/src/Schema/WebhookRepositoryRulesetDeleted.php

+4
Original file line numberDiff line numberDiff line change
@@ -2296,6 +2296,10 @@
22962296
},
22972297
"description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled."
22982298
},
2299+
"automatic_copilot_code_review_enabled": {
2300+
"type": "boolean",
2301+
"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."
2302+
},
22992303
"dismiss_stale_reviews_on_push": {
23002304
"type": "boolean",
23012305
"description": "New, reviewable commits pushed will dismiss previous pull request review approvals."

0 commit comments

Comments
 (0)