Skip to content

Commit df2399d

Browse files
WyriHaximusgithub-actions[bot]
authored andcommitted
[GitHub] Update to 1.1.4-c1edbd9927fe103e94027b18d46aa0e4 from 1.1.4-a937c40b238be216f274ad4de79f6216
Detected Schema changes: ``` ├─┬Paths │ └─┬/advisories │ └─┬GET │ └─┬Parameters │ └─┬Schema │ ├──[➖] enum (270:13)❌ │ └──[➖] enum (269:13)❌ └─┬Components └─┬repository-ruleset-bypass-actor └─┬actor_type └──[➕] enum (73901:13) ``` | Document Element | Total Changes | Breaking Changes | |------------------|---------------|------------------| | paths | 2 | 2 | | components | 1 | 0 | Date: 08/31/24 | Commit: New: etc/specs/GitHub/previous.spec.yaml, Original: etc/specs/GitHub/current.spec.yaml - ❌ **BREAKING Changes**: _2_ out of _3_ - **Removals**: _2_ - **Additions**: _1_ - **Breaking Removals**: _2_ ERROR: breaking changes discovered
1 parent 6d25231 commit df2399d

File tree

17 files changed

+53
-61
lines changed

17 files changed

+53
-61
lines changed

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

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "a937c40b238be216f274ad4de79f6216",
2+
"specHash": "c1edbd9927fe103e94027b18d46aa0e4",
33
"generatedFiles": {
44
"files": [
55
{
@@ -524,7 +524,7 @@
524524
},
525525
{
526526
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRulesetBypassActor.php",
527-
"hash": "dc82239b09fe63b1697224ad37c0fdbd"
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": "c843f67c31fcd76ac582718ea47638f5"
607+
"hash": "7dc0b80dc766b24c64d6353f9288bca2"
608608
},
609609
{
610610
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/ActionsBillingUsage.php",
@@ -4628,11 +4628,11 @@
46284628
},
46294629
{
46304630
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Repos\/CreateOrgRuleset\/Request\/ApplicationJson.php",
4631-
"hash": "57e0474b30d9bfe4764fb68d55983a38"
4631+
"hash": "b0280f1996c06ebef0b59444546bdf93"
46324632
},
46334633
{
46344634
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Repos\/UpdateOrgRuleset\/Request\/ApplicationJson.php",
4635-
"hash": "1edeeea4b84e11b682c75c5c6b6b54c0"
4635+
"hash": "9edc8dc810d292fb2055f23e871ef364"
46364636
},
46374637
{
46384638
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Teams\/Create\/Request\/ApplicationJson.php",
@@ -5336,11 +5336,11 @@
53365336
},
53375337
{
53385338
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Repos\/CreateRepoRuleset\/Request\/ApplicationJson.php",
5339-
"hash": "ae95d1e1e52676761c3ba14775d38251"
5339+
"hash": "79f4c16806156c36377e7a95df81f8ec"
53405340
},
53415341
{
53425342
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Repos\/UpdateRepoRuleset\/Request\/ApplicationJson.php",
5343-
"hash": "2201c11f099d3ac2ea4ad74883a560af"
5343+
"hash": "200b734577fe064c81af8da3f7494686"
53445344
},
53455345
{
53465346
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/SecretScanning\/UpdateAlert\/Request\/ApplicationJson.php",
@@ -5548,7 +5548,7 @@
55485548
},
55495549
{
55505550
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/SecretScanning.php",
5551-
"hash": "e611c024166589048031495933a8698f"
5551+
"hash": "c3c8661a35c72576a99cb6e2e7f4d14b"
55525552
},
55535553
{
55545554
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Activity.php",
@@ -5612,7 +5612,7 @@
56125612
},
56135613
{
56145614
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Repos.php",
5615-
"hash": "4d3790eabc151160cd5dede3363231ae"
5615+
"hash": "af3d3a3094434c46deb56bfd146053fc"
56165616
},
56175617
{
56185618
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Billing.php",
@@ -5640,15 +5640,15 @@
56405640
},
56415641
{
56425642
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Git.php",
5643-
"hash": "dc01fd7566d7ce87c7c04128bdf0abf2"
5643+
"hash": "01a785f1d19fb5d3590bdac51ca1ca54"
56445644
},
56455645
{
56465646
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Pulls.php",
56475647
"hash": "d922518f8c93d21148f0207ad009c14a"
56485648
},
56495649
{
56505650
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/SecurityAdvisories.php",
5651-
"hash": "2aa5aeec88bf8febfdc6534579bd98cc"
5651+
"hash": "67428559cb53db9befa41253dc5d7da6"
56525652
},
56535653
{
56545654
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Search.php",
@@ -11800,15 +11800,15 @@
1180011800
},
1180111801
{
1180211802
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetCreated.php",
11803-
"hash": "2c3260075e7768a8b5b8800d6ae38ca2"
11803+
"hash": "4c877288af50a7b7334cb1bc2fd52324"
1180411804
},
1180511805
{
1180611806
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetDeleted.php",
11807-
"hash": "02db9d8e78d1d67bb97ca20eed00f61a"
11807+
"hash": "0dc395659ee136b10835c9fba64a5f11"
1180811808
},
1180911809
{
1181011810
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited.php",
11811-
"hash": "a7b4ff9e527950333fe8efd2489b1eb1"
11811+
"hash": "6dd804426a30e9e4498933adb821994b"
1181211812
},
1181311813
{
1181411814
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookDeploymentReviewApproved\/WorkflowRun\/Actor.php",
@@ -12124,7 +12124,7 @@
1212412124
},
1212512125
{
1212612126
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/SecurityAdvisories\/ListGlobalAdvisories.php",
12127-
"hash": "22ecc864eef12dfd0665e266cb5082df"
12127+
"hash": "a21940d43257f4ce8aed9a8bbb0d5023"
1212812128
},
1212912129
{
1213012130
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/SecurityAdvisories\/ListGlobalAdvisoriesTest.php",
@@ -24428,7 +24428,7 @@
2442824428
},
2442924429
{
2443024430
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/SecurityAdvisories.php",
24431-
"hash": "b835dbebbc02db726cee0166e6e4b2b5"
24431+
"hash": "f5f3320e7675e1cb808becb9e50870f5"
2443224432
},
2443324433
{
2443424434
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Apps.php",
@@ -24948,7 +24948,7 @@
2494824948
},
2494924949
{
2495024950
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Two.php",
24951-
"hash": "589274e4f834a3a056adcad981a7ab4a"
24951+
"hash": "3eeaba9defd38317f28edc94eec69799"
2495224952
},
2495324953
{
2495424954
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Three.php",
@@ -27776,11 +27776,11 @@
2777627776
},
2777727777
{
2777827778
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php",
27779-
"hash": "2e22a66b2be765d7ac4ab913343d6f6d"
27779+
"hash": "b279bfe420072ca3881b316b41cde25a"
2778027780
},
2778127781
{
2778227782
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php",
27783-
"hash": "8a8d801112f2c02eb6abab83fef30757"
27783+
"hash": "a3cd037b10acacb7fbfa8165f0c08dac"
2778427784
},
2778527785
{
2778627786
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon",

clients/GitHub/src/Internal/Operator/SecurityAdvisories/ListGlobalAdvisories.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27-
/** @return iterable<int,Schema\GlobalAdvisory> */
27+
/** @return Observable<Schema\GlobalAdvisory> */
2828
public function call(string $ghsaId, string $cveId, string $ecosystem, string $severity, $cwes, bool $isWithdrawn, $affects, string $published, string $updated, string $modified, string $epssPercentage, string $epssPercentile, string $before, string $after, string $type = 'reviewed', string $direction = 'desc', int $perPage = 30, string $sort = 'published'): iterable
2929
{
3030
$operation = new \ApiClients\Client\GitHub\Internal\Operation\SecurityAdvisories\ListGlobalAdvisories($this->responseSchemaValidator, $this->hydrator, $ghsaId, $cveId, $ecosystem, $severity, $cwes, $isWithdrawn, $affects, $published, $updated, $modified, $epssPercentage, $epssPercentile, $before, $after, $type, $direction, $perPage, $sort);

clients/GitHub/src/Internal/Router/Get/SecurityAdvisories.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function __construct(private SchemaValidator $requestSchemaValidator, pri
2121
{
2222
}
2323

24-
/** @return iterable<int,Schema\GlobalAdvisory> */
24+
/** @return Observable<Schema\GlobalAdvisory> */
2525
public function listGlobalAdvisories(array $params): iterable
2626
{
2727
$arguments = [];

clients/GitHub/src/Internal/Router/Get/Two.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function __construct(private Routers $routers)
2222
{
2323
}
2424

25-
/** @return iterable<int,Schema\GlobalAdvisory>||Observable<Schema\SimpleClassroom>|Observable<Schema\CodeOfConduct>|WithoutBody|Observable<Schema\Event>|Observable<Schema\BaseGist>|Observable<Schema\Issue>|Observable<Schema\LicenseSimple>|Observable<Schema\Thread>|Observable<Schema\OrganizationSimple>|Observable<Schema\MinimalRepository>|Observable<Schema\SimpleUser>|Observable<string> */
25+
/** @return Observable<Schema\GlobalAdvisory>||Observable<Schema\SimpleClassroom>|Observable<Schema\CodeOfConduct>|WithoutBody|Observable<Schema\Event>|Observable<Schema\BaseGist>|Observable<Schema\Issue>|Observable<Schema\LicenseSimple>|Observable<Schema\Thread>|Observable<Schema\OrganizationSimple>|Observable<Schema\MinimalRepository>|Observable<Schema\SimpleUser>|Observable<string> */
2626
public function call(string $call, array $params, array $pathChunks): iterable|Integration|WithoutBody|Json|Feed|ApiOverview|ResponseInterface|RateLimitOverview|PrivateUser|PublicUser|string
2727
{
2828
if ($pathChunks[0] === '') {

clients/GitHub/src/Operation/SecurityAdvisories.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function __construct(private Internal\Operators $operators)
1717
{
1818
}
1919

20-
/** @return iterable<int,Schema\GlobalAdvisory> */
20+
/** @return Observable<Schema\GlobalAdvisory> */
2121
public function listGlobalAdvisories(string $ghsaId, string $cveId, string $ecosystem, string $severity, mixed $cwes, bool $isWithdrawn, mixed $affects, string $published, string $updated, string $modified, string $epssPercentage, string $epssPercentile, string $before, string $after, string $type, string $direction, int $perPage, string $sort): iterable
2222
{
2323
return $this->operators->securityAdvisories👷ListGlobalAdvisories()->call($ghsaId, $cveId, $ecosystem, $severity, $cwes, $isWithdrawn, $affects, $published, $updated, $modified, $epssPercentage, $epssPercentile, $before, $after, $type, $direction, $perPage, $sort);

clients/GitHub/src/PHPStan/ClientCallReturnTypes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method
4848
}
4949

5050
if ($call === 'GET /advisories') {
51-
return $this->typeResolver->resolve('iterable<int,Schema\\GlobalAdvisory>');
51+
return $this->typeResolver->resolve('Observable<Schema\\GlobalAdvisory>');
5252
}
5353

5454
if ($call === 'GET /advisories/{ghsa_id}') {

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@
6363
"OrganizationAdmin",
6464
"RepositoryRole",
6565
"Team",
66-
"DeployKey",
67-
"EnterpriseTeam"
66+
"DeployKey"
6867
],
6968
"type": "string",
7069
"description": "The type of actor that can bypass a ruleset.\\n"
@@ -1150,12 +1149,12 @@
11501149
"bypass_actors": [
11511150
{
11521151
"actor_id": 8,
1153-
"actor_type": "EnterpriseTeam",
1152+
"actor_type": "DeployKey",
11541153
"bypass_mode": "always"
11551154
},
11561155
{
11571156
"actor_id": 8,
1158-
"actor_type": "EnterpriseTeam",
1157+
"actor_type": "DeployKey",
11591158
"bypass_mode": "always"
11601159
}
11611160
],

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,7 @@
6262
"OrganizationAdmin",
6363
"RepositoryRole",
6464
"Team",
65-
"DeployKey",
66-
"EnterpriseTeam"
65+
"DeployKey"
6766
],
6867
"type": "string",
6968
"description": "The type of actor that can bypass a ruleset.\\n"
@@ -931,12 +930,12 @@
931930
"bypass_actors": [
932931
{
933932
"actor_id": 8,
934-
"actor_type": "EnterpriseTeam",
933+
"actor_type": "DeployKey",
935934
"bypass_mode": "always"
936935
},
937936
{
938937
"actor_id": 8,
939-
"actor_type": "EnterpriseTeam",
938+
"actor_type": "DeployKey",
940939
"bypass_mode": "always"
941940
}
942941
],

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@
5858
"OrganizationAdmin",
5959
"RepositoryRole",
6060
"Team",
61-
"DeployKey",
62-
"EnterpriseTeam"
61+
"DeployKey"
6362
],
6463
"type": "string",
6564
"description": "The type of actor that can bypass a ruleset.\\n"
@@ -1145,12 +1144,12 @@
11451144
"bypass_actors": [
11461145
{
11471146
"actor_id": 8,
1148-
"actor_type": "EnterpriseTeam",
1147+
"actor_type": "DeployKey",
11491148
"bypass_mode": "always"
11501149
},
11511150
{
11521151
"actor_id": 8,
1153-
"actor_type": "EnterpriseTeam",
1152+
"actor_type": "DeployKey",
11541153
"bypass_mode": "always"
11551154
}
11561155
],

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@
5757
"OrganizationAdmin",
5858
"RepositoryRole",
5959
"Team",
60-
"DeployKey",
61-
"EnterpriseTeam"
60+
"DeployKey"
6261
],
6362
"type": "string",
6463
"description": "The type of actor that can bypass a ruleset.\\n"
@@ -926,12 +925,12 @@
926925
"bypass_actors": [
927926
{
928927
"actor_id": 8,
929-
"actor_type": "EnterpriseTeam",
928+
"actor_type": "DeployKey",
930929
"bypass_mode": "always"
931930
},
932931
{
933932
"actor_id": 8,
934-
"actor_type": "EnterpriseTeam",
933+
"actor_type": "DeployKey",
935934
"bypass_mode": "always"
936935
}
937936
],

clients/GitHub/src/Schema/RepositoryRuleset.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,7 @@
8181
"OrganizationAdmin",
8282
"RepositoryRole",
8383
"Team",
84-
"DeployKey",
85-
"EnterpriseTeam"
84+
"DeployKey"
8685
],
8786
"type": "string",
8887
"description": "The type of actor that can bypass a ruleset.\\n"
@@ -1248,12 +1247,12 @@
12481247
"bypass_actors": [
12491248
{
12501249
"actor_id": 8,
1251-
"actor_type": "EnterpriseTeam",
1250+
"actor_type": "DeployKey",
12521251
"bypass_mode": "always"
12531252
},
12541253
{
12551254
"actor_id": 8,
1256-
"actor_type": "EnterpriseTeam",
1255+
"actor_type": "DeployKey",
12571256
"bypass_mode": "always"
12581257
}
12591258
],

clients/GitHub/src/Schema/RepositoryRulesetBypassActor.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@
2929
"OrganizationAdmin",
3030
"RepositoryRole",
3131
"Team",
32-
"DeployKey",
33-
"EnterpriseTeam"
32+
"DeployKey"
3433
],
3534
"type": "string",
3635
"description": "The type of actor that can bypass a ruleset.\\n"
@@ -50,7 +49,7 @@
5049
public const SCHEMA_DESCRIPTION = 'An actor that can bypass rules in a ruleset';
5150
public const SCHEMA_EXAMPLE_DATA = '{
5251
"actor_id": 8,
53-
"actor_type": "EnterpriseTeam",
52+
"actor_type": "DeployKey",
5453
"bypass_mode": "always"
5554
}';
5655

clients/GitHub/src/Schema/WebhookRepositoryRulesetCreated.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1786,8 +1786,7 @@
17861786
"OrganizationAdmin",
17871787
"RepositoryRole",
17881788
"Team",
1789-
"DeployKey",
1790-
"EnterpriseTeam"
1789+
"DeployKey"
17911790
],
17921791
"type": "string",
17931792
"description": "The type of actor that can bypass a ruleset.\\n"
@@ -3426,12 +3425,12 @@
34263425
"bypass_actors": [
34273426
{
34283427
"actor_id": 8,
3429-
"actor_type": "EnterpriseTeam",
3428+
"actor_type": "DeployKey",
34303429
"bypass_mode": "always"
34313430
},
34323431
{
34333432
"actor_id": 8,
3434-
"actor_type": "EnterpriseTeam",
3433+
"actor_type": "DeployKey",
34353434
"bypass_mode": "always"
34363435
}
34373436
],

clients/GitHub/src/Schema/WebhookRepositoryRulesetDeleted.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1786,8 +1786,7 @@
17861786
"OrganizationAdmin",
17871787
"RepositoryRole",
17881788
"Team",
1789-
"DeployKey",
1790-
"EnterpriseTeam"
1789+
"DeployKey"
17911790
],
17921791
"type": "string",
17931792
"description": "The type of actor that can bypass a ruleset.\\n"
@@ -3426,12 +3425,12 @@
34263425
"bypass_actors": [
34273426
{
34283427
"actor_id": 8,
3429-
"actor_type": "EnterpriseTeam",
3428+
"actor_type": "DeployKey",
34303429
"bypass_mode": "always"
34313430
},
34323431
{
34333432
"actor_id": 8,
3434-
"actor_type": "EnterpriseTeam",
3433+
"actor_type": "DeployKey",
34353434
"bypass_mode": "always"
34363435
}
34373436
],

0 commit comments

Comments
 (0)