Skip to content

Commit 221d44a

Browse files
authored
Merge pull request #1168 from php-api-clients/GitHubEnterpriseCloud/from-1.1.4-5ac0f2a93b2debe4d5052e2c911fc9c0-from-1.1.4-5ac0f2a93b2debe4d5052e2c911fc9c0
2 parents 34d3c52 + 4c328ad commit 221d44a

File tree

5 files changed

+57
-9
lines changed

5 files changed

+57
-9
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "bf6e8654f94ff63b74b92d0b0b8e22a8",
2+
"specHash": "5ac0f2a93b2debe4d5052e2c911fc9c0",
33
"generatedFiles": {
44
"files": [
55
{
@@ -456,7 +456,7 @@
456456
},
457457
{
458458
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/ApiOverview.php",
459-
"hash": "2d8168c51ff543afae172182bbfa1f9d"
459+
"hash": "f017540c7560a047d211dc712224bf2b"
460460
},
461461
{
462462
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/SecurityAndAnalysis.php",
@@ -5544,7 +5544,7 @@
55445544
},
55455545
{
55465546
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Repos\/UpdateInformationAboutPagesSite\/Request\/ApplicationJson.php",
5547-
"hash": "7d743c668251e9627a8ebecdebdcb0d4"
5547+
"hash": "94e51c5e6b51350f40f15e8ac1d1e8ef"
55485548
},
55495549
{
55505550
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Repos\/UpdateInformationAboutPagesSite\/Request\/ApplicationJson\/Source\/One.php",
@@ -5984,7 +5984,7 @@
59845984
},
59855985
{
59865986
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Repos.php",
5987-
"hash": "04ed388f4ae2a6d06062fed43a8cdec9"
5987+
"hash": "ea53d5900ef20eeca40759702d1d7333"
59885988
},
59895989
{
59905990
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Reactions.php",
@@ -27204,7 +27204,7 @@
2720427204
},
2720527205
{
2720627206
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Meta.php",
27207-
"hash": "a9259829a2e8dd4bbeeb7de42512449a"
27207+
"hash": "d15e13374a90ee5094ff51d4012b01f9"
2720827208
},
2720927209
{
2721027210
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Networks\/Owner\/Repo\/Events.php",

clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Meta.php

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S
195195

196196
after_actions:
197197

198+
$value = $payload['actions_macos'] ?? null;
199+
200+
if ($value === null) {
201+
$properties['actionsMacos'] = null;
202+
goto after_actionsMacos;
203+
}
204+
205+
$properties['actionsMacos'] = $value;
206+
207+
after_actionsMacos:
208+
198209
$value = $payload['dependabot'] ?? null;
199210

200211
if ($value === null) {
@@ -640,6 +651,21 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
640651
$actions = $actionsSerializer0->serialize($actions, $this);
641652
after_actions: $result['actions'] = $actions;
642653

654+
$actionsMacos = $object->actionsMacos;
655+
656+
if ($actionsMacos === null) {
657+
goto after_actionsMacos;
658+
}
659+
660+
static $actionsMacosSerializer0;
661+
662+
if ($actionsMacosSerializer0 === null) {
663+
$actionsMacosSerializer0 = new SerializeArrayItems(...[]);
664+
}
665+
666+
$actionsMacos = $actionsMacosSerializer0->serialize($actionsMacos, $this);
667+
after_actionsMacos: $result['actions_macos'] = $actionsMacos;
668+
643669
$dependabot = $object->dependabot;
644670

645671
if ($dependabot === null) {

clients/GitHubEnterpriseCloud/src/Schema/ApiOverview.php

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,15 @@
129129
"192.0.2.1"
130130
]
131131
},
132+
"actions_macos": {
133+
"type": "array",
134+
"items": {
135+
"type": "string"
136+
},
137+
"examples": [
138+
"192.0.2.1"
139+
]
140+
},
132141
"dependabot": {
133142
"type": "array",
134143
"items": {
@@ -241,6 +250,10 @@
241250
"192.0.2.1",
242251
"192.0.2.1"
243252
],
253+
"actions_macos": [
254+
"192.0.2.1",
255+
"192.0.2.1"
256+
],
244257
"dependabot": [
245258
"192.0.2.1",
246259
"192.0.2.1"
@@ -273,7 +286,8 @@ public function __construct(#[MapFrom('verifiable_password_authentication')]
273286
public bool $verifiablePasswordAuthentication, #[MapFrom('ssh_key_fingerprints')]
274287
public Schema\ApiOverview\SshKeyFingerprints|null $sshKeyFingerprints, #[MapFrom('ssh_keys')]
275288
public array|null $sshKeys, public array|null $hooks, #[MapFrom('github_enterprise_importer')]
276-
public array|null $githubEnterpriseImporter, public array|null $web, public array|null $api, public array|null $git, public array|null $packages, public array|null $pages, public array|null $importer, public array|null $actions, public array|null $dependabot, public Schema\ApiOverview\Domains|null $domains,)
289+
public array|null $githubEnterpriseImporter, public array|null $web, public array|null $api, public array|null $git, public array|null $packages, public array|null $pages, public array|null $importer, public array|null $actions, #[MapFrom('actions_macos')]
290+
public array|null $actionsMacos, public array|null $dependabot, public Schema\ApiOverview\Domains|null $domains,)
277291
{
278292
}
279293
}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"string",
4646
"null"
4747
],
48-
"description": "Specify a custom domain for the repository. Sending a `null` value will remove the custom domain. For more about custom domains, see \\"[Using a custom domain with GitHub Pages](https:\\/\\/docs.github.com\\/enterprise-cloud@latest\\/\\/articles\\/using-a-custom-domain-with-github-pages\\/).\\""
48+
"description": "Specify a custom domain for the repository. Sending a `null` value will remove the custom domain. For more about custom domains, see \\"[Using a custom domain with GitHub Pages](https:\\/\\/docs.github.com\\/enterprise-cloud@latest\\/\\/pages\\/configuring-a-custom-domain-for-your-github-pages-site).\\""
4949
},
5050
"https_enforced": {
5151
"type": "boolean",
@@ -111,7 +111,7 @@
111111
}';
112112

113113
/**
114-
* cname: Specify a custom domain for the repository. Sending a `null` value will remove the custom domain. For more about custom domains, see "[Using a custom domain with GitHub Pages](https://docs.github.com/enterprise-cloud@latest//articles/using-a-custom-domain-with-github-pages/)."
114+
* cname: Specify a custom domain for the repository. Sending a `null` value will remove the custom domain. For more about custom domains, see "[Using a custom domain with GitHub Pages](https://docs.github.com/enterprise-cloud@latest//pages/configuring-a-custom-domain-for-your-github-pages-site)."
115115
* httpsEnforced: Specify whether HTTPS should be enforced for the repository.
116116
* buildType: The process by which the GitHub Pages site will be built. `workflow` means that the site is built by a custom GitHub Actions workflow. `legacy` means that the site is built by GitHub when changes are pushed to a specific branch.
117117
* public: Configures access controls for the GitHub Pages site. If public is set to `true`, the site is accessible to anyone on the internet. If set to `false`, the site will only be accessible to users who have at least `read` access to the repository that published the site. This includes anyone in your Enterprise if the repository is set to `internal` visibility.

etc/specs/GitHubEnterpriseCloud/current.spec.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35983,7 +35983,7 @@ paths:
3598335983
- 'null'
3598435984
description: Specify a custom domain for the repository. Sending
3598535985
a `null` value will remove the custom domain. For more about custom
35986-
domains, see "[Using a custom domain with GitHub Pages](https://docs.github.com/enterprise-cloud@latest//articles/using-a-custom-domain-with-github-pages/)."
35986+
domains, see "[Using a custom domain with GitHub Pages](https://docs.github.com/enterprise-cloud@latest//pages/configuring-a-custom-domain-for-your-github-pages-site)."
3598735987
https_enforced:
3598835988
type: boolean
3598935989
description: Specify whether HTTPS should be enforced for the repository.
@@ -73981,6 +73981,12 @@ components:
7398173981
type: string
7398273982
examples:
7398373983
- 192.0.2.1
73984+
actions_macos:
73985+
type: array
73986+
items:
73987+
type: string
73988+
examples:
73989+
- 192.0.2.1
7398473990
dependabot:
7398573991
type: array
7398673992
items:
@@ -205206,6 +205212,8 @@ components:
205206205212
- 192.0.2.1
205207205213
actions:
205208205214
- 192.0.2.1
205215+
actions_macos:
205216+
- 192.0.2.1
205209205217
dependabot:
205210205218
- 192.0.2.1
205211205219
domains:

0 commit comments

Comments
 (0)