Skip to content

Commit 33ec8c5

Browse files
WyriHaximusgithub-actions[bot]
authored andcommitted
[GitHub] Update to 1.1.4-49e6f9eda2f9b53adb152deaeefd9f73 from 1.1.4-90291aa8f69083a3b160c871835515fc
Detected Schema changes: starting work. Building original model for commit a4d79f SPEC: extracted 2 commits from history ``` ├─┬Paths │ └─┬/repos/{owner}/{repo}/contents/{path} │ └─┬GET │ └─┬Responses │ └──[➖] codes (220927:7)❌ └─┬Components └─┬secret-scanning-alert-webhook └──[➖] properties (97513:9)❌ ``` | Document Element | Total Changes | Breaking Changes | |------------------|---------------|------------------| | paths | 1 | 1 | | components | 1 | 1 | Date: 06/11/24 | Commit: New: etc/specs/GitHub/previous.spec.yaml, Original: etc/specs/GitHub/current.spec.yaml - ❌ **BREAKING Changes**: _2_ out of _2_ - **Removals**: _2_ - **Breaking Removals**: _2_ ERROR: breaking changes discovered
1 parent 8906df8 commit 33ec8c5

18 files changed

+142
-24
lines changed

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

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "90291aa8f69083a3b160c871835515fc",
2+
"specHash": "49e6f9eda2f9b53adb152deaeefd9f73",
33
"generatedFiles": {
44
"files": [
55
{
@@ -2380,23 +2380,23 @@
23802380
},
23812381
{
23822382
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookSecretScanningAlertCreated.php",
2383-
"hash": "42796416632eb7cb58d1e1161d2ad952"
2383+
"hash": "fc9c6c7c6441d8c5fda57fa53b4cebf4"
23842384
},
23852385
{
23862386
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookSecretScanningAlertLocationCreated.php",
2387-
"hash": "c1c7b32e35015a0ffb138c972ab0f5e1"
2387+
"hash": "f673b00f2cbc6b58521311e193d8dc71"
23882388
},
23892389
{
23902390
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookSecretScanningAlertLocationCreatedFormEncoded.php",
23912391
"hash": "17d7507311a5c4dbf9b47815091b9d1a"
23922392
},
23932393
{
23942394
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookSecretScanningAlertReopened.php",
2395-
"hash": "6e875ed0f63836ae381e9bc7c0674495"
2395+
"hash": "4c6f2959f570631b1370c9cf31dc44f7"
23962396
},
23972397
{
23982398
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookSecretScanningAlertResolved.php",
2399-
"hash": "a7318c11f4f8eebbf3da10aba0624516"
2399+
"hash": "e18f51d39ff4fd8533080193b1ba1e39"
24002400
},
24012401
{
24022402
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookSecurityAdvisoryPublished.php",
@@ -5612,7 +5612,7 @@
56125612
},
56135613
{
56145614
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Repos.php",
5615-
"hash": "4c7a840e4808d0c8d6ffd9144fd81247"
5615+
"hash": "a21819b5b3b7a443062a4e276dc644bd"
56165616
},
56175617
{
56185618
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Billing.php",
@@ -11800,7 +11800,7 @@
1180011800
},
1180111801
{
1180211802
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/SecretScanningAlertWebhook.php",
11803-
"hash": "407419c8cc492ede2b43ab1f3a348b55"
11803+
"hash": "f0c9d1058a4f69e3f0e97a401b09cde7"
1180411804
},
1180511805
{
1180611806
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/Tiet649F32EB\/TietC13659D6\/Tiet0B408A31\/TietF85C8E0E.php",
@@ -18384,15 +18384,15 @@
1838418384
},
1838518385
{
1838618386
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Repos\/GetContent.php",
18387-
"hash": "a3b341eb9b983469c0b5e91be42fc421"
18387+
"hash": "b66c0d30868170c3bcf3f666c67ffcfc"
1838818388
},
1838918389
{
1839018390
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Repos\/GetContent.php",
18391-
"hash": "41dafdf79ff5731e202003c50cd33ed5"
18391+
"hash": "6dda1eee9e286a64daa647503cb8d778"
1839218392
},
1839318393
{
1839418394
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Repos\/GetContentTest.php",
18395-
"hash": "d20f6599c46edcf5fc1fa089f4b2529d"
18395+
"hash": "f959d1216cc162165f22ad6f3d08e75c"
1839618396
},
1839718397
{
1839818398
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Repos\/CreateOrUpdateFileContents.php",
@@ -24540,7 +24540,7 @@
2454024540
},
2454124541
{
2454224542
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Repos.php",
24543-
"hash": "4d1f695e10a9963cd8f8b2e70d2d11de"
24543+
"hash": "22fa28ba8fe25cb0fc8ec0213e0a29f0"
2454424544
},
2454524545
{
2454624546
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Users.php",
@@ -25036,7 +25036,7 @@
2503625036
},
2503725037
{
2503825038
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php",
25039-
"hash": "147555754780b5408e6bdfb6561e2110"
25039+
"hash": "dfffd0f26a3f969d8d937bb6b3ddb983"
2504025040
},
2504125041
{
2504225042
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Seven.php",
@@ -27860,11 +27860,11 @@
2786027860
},
2786127861
{
2786227862
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php",
27863-
"hash": "51b4dab62e2beb85905e195adc171a76"
27863+
"hash": "8aa5147af69d96895d72bc4d79b341d5"
2786427864
},
2786527865
{
2786627866
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php",
27867-
"hash": "3436911a55388d4ad5fe3a863f381079"
27867+
"hash": "194e4e5eaf64a8812d232273edd2eec8"
2786827868
},
2786927869
{
2787027870
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon",
@@ -28388,11 +28388,11 @@
2838828388
},
2838928389
{
2839028390
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/WebHook\/SecretScanningAlert.php",
28391-
"hash": "1621b9c57c53b43ddaebc74fc442ae0b"
28391+
"hash": "434980ad1d1e2e6fc2c0210933970198"
2839228392
},
2839328393
{
2839428394
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/WebHook\/SecretScanningAlertLocation.php",
28395-
"hash": "87ee7faafaae791c9fda7b56e11e5f54"
28395+
"hash": "e08bd1c1b30fac68e1de7ab7aeb6a206"
2839628396
},
2839728397
{
2839828398
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/WebHook\/SecurityAdvisory.php",
@@ -28760,7 +28760,7 @@
2876028760
},
2876128761
{
2876228762
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookSecretScanningAlertValidated.php",
28763-
"hash": "2595d6ea0e38603d28081c5000d534b3"
28763+
"hash": "c6f5e961937023f0b9e5cb4b2eb5276b"
2876428764
},
2876528765
{
2876628766
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/Pages\/Deployments.php",

clients/GitHub/src/Internal/Hydrator/WebHook/SecretScanningAlert.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,17 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Secr
361361

362362
after_secretType:
363363

364+
$value = $payload['secret_type_display_name'] ?? null;
365+
366+
if ($value === null) {
367+
$properties['secretTypeDisplayName'] = null;
368+
goto after_secretTypeDisplayName;
369+
}
370+
371+
$properties['secretTypeDisplayName'] = $value;
372+
373+
after_secretTypeDisplayName:
374+
364375
$value = $payload['validity'] ?? null;
365376

366377
if ($value === null) {
@@ -4594,6 +4605,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema
45944605

45954606
after_secretType: $result['secret_type'] = $secretType;
45964607

4608+
$secretTypeDisplayName = $object->secretTypeDisplayName;
4609+
4610+
if ($secretTypeDisplayName === null) {
4611+
goto after_secretTypeDisplayName;
4612+
}
4613+
4614+
after_secretTypeDisplayName: $result['secret_type_display_name'] = $secretTypeDisplayName;
4615+
45974616
$validity = $object->validity;
45984617

45994618
if ($validity === null) {

clients/GitHub/src/Internal/Hydrator/WebHook/SecretScanningAlertLocation.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,17 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Secr
359359

360360
after_secretType:
361361

362+
$value = $payload['secret_type_display_name'] ?? null;
363+
364+
if ($value === null) {
365+
$properties['secretTypeDisplayName'] = null;
366+
goto after_secretTypeDisplayName;
367+
}
368+
369+
$properties['secretTypeDisplayName'] = $value;
370+
371+
after_secretTypeDisplayName:
372+
362373
$value = $payload['validity'] ?? null;
363374

364375
if ($value === null) {
@@ -4090,6 +4101,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema
40904101

40914102
after_secretType: $result['secret_type'] = $secretType;
40924103

4104+
$secretTypeDisplayName = $object->secretTypeDisplayName;
4105+
4106+
if ($secretTypeDisplayName === null) {
4107+
goto after_secretTypeDisplayName;
4108+
}
4109+
4110+
after_secretTypeDisplayName: $result['secret_type_display_name'] = $secretTypeDisplayName;
4111+
40934112
$validity = $object->validity;
40944113

40954114
if ($validity === null) {

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,12 @@ public function createResponse(ResponseInterface $response): Schema\ContentDirec
122122
**/
123123
case 302:
124124
return new WithoutBody(302, []);
125+
/**
126+
* Not modified
127+
**/
128+
129+
case 304:
130+
return new WithoutBody(304, []);
125131
}
126132

127133
throw new RuntimeException('Unable to find matching response code and content type');

clients/GitHub/src/Internal/Operator/Repos/GetContent.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ public function __construct(private Browser $browser, private AuthenticationInte
2828
{
2929
}
3030

31-
/** @return */
3231
public function call(string $owner, string $repo, string $path, string $ref): ContentDirectory|ContentFile|ContentSymlink|ContentSubmodule|WithoutBody
3332
{
3433
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Repos\GetContent($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $path, $ref);

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1476,7 +1476,6 @@ public function compareCommits(array $params): CommitComparison
14761476
return $operator->call($arguments['owner'], $arguments['repo'], $arguments['basehead'], $arguments['page'], $arguments['per_page']);
14771477
}
14781478

1479-
/** @return */
14801479
public function getContent(array $params): ContentDirectory|ContentFile|ContentSymlink|ContentSubmodule|WithoutBody
14811480
{
14821481
$arguments = [];

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function __construct(private Routers $routers)
7373
{
7474
}
7575

76-
/** @return Observable<Schema\MarketplacePurchase>||Observable<Schema\RunnerApplication>|Observable<Schema\HookDeliveryItem>|Observable<Schema\Team>|Observable<Schema\MinimalRepository>|WithoutBody|Observable<Schema\SimpleUser>|Observable<Schema\TeamDiscussion>|Observable<Schema\OrganizationInvitation>|Observable<Schema\TeamProject>|Observable<Schema\CodeScanningAlertItems>|Observable<Schema\CodeScanningAnalysis>|Observable<Schema\DependabotAlert>|Observable<Schema\PorterAuthor>|Observable<Schema\PorterLargeFile>|Observable<Schema\IssueComment>|Observable<Schema\IssueEvent>|Observable<Schema\PageBuild>|Observable<Schema\CustomPropertyValue>|Observable<Schema\PullRequestReviewComment>|Observable<Schema\RuleSuites>|Observable<Schema\SecretScanningAlert>|Observable<int>|Schema\Operations\Repos\GetCodeFrequencyStats\Response\ApplicationJson\Accepted\Application\Json|Observable<Schema\CommitActivity>|Schema\Operations\Repos\GetCommitActivityStats\Response\ApplicationJson\Accepted\Application\Json|Observable<Schema\ContributorActivity>|Schema\Operations\Repos\GetContributorsStats\Response\ApplicationJson\Accepted\Application\Json|Observable<Schema\TagProtection>|Observable<Schema\TeamDiscussionComment>|Observable<Schema\Reaction>|Observable<Schema\PackageVersion>|Observable<Schema\Event> */
76+
/** @return Observable<Schema\MarketplacePurchase>||Observable<Schema\RunnerApplication>|Observable<Schema\HookDeliveryItem>|Observable<Schema\Team>|Observable<Schema\MinimalRepository>|WithoutBody|Observable<Schema\SimpleUser>|Observable<Schema\TeamDiscussion>|Observable<Schema\OrganizationInvitation>|Observable<Schema\TeamProject>|Observable<Schema\CodeScanningAlertItems>|Observable<Schema\CodeScanningAnalysis>|Schema\ContentDirectory|Schema\ContentFile|Schema\ContentSymlink|Schema\ContentSubmodule|\ApiClients\Tools\OpenApiClient\Utils\Response\WithoutBody|Observable<Schema\DependabotAlert>|Observable<Schema\PorterAuthor>|Observable<Schema\PorterLargeFile>|Observable<Schema\IssueComment>|Observable<Schema\IssueEvent>|Observable<Schema\PageBuild>|Observable<Schema\CustomPropertyValue>|Observable<Schema\PullRequestReviewComment>|Observable<Schema\RuleSuites>|Observable<Schema\SecretScanningAlert>|Observable<int>|Schema\Operations\Repos\GetCodeFrequencyStats\Response\ApplicationJson\Accepted\Application\Json|Observable<Schema\CommitActivity>|Schema\Operations\Repos\GetCommitActivityStats\Response\ApplicationJson\Accepted\Application\Json|Observable<Schema\ContributorActivity>|Schema\Operations\Repos\GetContributorsStats\Response\ApplicationJson\Accepted\Application\Json|Observable<Schema\TagProtection>|Observable<Schema\TeamDiscussionComment>|Observable<Schema\Reaction>|Observable<Schema\PackageVersion>|Observable<Schema\Event> */
7777
public function call(string $call, array $params, array $pathChunks): iterable|ActionsCacheUsageOrgEnterprise|Ok|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListSelectedRepositoriesEnabledGithubActionsOrganization\Response\ApplicationJson\Ok|SelectedActions|ActionsGetDefaultWorkflowPermissions|Runner|ActionsPublicKey|OrganizationActionsSecret|OrganizationActionsVariable|CodespacesPublicKey|CodespacesOrgSecret|\ApiClients\Client\GitHub\Schema\Operations\Copilot\ListCopilotSeats\Response\ApplicationJson\Ok|DependabotPublicKey|OrganizationDependabotSecret|WebhookConfig|Json|WithoutBody|CopilotSeatDetails|Package|OrgCustomProperty|RuleSuite|ActionsBillingUsage|PackagesBillingUsage|CombinedBillingUsage|ProjectCollaboratorPermission|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListArtifactsForRepo\Response\ApplicationJson\Ok|ActionsCacheList|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListRepoOrganizationSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListRepoOrganizationVariables\Response\ApplicationJson\Ok|ActionsRepositoryPermissions|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListSelfHostedRunnersForRepo\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListWorkflowRunsForRepo\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListRepoSecrets\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListRepoVariables\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListRepoWorkflows\Response\ApplicationJson\Ok|Autolink|BranchWithProtection|BasicError|CheckRun|CheckSuite|CodeScanningDefaultSetup|CodeownersErrors|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\ListDevcontainersInRepositoryForAuthenticatedUser\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\RepoMachinesForAuthenticatedUser\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\PreFlightWithRepoForAuthenticatedUser\Response\ApplicationJson\Ok|CodespacesPermissionsCheckForDevcontainer|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\ListRepoSecrets\Response\ApplicationJson\Ok|CommitComment|Commit|CommunityProfile|CommitComparison|ContentDirectory|ContentFile|ContentSymlink|ContentSubmodule|\ApiClients\Client\GitHub\Schema\Operations\Dependabot\ListRepoSecrets\Response\ApplicationJson\Ok|DependencyGraphSpdxSbom|Deployment|Environment|Hook|Issue|DeployKey|Label|Milestone|PagesHealthCheck|EmptyObject|PullRequest|Release|RepositoryRuleset|RepositoryAdvisory|\ApiClients\Client\GitHub\Schema\Operations\Repos\GetCodeFrequencyStats\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Repos\GetCommitActivityStats\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Repos\GetContributorsStats\Response\ApplicationJson\Accepted\Application\Json|ParticipationStats|CloneTraffic|ViewTraffic|TeamRepository|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\ListRepositoriesForSecretForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|CodespaceExportDetails
7878
{
7979
if ($pathChunks[0] === '') {

clients/GitHub/src/Operation/Repos.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,6 @@ public function compareCommits(string $owner, string $repo, string $basehead, in
586586
return $this->operators->repos👷CompareCommits()->call($owner, $repo, $basehead, $page, $perPage);
587587
}
588588

589-
/** @return */
590589
public function getContent(string $owner, string $repo, string $path, string $ref): ContentDirectory|ContentFile|ContentSymlink|ContentSubmodule|WithoutBody
591590
{
592591
return $this->operators->repos👷GetContent()->call($owner, $repo, $path, $ref);

clients/GitHub/src/PHPStan/ClientCallReturnTypes.php

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

23982398
if ($call === 'GET /repos/{owner}/{repo}/contents/{path}') {
2399-
return $this->typeResolver->resolve('');
2399+
return $this->typeResolver->resolve('Schema\\ContentDirectory|Schema\\ContentFile|Schema\\ContentSymlink|Schema\\ContentSubmodule|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody');
24002400
}
24012401

24022402
if ($call === 'PUT /repos/{owner}/{repo}/contents/{path}') {

clients/GitHub/src/Schema/SecretScanningAlertWebhook.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,10 @@
256256
"type": "string",
257257
"description": "The type of secret that secret scanning detected."
258258
},
259+
"secret_type_display_name": {
260+
"type": "string",
261+
"description": "User-friendly name for the detected secret, matching the `secret_type`.\\nFor a list of built-in patterns, see \\"[Secret scanning patterns](https:\\/\\/docs.github.com\\/code-security\\/secret-scanning\\/secret-scanning-patterns#supported-secrets-for-advanced-security).\\""
262+
},
259263
"validity": {
260264
"enum": [
261265
"active",
@@ -486,6 +490,7 @@
486490
},
487491
"resolution_comment": "generated",
488492
"secret_type": "generated",
493+
"secret_type_display_name": "generated",
489494
"validity": "unknown",
490495
"push_protection_bypassed": false,
491496
"push_protection_bypassed_by": {
@@ -524,6 +529,8 @@
524529
* resolvedAt: The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.
525530
* resolutionComment: An optional comment to resolve an alert.
526531
* secretType: The type of secret that secret scanning detected.
532+
* secretTypeDisplayName: User-friendly name for the detected secret, matching the `secret_type`.
533+
For a list of built-in patterns, see "[Secret scanning patterns](https://docs.github.com/code-security/secret-scanning/secret-scanning-patterns#supported-secrets-for-advanced-security)."
527534
* validity: The token status as of the latest validity check.
528535
* pushProtectionBypassed: Whether push protection was bypassed for the detected secret.
529536
* pushProtectionBypassedAt: The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.
@@ -536,7 +543,8 @@ public function __construct(public int|null $number, #[MapFrom('created_at')]
536543
public string|null $resolvedAt, #[MapFrom('resolved_by')]
537544
public Schema\SimpleUser|null $resolvedBy, #[MapFrom('resolution_comment')]
538545
public string|null $resolutionComment, #[MapFrom('secret_type')]
539-
public string|null $secretType, public string|null $validity, #[MapFrom('push_protection_bypassed')]
546+
public string|null $secretType, #[MapFrom('secret_type_display_name')]
547+
public string|null $secretTypeDisplayName, public string|null $validity, #[MapFrom('push_protection_bypassed')]
540548
public bool|null $pushProtectionBypassed, #[MapFrom('push_protection_bypassed_by')]
541549
public Schema\SimpleUser|null $pushProtectionBypassedBy, #[MapFrom('push_protection_bypassed_at')]
542550
public string|null $pushProtectionBypassedAt,)

0 commit comments

Comments
 (0)