Skip to content

Commit fb95f8f

Browse files
authored
Merge pull request #1159 from php-api-clients/GitHubEnterpriseCloud/from-1.1.4-99f411f7f18a1da0bbc577ba30199924-from-1.1.4-99f411f7f18a1da0bbc577ba30199924
2 parents 9e8da6a + e6abf71 commit fb95f8f

File tree

11 files changed

+92
-79
lines changed

11 files changed

+92
-79
lines changed

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "7ace961aea14155d2380a81a7fa7717c",
2+
"specHash": "99f411f7f18a1da0bbc577ba30199924",
33
"generatedFiles": {
44
"files": [
55
{
@@ -636,7 +636,7 @@
636636
},
637637
{
638638
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/RepositoryRulesetBypassActor.php",
639-
"hash": "6c8cd55b8ab5cb93878a3ccd9f918199"
639+
"hash": "da5558c25d72365e22f30e3ebdf01c3a"
640640
},
641641
{
642642
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/RepositoryRulesetConditions.php",
@@ -716,7 +716,7 @@
716716
},
717717
{
718718
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/RepositoryRuleset.php",
719-
"hash": "84a345cf225e482111021dfe32cf471c"
719+
"hash": "99b917017d4663f3237eaa576816e4fc"
720720
},
721721
{
722722
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/GroupMapping.php",
@@ -4932,11 +4932,11 @@
49324932
},
49334933
{
49344934
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Repos\/CreateOrgRuleset\/Request\/ApplicationJson.php",
4935-
"hash": "8dd2b7cd844b60cd7fd16a5b267e0b0e"
4935+
"hash": "a5b4092457f1dee501218b13a537fdeb"
49364936
},
49374937
{
49384938
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Repos\/UpdateOrgRuleset\/Request\/ApplicationJson.php",
4939-
"hash": "2293d2ee119becd75401243ba891aad0"
4939+
"hash": "c6d9336d90cf12eb2960209d66e27e10"
49404940
},
49414941
{
49424942
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Teams\/Create\/Request\/ApplicationJson.php",
@@ -5652,11 +5652,11 @@
56525652
},
56535653
{
56545654
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Repos\/CreateRepoRuleset\/Request\/ApplicationJson.php",
5655-
"hash": "f21b166051d440f6a1244b4682eecb5d"
5655+
"hash": "c8b6e5a2bb0aa888776d76de3c4a5ab7"
56565656
},
56575657
{
56585658
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Repos\/UpdateRepoRuleset\/Request\/ApplicationJson.php",
5659-
"hash": "5775162c02726e3e0aabb537cf19507a"
5659+
"hash": "cf8f93fb2f6ea430d9ab08ab8704f74b"
56605660
},
56615661
{
56625662
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/SecretScanning\/UpdateAlert\/Request\/ApplicationJson.php",
@@ -6008,7 +6008,7 @@
60086008
},
60096009
{
60106010
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Pulls.php",
6011-
"hash": "de2c25c9cb75e3ac17a7889ad5296a73"
6011+
"hash": "e28481d1ae839ea433eae30e279e3692"
60126012
},
60136013
{
60146014
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/SecurityAdvisories.php",
@@ -12256,7 +12256,7 @@
1225612256
},
1225712257
{
1225812258
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Copilot.php",
12259-
"hash": "95f304431801c07a760f3f75a4f10726"
12259+
"hash": "aec4b4f8e530e62549618bfb4831e00c"
1226012260
},
1226112261
{
1226212262
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CheckAutomatedSecurityFixes.php",
@@ -12340,15 +12340,15 @@
1234012340
},
1234112341
{
1234212342
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetCreated.php",
12343-
"hash": "a3355e1d02ca75f350c4f199bafc4385"
12343+
"hash": "f3a8f7624029715f99ec466d41077079"
1234412344
},
1234512345
{
1234612346
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetDeleted.php",
12347-
"hash": "3766bcfecefaffb41fc7383407763b60"
12347+
"hash": "180c9ed2f2d9cb102eed3b28594706fb"
1234812348
},
1234912349
{
1235012350
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited.php",
12351-
"hash": "430a02716e873f8888d95d2d43719038"
12351+
"hash": "c05b11cf30ec92784bd6ec6be81bc3ac"
1235212352
},
1235312353
{
1235412354
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Operations\/SecurityAdvisories\/CreateRepositoryAdvisoryCveRequest\/Response\/ApplicationJson\/Accepted.php",

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

Lines changed: 7 additions & 6 deletions
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/GitHubEnterpriseCloud/src/Schema/Repos/CreateRepoRuleset/Request/ApplicationJson.php

Lines changed: 7 additions & 6 deletions
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/GitHubEnterpriseCloud/src/Schema/Repos/UpdateOrgRuleset/Request/ApplicationJson.php

Lines changed: 7 additions & 6 deletions
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/GitHubEnterpriseCloud/src/Schema/Repos/UpdateRepoRuleset/Request/ApplicationJson.php

Lines changed: 7 additions & 6 deletions
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/GitHubEnterpriseCloud/src/Schema/RepositoryRuleset.php

Lines changed: 7 additions & 6 deletions
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/GitHubEnterpriseCloud/src/Schema/RepositoryRulesetBypassActor.php

Lines changed: 9 additions & 8 deletions
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)