Skip to content

Commit 65a6e0c

Browse files
authoredMar 25, 2025··
Merge pull request #1588 from php-api-clients/GitHubEnterprise-3.15/from-1.1.4-c839dc4b91fdd6e7b4bb4312c26a3e3d-from-1.1.4-c839dc4b91fdd6e7b4bb4312c26a3e3d
2 parents 473612b + b489fde commit 65a6e0c

File tree

17 files changed

+119
-17
lines changed

17 files changed

+119
-17
lines changed
 

‎clients/GitHubEnterprise-3.15/etc/openapi-client-generator.state

+16-16
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "55f74f3e5247a80d845e796bbe3a0f26",
2+
"specHash": "c839dc4b91fdd6e7b4bb4312c26a3e3d",
33
"generatedFiles": {
44
"files": [
55
{
@@ -14328,7 +14328,7 @@
1432814328
},
1432914329
{
1433014330
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/RepositoryRulePullRequest.php",
14331-
"hash": "15bb1a04bb357d871d17cfa300df82a1"
14331+
"hash": "573164228d694e7e75c3bca8d85f8920"
1433214332
},
1433314333
{
1433414334
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/RepositoryRuleParamsStatusCheckConfiguration.php",
@@ -14380,15 +14380,15 @@
1438014380
},
1438114381
{
1438214382
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/RepositoryRule.php",
14383-
"hash": "6c546d8162a1757ce9cc1f4f6b718456"
14383+
"hash": "966d8ccdc794dd25dddfae4ab8b3368e"
1438414384
},
1438514385
{
1438614386
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Attribute\/CastUnionToType\/Schema\/RepositoryRuleset\/Conditions.php",
1438714387
"hash": "81c9e9a0922f6bda5dee2002cc661a25"
1438814388
},
1438914389
{
1439014390
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/RepositoryRuleset.php",
14391-
"hash": "21186b4aa09b675995e821775bf9fc18"
14391+
"hash": "3993f8688b6cfa0fbeea357328b158a6"
1439214392
},
1439314393
{
1439414394
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/RuleSuites.php",
@@ -15132,7 +15132,7 @@
1513215132
},
1513315133
{
1513415134
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/RepositoryRuleDetailed.php",
15135-
"hash": "649a5cbd79f4ae0e4b26ec6815206f35"
15135+
"hash": "f156fda303bcad6e9ad333993ca9e173"
1513615136
},
1513715137
{
1513815138
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/SecretScanningAlert.php",
@@ -17124,15 +17124,15 @@
1712417124
},
1712517125
{
1712617126
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetCreated.php",
17127-
"hash": "0cfb5201265e57bd2d3467f2fd30ae87"
17127+
"hash": "5029294d7b82c272059a7b60e42515d6"
1712817128
},
1712917129
{
1713017130
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetDeleted.php",
17131-
"hash": "b15199b01bb95a563104a9e1277ebe1f"
17131+
"hash": "356e7ff2b9b817dad5dc78ee42321255"
1713217132
},
1713317133
{
1713417134
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited.php",
17135-
"hash": "e44e0fb9224ec3e781014cc7b2e30616"
17135+
"hash": "9065be8ef953ddbe45901df46782b0f9"
1713617136
},
1713717137
{
1713817138
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryTransferred.php",
@@ -18268,7 +18268,7 @@
1826818268
},
1826918269
{
1827018270
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/RepositoryRulePullRequest\/Parameters.php",
18271-
"hash": "7447d661647fc5f5025273387f92be1a"
18271+
"hash": "f70745bb79bac14967633fd7512eab9c"
1827218272
},
1827318273
{
1827418274
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/RepositoryRuleRequiredStatusChecks\/Parameters.php",
@@ -24196,7 +24196,7 @@
2419624196
},
2419724197
{
2419824198
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited\/Changes.php",
24199-
"hash": "53c1de2ea1d8aa69cee3f981186b7773"
24199+
"hash": "946552e684d3a91bd0440e839e7e8b84"
2420024200
},
2420124201
{
2420224202
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited\/Changes\/Conditions.php",
@@ -24224,15 +24224,15 @@
2422424224
},
2422524225
{
2422624226
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited\/Changes\/Rules.php",
24227-
"hash": "ede6ebd08fed824a61bb49bfd64b1db7"
24227+
"hash": "0fda80923f6a7152fcf303c561172347"
2422824228
},
2422924229
{
2423024230
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Attribute\/CastUnionToType\/Schema\/WebhookRepositoryRulesetEdited\/Changes\/Rules\/Updated\/Rule.php",
2423124231
"hash": "66083da8552574163ab67ba0e9fe8cdf"
2423224232
},
2423324233
{
2423424234
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited\/Changes\/Rules\/Updated.php",
24235-
"hash": "39f4b5c4a791351f38c8d1b2669810c3"
24235+
"hash": "149f282521e5208e5164cdce2f5a4751"
2423624236
},
2423724237
{
2423824238
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited\/Changes\/Rules\/Updated\/Changes.php",
@@ -25424,15 +25424,15 @@
2542425424
},
2542525425
{
2542625426
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/Repos\/CreateOrgRuleset\/Request\/ApplicationJson.php",
25427-
"hash": "72481fdf4c36853176806e6bfc6f80cf"
25427+
"hash": "97b4c0b8ebc50559cdd0f96cec759c0c"
2542825428
},
2542925429
{
2543025430
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Attribute\/CastUnionToType\/Schema\/Repos\/UpdateOrgRuleset\/Request\/ApplicationJson\/Conditions.php",
2543125431
"hash": "36d2d9089ffa5f6f012c32248528b8d5"
2543225432
},
2543325433
{
2543425434
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/Repos\/UpdateOrgRuleset\/Request\/ApplicationJson.php",
25435-
"hash": "dc6e67d34d67e7cc6239d6b77c7ffdbb"
25435+
"hash": "eef98e81fe21a68e7aa18a4957ec5ad7"
2543625436
},
2543725437
{
2543825438
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/Teams\/Create\/Request\/ApplicationJson.php",
@@ -26464,11 +26464,11 @@
2646426464
},
2646526465
{
2646626466
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/Repos\/CreateRepoRuleset\/Request\/ApplicationJson.php",
26467-
"hash": "b18a65faad1c6f73891bb3db88c53cb7"
26467+
"hash": "a76fe3aeb2cbdae9d950fa62c33e118d"
2646826468
},
2646926469
{
2647026470
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/Repos\/UpdateRepoRuleset\/Request\/ApplicationJson.php",
26471-
"hash": "09d3787b01324c0c80d4d827c4ff62db"
26471+
"hash": "b6701b11fa847e3cb2ab5b650544d948"
2647226472
},
2647326473
{
2647426474
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/SecretScanning\/UpdateAlert\/Request\/ApplicationJson.php",

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

+4
Original file line numberDiff line numberDiff line change
@@ -566,6 +566,10 @@
566566
},
567567
"description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled."
568568
},
569+
"automatic_copilot_code_review_enabled": {
570+
"type": "boolean",
571+
"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."
572+
},
569573
"dismiss_stale_reviews_on_push": {
570574
"type": "boolean",
571575
"description": "New, reviewable commits pushed will dismiss previous pull request review approvals."

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

+4
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,10 @@
347347
},
348348
"description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled."
349349
},
350+
"automatic_copilot_code_review_enabled": {
351+
"type": "boolean",
352+
"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."
353+
},
350354
"dismiss_stale_reviews_on_push": {
351355
"type": "boolean",
352356
"description": "New, reviewable commits pushed will dismiss previous pull request review approvals."

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

+4
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,10 @@
561561
},
562562
"description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled."
563563
},
564+
"automatic_copilot_code_review_enabled": {
565+
"type": "boolean",
566+
"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."
567+
},
564568
"dismiss_stale_reviews_on_push": {
565569
"type": "boolean",
566570
"description": "New, reviewable commits pushed will dismiss previous pull request review approvals."

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

+4
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,10 @@
342342
},
343343
"description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled."
344344
},
345+
"automatic_copilot_code_review_enabled": {
346+
"type": "boolean",
347+
"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."
348+
},
345349
"dismiss_stale_reviews_on_push": {
346350
"type": "boolean",
347351
"description": "New, reviewable commits pushed will dismiss previous pull request review approvals."

‎clients/GitHubEnterprise-3.15/src/Schema/RepositoryRule.php

+4
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,10 @@
245245
},
246246
"description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled."
247247
},
248+
"automatic_copilot_code_review_enabled": {
249+
"type": "boolean",
250+
"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."
251+
},
248252
"dismiss_stale_reviews_on_push": {
249253
"type": "boolean",
250254
"description": "New, reviewable commits pushed will dismiss previous pull request review approvals."

‎clients/GitHubEnterprise-3.15/src/Schema/RepositoryRuleDetailed.php

+4
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,10 @@
429429
},
430430
"description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled."
431431
},
432+
"automatic_copilot_code_review_enabled": {
433+
"type": "boolean",
434+
"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."
435+
},
432436
"dismiss_stale_reviews_on_push": {
433437
"type": "boolean",
434438
"description": "New, reviewable commits pushed will dismiss previous pull request review approvals."

‎clients/GitHubEnterprise-3.15/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.15/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.15/src/Schema/RepositoryRuleset.php

+4
Original file line numberDiff line numberDiff line change
@@ -656,6 +656,10 @@
656656
},
657657
"description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled."
658658
},
659+
"automatic_copilot_code_review_enabled": {
660+
"type": "boolean",
661+
"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."
662+
},
659663
"dismiss_stale_reviews_on_push": {
660664
"type": "boolean",
661665
"description": "New, reviewable commits pushed will dismiss previous pull request review approvals."

‎clients/GitHubEnterprise-3.15/src/Schema/WebhookRepositoryRulesetCreated.php

+4
Original file line numberDiff line numberDiff line change
@@ -2373,6 +2373,10 @@
23732373
},
23742374
"description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled."
23752375
},
2376+
"automatic_copilot_code_review_enabled": {
2377+
"type": "boolean",
2378+
"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."
2379+
},
23762380
"dismiss_stale_reviews_on_push": {
23772381
"type": "boolean",
23782382
"description": "New, reviewable commits pushed will dismiss previous pull request review approvals."

‎clients/GitHubEnterprise-3.15/src/Schema/WebhookRepositoryRulesetDeleted.php

+4
Original file line numberDiff line numberDiff line change
@@ -2373,6 +2373,10 @@
23732373
},
23742374
"description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled."
23752375
},
2376+
"automatic_copilot_code_review_enabled": {
2377+
"type": "boolean",
2378+
"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."
2379+
},
23762380
"dismiss_stale_reviews_on_push": {
23772381
"type": "boolean",
23782382
"description": "New, reviewable commits pushed will dismiss previous pull request review approvals."

0 commit comments

Comments
 (0)