Skip to content

Commit 62c3b14

Browse files
WyriHaximusgithub-actions[bot]
authored andcommitted
[GitHub] Update to 1.1.4-4c2735d9a9f96c728ea6fe83fc500acd from 1.1.4-4d0175f50c5e15e911018fc5f4b5fee8
Detected Schema changes: starting work. Building original model for commit e92b5b SPEC: extracted 2 commits from history ``` └─┬Paths └─┬/repos/{owner}/{repo}/branches └─┬GET └─┬Parameters └──[🔀] description (18888:22) ``` | Document Element | Total Changes | Breaking Changes | |------------------|---------------|------------------| | paths | 1 | 0 | Date: 05/17/24 | Commit: New: etc/specs/GitHub/previous.spec.yaml, Original: etc/specs/GitHub/current.spec.yaml **Total Changes**: _1_ - **Modifications**: _1_ DONE: completed
1 parent ce2a8bc commit 62c3b14

21 files changed

+55
-46
lines changed

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

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "4d0175f50c5e15e911018fc5f4b5fee8",
2+
"specHash": "4c2735d9a9f96c728ea6fe83fc500acd",
33
"generatedFiles": {
44
"files": [
55
{
@@ -5592,7 +5592,7 @@
55925592
},
55935593
{
55945594
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/CodeScanning.php",
5595-
"hash": "e430bf6423bd98ec1f88c3cd249c7b04"
5595+
"hash": "d599fcaedb0c6c74477899c0e7fac353"
55965596
},
55975597
{
55985598
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Codespaces.php",
@@ -5616,7 +5616,7 @@
56165616
},
56175617
{
56185618
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Repos.php",
5619-
"hash": "4c7a840e4808d0c8d6ffd9144fd81247"
5619+
"hash": "903b23ef72729c8f4f83db91c5106cd3"
56205620
},
56215621
{
56225622
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Billing.php",
@@ -17136,23 +17136,23 @@
1713617136
},
1713717137
{
1713817138
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Repos\/ListBranches.php",
17139-
"hash": "ae9ed405c4163e0d1d07cc8f424bc34b"
17139+
"hash": "83ead7cc93d627b43c4f3a46629b696c"
1714017140
},
1714117141
{
1714217142
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Repos\/ListBranches.php",
17143-
"hash": "b575a3ab4970b02fb7f2a7e9a5209074"
17143+
"hash": "6c6e34826b718e903ddf99ef06dc3296"
1714417144
},
1714517145
{
1714617146
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Repos\/ListBranchesTest.php",
1714717147
"hash": "0e39b9ef342b7c05c639c086f8f67cec"
1714817148
},
1714917149
{
1715017150
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Repos\/ListBranchesListing.php",
17151-
"hash": "506876ba3bd5900a4c4603e66a287d6c"
17151+
"hash": "5093f04e14e50ac3950309a5a8ec1229"
1715217152
},
1715317153
{
1715417154
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Repos\/ListBranchesListing.php",
17155-
"hash": "361f96ad8c2932d4d8065ff838162943"
17155+
"hash": "db1e291da75599c277ec770db47f4d28"
1715617156
},
1715717157
{
1715817158
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Repos\/ListBranchesListingTest.php",
@@ -24544,7 +24544,7 @@
2454424544
},
2454524545
{
2454624546
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Repos.php",
24547-
"hash": "4d1f695e10a9963cd8f8b2e70d2d11de"
24547+
"hash": "4724c72ad8cfaaa74d65f76bed0dd937"
2454824548
},
2454924549
{
2455024550
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Users.php",
@@ -24596,7 +24596,7 @@
2459624596
},
2459724597
{
2459824598
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/CodeScanning.php",
24599-
"hash": "ff7239242b7aab22a8aa4a792933fecf"
24599+
"hash": "e41f383549485294f8cbc8407ca9b7c7"
2460024600
},
2460124601
{
2460224602
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Copilot.php",
@@ -24672,7 +24672,7 @@
2467224672
},
2467324673
{
2467424674
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Post\/CodeScanning.php",
24675-
"hash": "70fb4d7f1466b79d14f85a01a0fbf0c0"
24675+
"hash": "80ad009cf4674fc756c79790c79554a7"
2467624676
},
2467724677
{
2467824678
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Post\/DependencyGraph.php",
@@ -24820,7 +24820,7 @@
2482024820
},
2482124821
{
2482224822
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/List\/Repos.php",
24823-
"hash": "91846cea69243c2f2d085dfecc115551"
24823+
"hash": "30fbe92bbcbc65f5abe627391e73ce0a"
2482424824
},
2482524825
{
2482624826
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/List\/Activity.php",
@@ -25036,7 +25036,7 @@
2503625036
},
2503725037
{
2503825038
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Five.php",
25039-
"hash": "4e1280a9e1f8f0b03f90ce4bb54930c1"
25039+
"hash": "85eff63ac859a968e81e21aa60f1bc33"
2504025040
},
2504125041
{
2504225042
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php",
@@ -25048,7 +25048,7 @@
2504825048
},
2504925049
{
2505025050
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Eight.php",
25051-
"hash": "44cadd70c762ca4ba37d750ea523572d"
25051+
"hash": "59c87acfb9e14c210b4c997bdde01a04"
2505225052
},
2505325053
{
2505425054
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Nine.php",
@@ -25080,7 +25080,7 @@
2508025080
},
2508125081
{
2508225082
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Seven.php",
25083-
"hash": "9df646f3f23921945ab2df4f060c5279"
25083+
"hash": "0757a3df765c9329d99b86bc13977965"
2508425084
},
2508525085
{
2508625086
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Eight.php",
@@ -25140,7 +25140,7 @@
2514025140
},
2514125141
{
2514225142
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/List\/Five.php",
25143-
"hash": "847f3fb360c2b185cfe50d6fb2ad225b"
25143+
"hash": "a64449f4a362a597044882fef153ba7f"
2514425144
},
2514525145
{
2514625146
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/List\/Six.php",
@@ -27868,11 +27868,11 @@
2786827868
},
2786927869
{
2787027870
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php",
27871-
"hash": "25a427674ef8c3bf5208e98d12209649"
27871+
"hash": "014746d97f5897102f1eb8fb3e390391"
2787227872
},
2787327873
{
2787427874
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php",
27875-
"hash": "a24900c8c00b62bb193a2027dfaf5b5f"
27875+
"hash": "023a0b6cafbd4b20d5dbcd6da3b3fc87"
2787627876
},
2787727877
{
2787827878
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon",
@@ -29668,7 +29668,7 @@
2966829668
},
2966929669
{
2967029670
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/CodeScanning\/CreateVariantAnalysis.php",
29671-
"hash": "a46c35c85141aed2c49302181b5dce42"
29671+
"hash": "8a392e558e8fc43b1601a612207dc7e2"
2967229672
},
2967329673
{
2967429674
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/CodeScanning\/CreateVariantAnalysisTest.php",
@@ -29680,7 +29680,7 @@
2968029680
},
2968129681
{
2968229682
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/CodeScanning\/GetVariantAnalysis.php",
29683-
"hash": "6e8efcca816239c66374235f2982f4b7"
29683+
"hash": "49df5c74fb04f4db5adb7ecc1da44900"
2968429684
},
2968529685
{
2968629686
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/CodeScanning\/GetVariantAnalysisTest.php",
@@ -29692,7 +29692,7 @@
2969229692
},
2969329693
{
2969429694
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/CodeScanning\/GetVariantAnalysisRepoTask.php",
29695-
"hash": "c1d60fee146ef01b35ebaf995e2f345e"
29695+
"hash": "28ec7fe04e45fc702fd7b4250fe6b1e1"
2969629696
},
2969729697
{
2969829698
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/CodeScanning\/GetVariantAnalysisRepoTaskTest.php",
@@ -29740,7 +29740,7 @@
2974029740
},
2974129741
{
2974229742
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Eleven.php",
29743-
"hash": "9afc3b28d8ca9b1e7230b4cfb53448dc"
29743+
"hash": "ca6a6ced5c8d4f1ae400c1d76122ea9e"
2974429744
},
2974529745
{
2974629746
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/CodeScanning\/Codeql\/VariantAnalyses.php",

clients/GitHub/src/Internal/Operation/Repos/ListBranches.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ final class ListBranches
2929
private string $owner;
3030
/**The name of the repository without the `.git` extension. The name is not case sensitive. **/
3131
private string $repo;
32-
/**Setting to `true` returns only protected branches. When set to `false`, only unprotected branches are returned. Omitting this parameter returns all branches. **/
32+
/**Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. Omitting this parameter returns all branches. **/
3333
private bool $protected;
3434
/**The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." **/
3535
private int $perPage;

clients/GitHub/src/Internal/Operation/Repos/ListBranchesListing.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ final class ListBranchesListing
2929
private string $owner;
3030
/**The name of the repository without the `.git` extension. The name is not case sensitive. **/
3131
private string $repo;
32-
/**Setting to `true` returns only protected branches. When set to `false`, only unprotected branches are returned. Omitting this parameter returns all branches. **/
32+
/**Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. Omitting this parameter returns all branches. **/
3333
private bool $protected;
3434
/**The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." **/
3535
private int $perPage;

clients/GitHub/src/Internal/Operator/CodeScanning/CreateVariantAnalysis.php

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

27+
/** @return */
2728
public function call(string $owner, string $repo, array $params): CodeScanningVariantAnalysis
2829
{
2930
$operation = new \ApiClients\Client\GitHub\Internal\Operation\CodeScanning\CreateVariantAnalysis($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $owner, $repo);

clients/GitHub/src/Internal/Operator/CodeScanning/GetVariantAnalysis.php

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

27+
/** @return */
2728
public function call(string $owner, string $repo, int $codeqlVariantAnalysisId): CodeScanningVariantAnalysis
2829
{
2930
$operation = new \ApiClients\Client\GitHub\Internal\Operation\CodeScanning\GetVariantAnalysis($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $codeqlVariantAnalysisId);

clients/GitHub/src/Internal/Operator/CodeScanning/GetVariantAnalysisRepoTask.php

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

27+
/** @return */
2728
public function call(string $owner, string $repo, int $codeqlVariantAnalysisId, string $repoOwner, string $repoName): CodeScanningVariantAnalysisRepoTask
2829
{
2930
$operation = new \ApiClients\Client\GitHub\Internal\Operation\CodeScanning\GetVariantAnalysisRepoTask($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $codeqlVariantAnalysisId, $repoOwner, $repoName);

clients/GitHub/src/Internal/Operator/Repos/ListBranches.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 Observable<Schema\ShortBranch> */
27+
/** @return iterable<int,Schema\ShortBranch> */
2828
public function call(string $owner, string $repo, bool $protected, int $perPage = 30, int $page = 1): iterable
2929
{
3030
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Repos\ListBranches($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $protected, $perPage, $page);

clients/GitHub/src/Internal/Operator/Repos/ListBranchesListing.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 Observable<Schema\ShortBranch> */
27+
/** @return iterable<int,Schema\ShortBranch> */
2828
public function call(string $owner, string $repo, bool $protected, int $perPage = 30, int $page = 1): iterable
2929
{
3030
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Repos\ListBranchesListing($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $protected, $perPage, $page);

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,7 @@ public function getCodeqlDatabase(array $params): CodeScanningCodeqlDatabase|Wit
441441
return $operator->call($arguments['owner'], $arguments['repo'], $arguments['language']);
442442
}
443443

444+
/** @return */
444445
public function getVariantAnalysis(array $params): CodeScanningVariantAnalysis
445446
{
446447
$arguments = [];
@@ -467,6 +468,7 @@ public function getVariantAnalysis(array $params): CodeScanningVariantAnalysis
467468
return $operator->call($arguments['owner'], $arguments['repo'], $arguments['codeql_variant_analysis_id']);
468469
}
469470

471+
/** @return */
470472
public function getVariantAnalysisRepoTask(array $params): CodeScanningVariantAnalysisRepoTask
471473
{
472474
$arguments = [];

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function __construct(private Routers $routers)
3535
{
3636
}
3737

38-
/** @return |Observable<Schema\TeamDiscussionComment>|Observable<Schema\Reaction>|Observable<Schema\EnvironmentApprovals>|Observable<Schema\PendingDeployment>|Observable<Schema\CodeScanningAlertInstance>|Schema\CodeScanningVariantAnalysis|Observable<Schema\SecretScanningLocation>|WithoutBody */
38+
/** @return |Observable<Schema\TeamDiscussionComment>|Observable<Schema\Reaction>|Observable<Schema\EnvironmentApprovals>|Observable<Schema\PendingDeployment>|Observable<Schema\CodeScanningAlertInstance>|Observable<Schema\SecretScanningLocation>|WithoutBody */
3939
public function call(string $call, array $params, array $pathChunks): PackageVersion|iterable|TeamRepository|WithoutBody|OidcCustomSubRepo|Ok|Json|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListJobsForWorkflowRun\Response\ApplicationJson\Ok\Application\Json|WorkflowRunUsage|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListWorkflowRuns\Response\ApplicationJson\Ok\Application\Json|WorkflowUsage|ProtectedBranchAdminEnforced|ProtectedBranchPullRequestReview|StatusCheckPolicy|BranchRestrictionPolicy|CodeScanningCodeqlDatabase|CodeScanningVariantAnalysis|DeploymentStatus|DeploymentBranchPolicy|\ApiClients\Client\GitHub\Schema\Operations\Repos\ListCustomDeploymentRuleIntegrations\Response\ApplicationJson\Ok|DeploymentProtectionRule|ActionsPublicKey|ActionsSecret|ActionsVariable|HookDelivery|PullRequestReview
4040
{
4141
if ($pathChunks[0] === '') {

0 commit comments

Comments
 (0)