Skip to content

Commit 424e635

Browse files
WyriHaximusgithub-actions[bot]
authored andcommitted
[GitHub] Update to 1.1.4-6f03f69310915cd2cc2ba810a95cb8af from 1.1.4-5bd2a30080267627618f4b33aa9b7f31
Detected Schema changes: starting work. Building original model for commit 6971d9 SPEC: extracted 2 commits from history ``` ├─┬Paths │ ├─┬/repos/{owner}/{repo}/pulls/{pull_number}/files │ │ └─┬GET │ │ └──[🔀] description (34133:20) │ ├─┬/repos/{owner}/{repo}/pulls │ │ ├─┬GET │ │ │ └──[🔀] description (33025:20) │ │ └─┬POST │ │ └──[🔀] description (33129:20) │ ├─┬/repos/{owner}/{repo}/pulls/{pull_number} │ │ └─┬PATCH │ │ └──[🔀] description (33627:20) │ └─┬/repos/{owner}/{repo}/pulls/{pull_number}/commits │ └─┬GET │ └──[🔀] description (34086:20) └─┬Components └─┬repository-ruleset-bypass-actor ├─┬actor_id │ └──[🔀] description (71593:24) ├─┬bypass_mode │ └──[🔀] description (71605:24) └─┬actor_type ├──[➖] enum (71600:13)❌ └──[🔀] description (71602:24) ``` | Document Element | Total Changes | Breaking Changes | |------------------|---------------|------------------| | paths | 5 | 0 | | components | 4 | 1 | Date: 04/28/24 | Commit: New: etc/specs/GitHub/previous.spec.yaml, Original: etc/specs/GitHub/current.spec.yaml - ❌ **BREAKING Changes**: _9_ - **Modifications**: _8_ - **Removals**: _1_ - **Breaking Removals**: _1_ ERROR: breaking changes discovered
1 parent e808b41 commit 424e635

File tree

11 files changed

+91
-78
lines changed

11 files changed

+91
-78
lines changed

clients/GitHub/etc/openapi-client-generator.state

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "5bd2a30080267627618f4b33aa9b7f31",
2+
"specHash": "6f03f69310915cd2cc2ba810a95cb8af",
33
"generatedFiles": {
44
"files": [
55
{
@@ -524,7 +524,7 @@
524524
},
525525
{
526526
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRulesetBypassActor.php",
527-
"hash": "67c3a415716e58a90f8abf469062dac5"
527+
"hash": "83705a685ea73d3e8f172764ffba2711"
528528
},
529529
{
530530
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRulesetConditions.php",
@@ -604,7 +604,7 @@
604604
},
605605
{
606606
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRuleset.php",
607-
"hash": "dddbb5dc9bd8dd7a3ad803bca2cb1e57"
607+
"hash": "ef85fa7d7b57ba43af2d6916a489f8cd"
608608
},
609609
{
610610
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/ActionsBillingUsage.php",
@@ -4632,11 +4632,11 @@
46324632
},
46334633
{
46344634
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Repos\/CreateOrgRuleset\/Request\/ApplicationJson.php",
4635-
"hash": "ddbe5fa72cd95d4841f04e8ad07cf032"
4635+
"hash": "c117f6b84510b5e9fd9d5f29267dae82"
46364636
},
46374637
{
46384638
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Repos\/UpdateOrgRuleset\/Request\/ApplicationJson.php",
4639-
"hash": "852a59058aac8512a94f09949e38aa5c"
4639+
"hash": "7bfb2cacb4dae42b93420462d8bdc058"
46404640
},
46414641
{
46424642
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Teams\/Create\/Request\/ApplicationJson.php",
@@ -5340,11 +5340,11 @@
53405340
},
53415341
{
53425342
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Repos\/CreateRepoRuleset\/Request\/ApplicationJson.php",
5343-
"hash": "9ab74eb536b72b5cf0961e608f39bd8f"
5343+
"hash": "891b5699ff5a4b35bd57a441caae67b6"
53445344
},
53455345
{
53465346
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Repos\/UpdateRepoRuleset\/Request\/ApplicationJson.php",
5347-
"hash": "580d82fd735271cdcc29aedbb7cae3a3"
5347+
"hash": "a88d5b165813a5427998198496d665d5"
53485348
},
53495349
{
53505350
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/SecretScanning\/UpdateAlert\/Request\/ApplicationJson.php",
@@ -11784,7 +11784,7 @@
1178411784
},
1178511785
{
1178611786
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Copilot.php",
11787-
"hash": "df289711440a14ba7ae749579efb50f6"
11787+
"hash": "245da86a74734162346845fbbd30ad8e"
1178811788
},
1178911789
{
1179011790
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CheckAutomatedSecurityFixes.php",
@@ -11868,15 +11868,15 @@
1186811868
},
1186911869
{
1187011870
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetCreated.php",
11871-
"hash": "6fc25f4d0f2991a671cce4be6dce943c"
11871+
"hash": "2d226da6f373b431bd269ff18fd6a348"
1187211872
},
1187311873
{
1187411874
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetDeleted.php",
11875-
"hash": "8d6de523450a40a6ff046116c45d40d6"
11875+
"hash": "740f76428a80cf6f1c1b3f7d7146d3ac"
1187611876
},
1187711877
{
1187811878
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited.php",
11879-
"hash": "56c588418e218244afc3fd025d5301c3"
11879+
"hash": "9eab4199d5118c57751ddd83944e54ab"
1188011880
},
1188111881
{
1188211882
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookDeploymentReviewApproved\/WorkflowRun\/Actor.php",

clients/GitHub/src/Schema/Repos/CreateOrgRuleset/Request/ApplicationJson.php

+7-6
Original file line numberDiff line numberDiff line change
@@ -54,25 +54,26 @@
5454
"integer",
5555
"null"
5656
],
57-
"description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`."
57+
"description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories.\\n"
5858
},
5959
"actor_type": {
6060
"enum": [
6161
"Integration",
6262
"OrganizationAdmin",
6363
"RepositoryRole",
64-
"Team"
64+
"Team",
65+
"DeployKey"
6566
],
6667
"type": "string",
67-
"description": "The type of actor that can bypass a ruleset"
68+
"description": "The type of actor that can bypass a ruleset.\\n"
6869
},
6970
"bypass_mode": {
7071
"enum": [
7172
"always",
7273
"pull_request"
7374
],
7475
"type": "string",
75-
"description": "When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests."
76+
"description": "When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type.\\n"
7677
}
7778
},
7879
"description": "An actor that can bypass rules in a ruleset"
@@ -981,12 +982,12 @@
981982
"bypass_actors": [
982983
{
983984
"actor_id": 8,
984-
"actor_type": "Team",
985+
"actor_type": "DeployKey",
985986
"bypass_mode": "always"
986987
},
987988
{
988989
"actor_id": 8,
989-
"actor_type": "Team",
990+
"actor_type": "DeployKey",
990991
"bypass_mode": "always"
991992
}
992993
],

clients/GitHub/src/Schema/Repos/CreateRepoRuleset/Request/ApplicationJson.php

+7-6
Original file line numberDiff line numberDiff line change
@@ -53,25 +53,26 @@
5353
"integer",
5454
"null"
5555
],
56-
"description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`."
56+
"description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories.\\n"
5757
},
5858
"actor_type": {
5959
"enum": [
6060
"Integration",
6161
"OrganizationAdmin",
6262
"RepositoryRole",
63-
"Team"
63+
"Team",
64+
"DeployKey"
6465
],
6566
"type": "string",
66-
"description": "The type of actor that can bypass a ruleset"
67+
"description": "The type of actor that can bypass a ruleset.\\n"
6768
},
6869
"bypass_mode": {
6970
"enum": [
7071
"always",
7172
"pull_request"
7273
],
7374
"type": "string",
74-
"description": "When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests."
75+
"description": "When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type.\\n"
7576
}
7677
},
7778
"description": "An actor that can bypass rules in a ruleset"
@@ -778,12 +779,12 @@
778779
"bypass_actors": [
779780
{
780781
"actor_id": 8,
781-
"actor_type": "Team",
782+
"actor_type": "DeployKey",
782783
"bypass_mode": "always"
783784
},
784785
{
785786
"actor_id": 8,
786-
"actor_type": "Team",
787+
"actor_type": "DeployKey",
787788
"bypass_mode": "always"
788789
}
789790
],

clients/GitHub/src/Schema/Repos/UpdateOrgRuleset/Request/ApplicationJson.php

+7-6
Original file line numberDiff line numberDiff line change
@@ -50,25 +50,26 @@
5050
"integer",
5151
"null"
5252
],
53-
"description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`."
53+
"description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories.\\n"
5454
},
5555
"actor_type": {
5656
"enum": [
5757
"Integration",
5858
"OrganizationAdmin",
5959
"RepositoryRole",
60-
"Team"
60+
"Team",
61+
"DeployKey"
6162
],
6263
"type": "string",
63-
"description": "The type of actor that can bypass a ruleset"
64+
"description": "The type of actor that can bypass a ruleset.\\n"
6465
},
6566
"bypass_mode": {
6667
"enum": [
6768
"always",
6869
"pull_request"
6970
],
7071
"type": "string",
71-
"description": "When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests."
72+
"description": "When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type.\\n"
7273
}
7374
},
7475
"description": "An actor that can bypass rules in a ruleset"
@@ -977,12 +978,12 @@
977978
"bypass_actors": [
978979
{
979980
"actor_id": 8,
980-
"actor_type": "Team",
981+
"actor_type": "DeployKey",
981982
"bypass_mode": "always"
982983
},
983984
{
984985
"actor_id": 8,
985-
"actor_type": "Team",
986+
"actor_type": "DeployKey",
986987
"bypass_mode": "always"
987988
}
988989
],

clients/GitHub/src/Schema/Repos/UpdateRepoRuleset/Request/ApplicationJson.php

+7-6
Original file line numberDiff line numberDiff line change
@@ -49,25 +49,26 @@
4949
"integer",
5050
"null"
5151
],
52-
"description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`."
52+
"description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories.\\n"
5353
},
5454
"actor_type": {
5555
"enum": [
5656
"Integration",
5757
"OrganizationAdmin",
5858
"RepositoryRole",
59-
"Team"
59+
"Team",
60+
"DeployKey"
6061
],
6162
"type": "string",
62-
"description": "The type of actor that can bypass a ruleset"
63+
"description": "The type of actor that can bypass a ruleset.\\n"
6364
},
6465
"bypass_mode": {
6566
"enum": [
6667
"always",
6768
"pull_request"
6869
],
6970
"type": "string",
70-
"description": "When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests."
71+
"description": "When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type.\\n"
7172
}
7273
},
7374
"description": "An actor that can bypass rules in a ruleset"
@@ -774,12 +775,12 @@
774775
"bypass_actors": [
775776
{
776777
"actor_id": 8,
777-
"actor_type": "Team",
778+
"actor_type": "DeployKey",
778779
"bypass_mode": "always"
779780
},
780781
{
781782
"actor_id": 8,
782-
"actor_type": "Team",
783+
"actor_type": "DeployKey",
783784
"bypass_mode": "always"
784785
}
785786
],

clients/GitHub/src/Schema/RepositoryRuleset.php

+7-6
Original file line numberDiff line numberDiff line change
@@ -73,25 +73,26 @@
7373
"integer",
7474
"null"
7575
],
76-
"description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`."
76+
"description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories.\\n"
7777
},
7878
"actor_type": {
7979
"enum": [
8080
"Integration",
8181
"OrganizationAdmin",
8282
"RepositoryRole",
83-
"Team"
83+
"Team",
84+
"DeployKey"
8485
],
8586
"type": "string",
86-
"description": "The type of actor that can bypass a ruleset"
87+
"description": "The type of actor that can bypass a ruleset.\\n"
8788
},
8889
"bypass_mode": {
8990
"enum": [
9091
"always",
9192
"pull_request"
9293
],
9394
"type": "string",
94-
"description": "When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests."
95+
"description": "When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type.\\n"
9596
}
9697
},
9798
"description": "An actor that can bypass rules in a ruleset"
@@ -1080,12 +1081,12 @@
10801081
"bypass_actors": [
10811082
{
10821083
"actor_id": 8,
1083-
"actor_type": "Team",
1084+
"actor_type": "DeployKey",
10841085
"bypass_mode": "always"
10851086
},
10861087
{
10871088
"actor_id": 8,
1088-
"actor_type": "Team",
1089+
"actor_type": "DeployKey",
10891090
"bypass_mode": "always"
10901091
}
10911092
],

clients/GitHub/src/Schema/RepositoryRulesetBypassActor.php

+9-8
Original file line numberDiff line numberDiff line change
@@ -21,25 +21,26 @@
2121
"integer",
2222
"null"
2323
],
24-
"description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`."
24+
"description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories.\\n"
2525
},
2626
"actor_type": {
2727
"enum": [
2828
"Integration",
2929
"OrganizationAdmin",
3030
"RepositoryRole",
31-
"Team"
31+
"Team",
32+
"DeployKey"
3233
],
3334
"type": "string",
34-
"description": "The type of actor that can bypass a ruleset"
35+
"description": "The type of actor that can bypass a ruleset.\\n"
3536
},
3637
"bypass_mode": {
3738
"enum": [
3839
"always",
3940
"pull_request"
4041
],
4142
"type": "string",
42-
"description": "When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests."
43+
"description": "When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type.\\n"
4344
}
4445
},
4546
"description": "An actor that can bypass rules in a ruleset"
@@ -48,14 +49,14 @@
4849
public const SCHEMA_DESCRIPTION = 'An actor that can bypass rules in a ruleset';
4950
public const SCHEMA_EXAMPLE_DATA = '{
5051
"actor_id": 8,
51-
"actor_type": "Team",
52+
"actor_type": "DeployKey",
5253
"bypass_mode": "always"
5354
}';
5455

5556
/**
56-
* actorId: The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`.
57-
* actorType: The type of actor that can bypass a ruleset
58-
* bypassMode: When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests.
57+
* actorId: The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories.
58+
* actorType: The type of actor that can bypass a ruleset.
59+
* bypassMode: When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type.
5960
*/
6061
public function __construct(#[MapFrom('actor_id')]
6162
public int|null $actorId, #[MapFrom('actor_type')]

0 commit comments

Comments
 (0)