Skip to content

Commit e68ae45

Browse files
authored
Merge pull request #1586 from php-api-clients/GitHubEnterprise-3.13/from-1.1.4-b39b954044a7394ab4e5fe3ce2b56edc-from-1.1.4-b39b954044a7394ab4e5fe3ce2b56edc
2 parents a79a422 + 383ece1 commit e68ae45

File tree

17 files changed

+119
-17
lines changed

17 files changed

+119
-17
lines changed

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

+16-16
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "068189c2ddb887d39c830e1d08c2e36b",
2+
"specHash": "b39b954044a7394ab4e5fe3ce2b56edc",
33
"generatedFiles": {
44
"files": [
55
{
@@ -14092,7 +14092,7 @@
1409214092
},
1409314093
{
1409414094
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/RepositoryRulePullRequest.php",
14095-
"hash": "15bb1a04bb357d871d17cfa300df82a1"
14095+
"hash": "573164228d694e7e75c3bca8d85f8920"
1409614096
},
1409714097
{
1409814098
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/RepositoryRuleParamsStatusCheckConfiguration.php",
@@ -14136,15 +14136,15 @@
1413614136
},
1413714137
{
1413814138
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/RepositoryRule.php",
14139-
"hash": "22054f7104aef2a680f7bb8a38d88622"
14139+
"hash": "2528dcb6d9fac9eb0f473cd2ef681e57"
1414014140
},
1414114141
{
1414214142
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Attribute\/CastUnionToType\/Schema\/RepositoryRuleset\/Conditions.php",
1414314143
"hash": "81c9e9a0922f6bda5dee2002cc661a25"
1414414144
},
1414514145
{
1414614146
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/RepositoryRuleset.php",
14147-
"hash": "3ce6a2bcf027d371fe3e7e3e93826b2c"
14147+
"hash": "9e5c13342d70c0e3037cccfc2ea7398a"
1414814148
},
1414914149
{
1415014150
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/RuleSuites.php",
@@ -14888,7 +14888,7 @@
1488814888
},
1488914889
{
1489014890
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/RepositoryRuleDetailed.php",
14891-
"hash": "f3f7f72f11915ad93bd068994ca86be4"
14891+
"hash": "69cd617db2dc79a08878e5937955e088"
1489214892
},
1489314893
{
1489414894
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/SecretScanningAlert.php",
@@ -16828,15 +16828,15 @@
1682816828
},
1682916829
{
1683016830
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetCreated.php",
16831-
"hash": "0195cf695bbc4161dc3e1a988dc5418f"
16831+
"hash": "bf38af510fd326102d549c110f96e908"
1683216832
},
1683316833
{
1683416834
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetDeleted.php",
16835-
"hash": "5ff4576c8e7187c986ce592bd14bba95"
16835+
"hash": "e8168d364dcc88771e9cafb617d5fdfa"
1683616836
},
1683716837
{
1683816838
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited.php",
16839-
"hash": "535ac0a4b731d389678244cd931a669e"
16839+
"hash": "2e9cf26c83833ebcbaa957e8bc2b86c6"
1684016840
},
1684116841
{
1684216842
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryTransferred.php",
@@ -18036,7 +18036,7 @@
1803618036
},
1803718037
{
1803818038
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/RepositoryRulePullRequest\/Parameters.php",
18039-
"hash": "7447d661647fc5f5025273387f92be1a"
18039+
"hash": "f70745bb79bac14967633fd7512eab9c"
1804018040
},
1804118041
{
1804218042
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/RepositoryRuleRequiredStatusChecks\/Parameters.php",
@@ -23948,7 +23948,7 @@
2394823948
},
2394923949
{
2395023950
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited\/Changes.php",
23951-
"hash": "c4f1499fa21d77d2cdc113a73e192553"
23951+
"hash": "5eeea09363f7cf68d7c733f0f22283f2"
2395223952
},
2395323953
{
2395423954
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited\/Changes\/Conditions.php",
@@ -23976,15 +23976,15 @@
2397623976
},
2397723977
{
2397823978
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited\/Changes\/Rules.php",
23979-
"hash": "b694b6fdc6ccaec44cc66425710e27d0"
23979+
"hash": "8a169725b41beee3f092f92eae5eb606"
2398023980
},
2398123981
{
2398223982
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Attribute\/CastUnionToType\/Schema\/WebhookRepositoryRulesetEdited\/Changes\/Rules\/Updated\/Rule.php",
2398323983
"hash": "7906d66b40d534e9ae9f806c5761380e"
2398423984
},
2398523985
{
2398623986
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited\/Changes\/Rules\/Updated.php",
23987-
"hash": "0f1717cf06b884b2bc0023ca3bdc39cf"
23987+
"hash": "a6a00ef391d3022b6c074653901cd1bf"
2398823988
},
2398923989
{
2399023990
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited\/Changes\/Rules\/Updated\/Changes.php",
@@ -25148,15 +25148,15 @@
2514825148
},
2514925149
{
2515025150
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/Repos\/CreateOrgRuleset\/Request\/ApplicationJson.php",
25151-
"hash": "501b32ebbc5d1cde52290bb5093856df"
25151+
"hash": "257c41e6b58db55494aa5c98fd8e665a"
2515225152
},
2515325153
{
2515425154
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Attribute\/CastUnionToType\/Schema\/Repos\/UpdateOrgRuleset\/Request\/ApplicationJson\/Conditions.php",
2515525155
"hash": "36d2d9089ffa5f6f012c32248528b8d5"
2515625156
},
2515725157
{
2515825158
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/Repos\/UpdateOrgRuleset\/Request\/ApplicationJson.php",
25159-
"hash": "9479fd011dbec45b021a16e5b86d6328"
25159+
"hash": "c85c4b23bde720671cb8a8cdaf2286c9"
2516025160
},
2516125161
{
2516225162
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/Teams\/Create\/Request\/ApplicationJson.php",
@@ -26184,11 +26184,11 @@
2618426184
},
2618526185
{
2618626186
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/Repos\/CreateRepoRuleset\/Request\/ApplicationJson.php",
26187-
"hash": "9ae48be2467e7cc3a0d07410464d6a75"
26187+
"hash": "e2013dd0e8de28e7ef71c0d3f7ef98ed"
2618826188
},
2618926189
{
2619026190
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/Repos\/UpdateRepoRuleset\/Request\/ApplicationJson.php",
26191-
"hash": "aa64ba20d92249c90d949c4d3967cf7d"
26191+
"hash": "7a27ec1889fba24e3542cc853c847bfb"
2619226192
},
2619326193
{
2619426194
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/SecretScanning\/UpdateAlert\/Request\/ApplicationJson.php",

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

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

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

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

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

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

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

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

clients/GitHubEnterprise-3.13/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.13/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.13/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.13/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.13/src/Schema/RepositoryRuleset.php

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

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

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

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

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

0 commit comments

Comments
 (0)