diff --git a/clients/GitHubEnterprise-3.13/etc/openapi-client-generator.state b/clients/GitHubEnterprise-3.13/etc/openapi-client-generator.state index 83a11cb019d..e31fd5307d0 100644 --- a/clients/GitHubEnterprise-3.13/etc/openapi-client-generator.state +++ b/clients/GitHubEnterprise-3.13/etc/openapi-client-generator.state @@ -1,5 +1,5 @@ { - "specHash": "1e4171c4fa0a2799e195f6bc1881cf84", + "specHash": "3d4394c11aa41626a6e266db909dd9d7", "generatedFiles": { "files": [ { @@ -1404,15 +1404,15 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operation\/Actions\/GenerateRunnerJitconfigForEnterprise.php", - "hash": "e9e027f6b2a8007f9f5b6acb6994ef9a" + "hash": "37b966c3be28f5d619fc18ed5114c394" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operator\/Actions\/GenerateRunnerJitconfigForEnterprise.php", - "hash": "9f8e11df86c6ade6de328ed0fc9281c5" + "hash": "9db39a84fee21257cc067d9bdf7a492e" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/tests\/\/Internal\/Operation\/Actions\/GenerateRunnerJitconfigForEnterpriseTest.php", - "hash": "3afea68b553bfe1cac47015c75c98301" + "hash": "926aaa7e0af2f87c03b22503bea2b0f4" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operation\/EnterpriseAdmin\/CreateRegistrationTokenForEnterprise.php", @@ -2828,15 +2828,15 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operation\/Actions\/GenerateRunnerJitconfigForOrg.php", - "hash": "5b1a166688d3b4ed48b42651ea2b62b2" + "hash": "3875b24e80e17ae8af72cc65d64977a3" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operator\/Actions\/GenerateRunnerJitconfigForOrg.php", - "hash": "9957e41b1b70e8ee20d13d7b2162add4" + "hash": "e6bade18c0d7ec70a21729d8f82f720a" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/tests\/\/Internal\/Operation\/Actions\/GenerateRunnerJitconfigForOrgTest.php", - "hash": "61cd60ce68bfdceb97ac648b9a494ddf" + "hash": "3ab032545cc18b59298430996d523c77" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operation\/Actions\/CreateRegistrationTokenForOrg.php", @@ -5736,15 +5736,15 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operation\/Actions\/GenerateRunnerJitconfigForRepo.php", - "hash": "8faae51d34a860ebefe427904f6e8bd1" + "hash": "6c984aa8217df6433d3055b33c5ae550" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operator\/Actions\/GenerateRunnerJitconfigForRepo.php", - "hash": "0a200eb07b9e0671f0956feaec4157b4" + "hash": "a918f5cd95dd5a35a68d4f453033b797" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/tests\/\/Internal\/Operation\/Actions\/GenerateRunnerJitconfigForRepoTest.php", - "hash": "6b0ec94fba6c57dc29999347460c2404" + "hash": "a24a9faf6e42a17a6a598b39419ca724" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operation\/Actions\/CreateRegistrationTokenForRepo.php", @@ -13460,7 +13460,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/Runner.php", - "hash": "acbea8defa06c8663b82824a625f6e97" + "hash": "2f4bed515d57bfe134f8006c9b0d8bae" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/RunnerApplication.php", @@ -24606,21 +24606,17 @@ "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/EnterpriseAdmin\/SetOrgAccessToSelfHostedRunnerGroupInEnterprise\/Request\/ApplicationJson.php", "hash": "f548c34de62e3dd6c8a082a87b8a70f0" }, - { - "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/Tiet64C370DE\/Tiet030B21C9\/Tiet0FE13F38\/Tiet1E6A295D.php", - "hash": "7dcf516aca8c14eff808b1ffd646946a" - }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/Operations\/Actions\/ListSelfHostedRunnersInGroupForOrg\/Response\/ApplicationJson\/Ok.php", - "hash": "4fa0f0d0b470fee2bca61d0b9eccfd63" + "hash": "b52b42afc85216da61adf5db4125d518" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/Operations\/Actions\/ListSelfHostedRunnersInGroupForOrg\/Response\/ApplicationJson\/Ok\/Application\/Json.php", - "hash": "fbbabcf9dd7fba3f3449bf5038af0ea4" + "hash": "c1b1abee2db6633ba9404898f4eed0a5" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/Operations\/EnterpriseAdmin\/ListSelfHostedRunnersInGroupForEnterprise\/Response\/ApplicationJson\/Ok.php", - "hash": "93291b42e4242f1887b5f0e5a25e9721" + "hash": "0b041faee00db7e3fe93cfc1f107541e" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietC1ED0A10\/Tiet2CE6A484\/Tiet45FE9908\/TietC65D2293.php", @@ -24636,7 +24632,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/Operations\/EnterpriseAdmin\/ListSelfHostedRunnersForEnterprise\/Response\/ApplicationJson\/Ok.php", - "hash": "a32110ce5e8860b48a688e4e407eb4ee" + "hash": "8e2de84788846c36fc73647fbc66fe97" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietF690ED31\/TietD3330210\/Tiet500A0F49\/Tiet18AD180E.php", @@ -24656,7 +24652,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/Operations\/Actions\/GenerateRunnerJitconfigForEnterprise\/Response\/ApplicationJson\/Created.php", - "hash": "71400e98a97e37f32542b3cf70720f13" + "hash": "6de95362f175b4f184556f6c7a9fff3f" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/Tiet465FFE22\/Tiet83692C35\/TietB7E35CD3\/TietF31B8C6B.php", @@ -24942,21 +24938,17 @@ "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/Actions\/SetRepoAccessToSelfHostedRunnerGroupInOrg\/Request\/ApplicationJson.php", "hash": "41a8c952d6d0c5d1d20081805e1bac20" }, - { - "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/Tiet2329E85F\/Tiet2404E7BA\/TietF6C81F1C\/Tiet1EE267CF.php", - "hash": "63b0bef56d708e3841152f778bd82865" - }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/Operations\/Actions\/ListSelfHostedRunnersForRepo\/Response\/ApplicationJson\/Ok.php", - "hash": "f44ad9f89a0928cc4740e9493b873f80" + "hash": "9478e6c54a9741cc463a7f83f6f13d97" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/Operations\/Actions\/ListSelfHostedRunnersForRepo\/Response\/ApplicationJson\/Ok\/Application\/Json.php", - "hash": "8892a7cb3a0037f2865ec40fe5074f3c" + "hash": "5c2d68f664a7dc769be0e4eee088aca4" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/Operations\/Actions\/ListSelfHostedRunnersForOrg\/Response\/ApplicationJson\/Ok.php", - "hash": "7f967b62e7eb29298a7b395e8791cc97" + "hash": "7ad189d15ce0b4bd72f7fb86fefd7bad" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/Operations\/Actions\/ListOrgSecrets\/Response\/ApplicationJson\/Ok.php", @@ -26648,7 +26640,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Actions.php", - "hash": "154adb9b3b9ea89d158bad2677cd6260" + "hash": "1a870083e1219d7429319552fe91aeb4" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Orgs.php", @@ -27016,7 +27008,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Six.php", - "hash": "582e4f65708d890bcbaccfa125c8d5f6" + "hash": "cf3e6aeacd5937b5c021da5f0e8b282e" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Four.php", @@ -27028,7 +27020,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Seven.php", - "hash": "b3d29fd4e2f31b05c7cf82e1bfa3709c" + "hash": "d8d45a5cba437a0eb24d6f7a368eceaf" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Eight.php", @@ -27156,11 +27148,11 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php", - "hash": "2fb5474325448bccbcb22bb7d1158ea1" + "hash": "cdbef71efeedf74b94bf64896cf0996d" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php", - "hash": "54beea339c8099994a522e19c9c55b8c" + "hash": "0e9b23e65accfc413f042577f8b8500d" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon", @@ -27200,7 +27192,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Operation\/Actions.php", - "hash": "896b1f5c6516371d759abf61887a73b8" + "hash": "c90b1629a8a9dc50fdb7f5403f2ccc83" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Operation\/CodeScanning.php", @@ -27856,7 +27848,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Enterprises\/Enterprise\/Actions\/Runners\/GenerateJitconfig.php", - "hash": "6ed3cf9554d8e451e85e0c900682d167" + "hash": "1bb05bb7b342d7151e79065b1ba6f3f0" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Enterprises\/Enterprise\/Actions\/Runners\/RegistrationToken.php", @@ -27868,7 +27860,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Enterprises\/Enterprise\/Actions\/Runners\/RunnerId.php", - "hash": "002046d8310b7fa65b722c3c7c9aaf94" + "hash": "e9ae0b318fa4c2d326c1651df3534526" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Enterprises\/Enterprise\/Actions\/Runners\/RunnerId\/Labels.php", @@ -28080,7 +28072,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/Actions\/Runners\/GenerateJitconfig.php", - "hash": "f6aab8af11fc4eec2f5ef34c83c06e94" + "hash": "8bcffbf50f8f8a7efbc7ba133ec9fbdb" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/Actions\/Runners\/RegistrationToken.php", @@ -28092,7 +28084,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/Actions\/Runners\/RunnerId.php", - "hash": "c1646984fe58b8cb91f07c7e7df97034" + "hash": "98e775b2382a20ee79bcc3279a007257" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/Actions\/Runners\/RunnerId\/Labels.php", @@ -28516,7 +28508,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/Actions\/Runners\/GenerateJitconfig.php", - "hash": "f34be3f4fc19b08d087e8e0ff21c08bc" + "hash": "a6db05e046f434e6628a67da0866de29" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/Actions\/Runners\/RegistrationToken.php", @@ -28528,7 +28520,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/Actions\/Runners\/RunnerId.php", - "hash": "2b528e648dd3d958a6f84a9e0702bcad" + "hash": "9fc8b5c6b0717a5d76aecbcb69ebf459" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/Actions\/Runners\/RunnerId\/Labels.php", @@ -29957,6 +29949,14 @@ { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/SecurityAdvisoryEpss.php", "hash": "d40638f97574f7a84a0e52535948cc82" + }, + { + "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietED690D6D\/Tiet788B85F7\/Tiet90BDCBBD\/Tiet6547B867.php", + "hash": "ff58fe753d363c5aaf8f3621b0726c2a" + }, + { + "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietEAB1E353\/TietA691FF98\/TietCADB7922\/TietA4382CA1.php", + "hash": "c57517b93469a1558cb104c0b535b6c4" } ] }, diff --git a/clients/GitHubEnterprise-3.13/src/Internal/Hydrator/Operation/Enterprises/Enterprise/Actions/Runners/GenerateJitconfig.php b/clients/GitHubEnterprise-3.13/src/Internal/Hydrator/Operation/Enterprises/Enterprise/Actions/Runners/GenerateJitconfig.php index 04460579c4e..5a17e2e9226 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Hydrator/Operation/Enterprises/Enterprise/Actions/Runners/GenerateJitconfig.php +++ b/clients/GitHubEnterprise-3.13/src/Internal/Hydrator/Operation/Enterprises/Enterprise/Actions/Runners/GenerateJitconfig.php @@ -182,6 +182,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema $properties['labels'] = $value; after_labels: + + $value = $payload['ephemeral'] ?? null; + + if ($value === null) { + $properties['ephemeral'] = null; + goto after_ephemeral; + } + + $properties['ephemeral'] = $value; + + after_ephemeral: } catch (Throwable $exception) { throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterprise\Schema\Runner', $exception, stack: $this->hydrationStack); } @@ -462,6 +473,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡ $labels = $labelsSerializer0->serialize($labels, $this); after_labels: $result['labels'] = $labels; + $ephemeral = $object->ephemeral; + + if ($ephemeral === null) { + goto after_ephemeral; + } + + after_ephemeral: $result['ephemeral'] = $ephemeral; + return $result; } diff --git a/clients/GitHubEnterprise-3.13/src/Internal/Hydrator/Operation/Enterprises/Enterprise/Actions/Runners/RunnerId.php b/clients/GitHubEnterprise-3.13/src/Internal/Hydrator/Operation/Enterprises/Enterprise/Actions/Runners/RunnerId.php index 9d1b1f7bd81..eac9c8fe5d2 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Hydrator/Operation/Enterprises/Enterprise/Actions/Runners/RunnerId.php +++ b/clients/GitHubEnterprise-3.13/src/Internal/Hydrator/Operation/Enterprises/Enterprise/Actions/Runners/RunnerId.php @@ -124,6 +124,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema $properties['labels'] = $value; after_labels: + + $value = $payload['ephemeral'] ?? null; + + if ($value === null) { + $properties['ephemeral'] = null; + goto after_ephemeral; + } + + $properties['ephemeral'] = $value; + + after_ephemeral: } catch (Throwable $exception) { throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterprise\Schema\Runner', $exception, stack: $this->hydrationStack); } @@ -271,6 +282,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡ $labels = $labelsSerializer0->serialize($labels, $this); after_labels: $result['labels'] = $labels; + $ephemeral = $object->ephemeral; + + if ($ephemeral === null) { + goto after_ephemeral; + } + + after_ephemeral: $result['ephemeral'] = $ephemeral; + return $result; } diff --git a/clients/GitHubEnterprise-3.13/src/Internal/Hydrator/Operation/Orgs/Org/Actions/Runners/GenerateJitconfig.php b/clients/GitHubEnterprise-3.13/src/Internal/Hydrator/Operation/Orgs/Org/Actions/Runners/GenerateJitconfig.php index 1ce09564e87..93e31389ec6 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Hydrator/Operation/Orgs/Org/Actions/Runners/GenerateJitconfig.php +++ b/clients/GitHubEnterprise-3.13/src/Internal/Hydrator/Operation/Orgs/Org/Actions/Runners/GenerateJitconfig.php @@ -182,6 +182,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema $properties['labels'] = $value; after_labels: + + $value = $payload['ephemeral'] ?? null; + + if ($value === null) { + $properties['ephemeral'] = null; + goto after_ephemeral; + } + + $properties['ephemeral'] = $value; + + after_ephemeral: } catch (Throwable $exception) { throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterprise\Schema\Runner', $exception, stack: $this->hydrationStack); } @@ -462,6 +473,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡ $labels = $labelsSerializer0->serialize($labels, $this); after_labels: $result['labels'] = $labels; + $ephemeral = $object->ephemeral; + + if ($ephemeral === null) { + goto after_ephemeral; + } + + after_ephemeral: $result['ephemeral'] = $ephemeral; + return $result; } diff --git a/clients/GitHubEnterprise-3.13/src/Internal/Hydrator/Operation/Orgs/Org/Actions/Runners/RunnerId.php b/clients/GitHubEnterprise-3.13/src/Internal/Hydrator/Operation/Orgs/Org/Actions/Runners/RunnerId.php index b2d48aa486d..d6f9c43b111 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Hydrator/Operation/Orgs/Org/Actions/Runners/RunnerId.php +++ b/clients/GitHubEnterprise-3.13/src/Internal/Hydrator/Operation/Orgs/Org/Actions/Runners/RunnerId.php @@ -124,6 +124,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema $properties['labels'] = $value; after_labels: + + $value = $payload['ephemeral'] ?? null; + + if ($value === null) { + $properties['ephemeral'] = null; + goto after_ephemeral; + } + + $properties['ephemeral'] = $value; + + after_ephemeral: } catch (Throwable $exception) { throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterprise\Schema\Runner', $exception, stack: $this->hydrationStack); } @@ -271,6 +282,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡ $labels = $labelsSerializer0->serialize($labels, $this); after_labels: $result['labels'] = $labels; + $ephemeral = $object->ephemeral; + + if ($ephemeral === null) { + goto after_ephemeral; + } + + after_ephemeral: $result['ephemeral'] = $ephemeral; + return $result; } diff --git a/clients/GitHubEnterprise-3.13/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Actions/Runners/GenerateJitconfig.php b/clients/GitHubEnterprise-3.13/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Actions/Runners/GenerateJitconfig.php index 71e2accc9f8..97f1325c8a0 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Actions/Runners/GenerateJitconfig.php +++ b/clients/GitHubEnterprise-3.13/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Actions/Runners/GenerateJitconfig.php @@ -182,6 +182,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema $properties['labels'] = $value; after_labels: + + $value = $payload['ephemeral'] ?? null; + + if ($value === null) { + $properties['ephemeral'] = null; + goto after_ephemeral; + } + + $properties['ephemeral'] = $value; + + after_ephemeral: } catch (Throwable $exception) { throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterprise\Schema\Runner', $exception, stack: $this->hydrationStack); } @@ -462,6 +473,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡ $labels = $labelsSerializer0->serialize($labels, $this); after_labels: $result['labels'] = $labels; + $ephemeral = $object->ephemeral; + + if ($ephemeral === null) { + goto after_ephemeral; + } + + after_ephemeral: $result['ephemeral'] = $ephemeral; + return $result; } diff --git a/clients/GitHubEnterprise-3.13/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Actions/Runners/RunnerId.php b/clients/GitHubEnterprise-3.13/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Actions/Runners/RunnerId.php index 12b8f3fd92f..9a58ee69b6b 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Actions/Runners/RunnerId.php +++ b/clients/GitHubEnterprise-3.13/src/Internal/Hydrator/Operation/Repos/Owner/Repo/Actions/Runners/RunnerId.php @@ -124,6 +124,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema $properties['labels'] = $value; after_labels: + + $value = $payload['ephemeral'] ?? null; + + if ($value === null) { + $properties['ephemeral'] = null; + goto after_ephemeral; + } + + $properties['ephemeral'] = $value; + + after_ephemeral: } catch (Throwable $exception) { throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterprise\Schema\Runner', $exception, stack: $this->hydrationStack); } @@ -271,6 +282,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡ $labels = $labelsSerializer0->serialize($labels, $this); after_labels: $result['labels'] = $labels; + $ephemeral = $object->ephemeral; + + if ($ephemeral === null) { + goto after_ephemeral; + } + + after_ephemeral: $result['ephemeral'] = $ephemeral; + return $result; } diff --git a/clients/GitHubEnterprise-3.13/src/Internal/Operation/Actions/GenerateRunnerJitconfigForEnterprise.php b/clients/GitHubEnterprise-3.13/src/Internal/Operation/Actions/GenerateRunnerJitconfigForEnterprise.php index deb7e060fb9..28bc3b9e654 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Operation/Actions/GenerateRunnerJitconfigForEnterprise.php +++ b/clients/GitHubEnterprise-3.13/src/Internal/Operation/Actions/GenerateRunnerJitconfigForEnterprise.php @@ -69,6 +69,14 @@ public function createResponse(ResponseInterface $response): Schema\Operations\A $this->responseSchemaValidator->validate($body, Reader::readFromJson(Schema\ValidationErrorSimple::SCHEMA_JSON, \cebe\openapi\spec\Schema::class)); throw new ErrorSchemas\ValidationErrorSimple(422, $this->hydrator->hydrateObject(Schema\ValidationErrorSimple::class, $body)); + /** + * Conflict + **/ + + case 409: + $this->responseSchemaValidator->validate($body, Reader::readFromJson(Schema\BasicError::SCHEMA_JSON, \cebe\openapi\spec\Schema::class)); + + throw new ErrorSchemas\BasicError(409, $this->hydrator->hydrateObject(Schema\BasicError::class, $body)); } break; diff --git a/clients/GitHubEnterprise-3.13/src/Internal/Operation/Actions/GenerateRunnerJitconfigForOrg.php b/clients/GitHubEnterprise-3.13/src/Internal/Operation/Actions/GenerateRunnerJitconfigForOrg.php index 20d3a0e1982..b43ea38ff8d 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Operation/Actions/GenerateRunnerJitconfigForOrg.php +++ b/clients/GitHubEnterprise-3.13/src/Internal/Operation/Actions/GenerateRunnerJitconfigForOrg.php @@ -69,6 +69,14 @@ public function createResponse(ResponseInterface $response): Schema\Operations\A $this->responseSchemaValidator->validate($body, Reader::readFromJson(Schema\ValidationErrorSimple::SCHEMA_JSON, \cebe\openapi\spec\Schema::class)); throw new ErrorSchemas\ValidationErrorSimple(422, $this->hydrator->hydrateObject(Schema\ValidationErrorSimple::class, $body)); + /** + * Conflict + **/ + + case 409: + $this->responseSchemaValidator->validate($body, Reader::readFromJson(Schema\BasicError::SCHEMA_JSON, \cebe\openapi\spec\Schema::class)); + + throw new ErrorSchemas\BasicError(409, $this->hydrator->hydrateObject(Schema\BasicError::class, $body)); } break; diff --git a/clients/GitHubEnterprise-3.13/src/Internal/Operation/Actions/GenerateRunnerJitconfigForRepo.php b/clients/GitHubEnterprise-3.13/src/Internal/Operation/Actions/GenerateRunnerJitconfigForRepo.php index 0a3851a25b2..17ba711740c 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Operation/Actions/GenerateRunnerJitconfigForRepo.php +++ b/clients/GitHubEnterprise-3.13/src/Internal/Operation/Actions/GenerateRunnerJitconfigForRepo.php @@ -72,6 +72,14 @@ public function createResponse(ResponseInterface $response): Schema\Operations\A $this->responseSchemaValidator->validate($body, Reader::readFromJson(Schema\ValidationErrorSimple::SCHEMA_JSON, \cebe\openapi\spec\Schema::class)); throw new ErrorSchemas\ValidationErrorSimple(422, $this->hydrator->hydrateObject(Schema\ValidationErrorSimple::class, $body)); + /** + * Conflict + **/ + + case 409: + $this->responseSchemaValidator->validate($body, Reader::readFromJson(Schema\BasicError::SCHEMA_JSON, \cebe\openapi\spec\Schema::class)); + + throw new ErrorSchemas\BasicError(409, $this->hydrator->hydrateObject(Schema\BasicError::class, $body)); } break; diff --git a/clients/GitHubEnterprise-3.13/src/Internal/Operator/Actions/GenerateRunnerJitconfigForEnterprise.php b/clients/GitHubEnterprise-3.13/src/Internal/Operator/Actions/GenerateRunnerJitconfigForEnterprise.php index f2c4133c769..d54cb0eed18 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Operator/Actions/GenerateRunnerJitconfigForEnterprise.php +++ b/clients/GitHubEnterprise-3.13/src/Internal/Operator/Actions/GenerateRunnerJitconfigForEnterprise.php @@ -24,7 +24,6 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return */ public function call(string $enterprise, array $params): Created { $operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Actions\GenerateRunnerJitconfigForEnterprise($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $enterprise); diff --git a/clients/GitHubEnterprise-3.13/src/Internal/Operator/Actions/GenerateRunnerJitconfigForOrg.php b/clients/GitHubEnterprise-3.13/src/Internal/Operator/Actions/GenerateRunnerJitconfigForOrg.php index 7d879aaef25..8fb1bb489a7 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Operator/Actions/GenerateRunnerJitconfigForOrg.php +++ b/clients/GitHubEnterprise-3.13/src/Internal/Operator/Actions/GenerateRunnerJitconfigForOrg.php @@ -24,7 +24,6 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return */ public function call(string $org, array $params): Created { $operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Actions\GenerateRunnerJitconfigForOrg($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $org); diff --git a/clients/GitHubEnterprise-3.13/src/Internal/Operator/Actions/GenerateRunnerJitconfigForRepo.php b/clients/GitHubEnterprise-3.13/src/Internal/Operator/Actions/GenerateRunnerJitconfigForRepo.php index 10070501a81..7979d2f639a 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Operator/Actions/GenerateRunnerJitconfigForRepo.php +++ b/clients/GitHubEnterprise-3.13/src/Internal/Operator/Actions/GenerateRunnerJitconfigForRepo.php @@ -24,7 +24,6 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return */ public function call(string $owner, string $repo, array $params): Created { $operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Actions\GenerateRunnerJitconfigForRepo($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $owner, $repo); diff --git a/clients/GitHubEnterprise-3.13/src/Internal/Router/Post/Actions.php b/clients/GitHubEnterprise-3.13/src/Internal/Router/Post/Actions.php index 91158d10b2a..bc3ef4fe86e 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Router/Post/Actions.php +++ b/clients/GitHubEnterprise-3.13/src/Internal/Router/Post/Actions.php @@ -55,7 +55,6 @@ public function createOrgVariable(array $params): EmptyObject return $operator->call($arguments['org'], $params); } - /** @return */ public function generateRunnerJitconfigForEnterprise(array $params): Created { $arguments = []; @@ -70,7 +69,6 @@ public function generateRunnerJitconfigForEnterprise(array $params): Created return $operator->call($arguments['enterprise'], $params); } - /** @return */ public function generateRunnerJitconfigForOrg(array $params): Created { $arguments = []; @@ -157,7 +155,6 @@ public function addCustomLabelsToSelfHostedRunnerForOrg(array $params): Ok return $operator->call($arguments['org'], $arguments['runner_id'], $params); } - /** @return */ public function generateRunnerJitconfigForRepo(array $params): Created { $arguments = []; diff --git a/clients/GitHubEnterprise-3.13/src/Internal/Router/Post/Seven.php b/clients/GitHubEnterprise-3.13/src/Internal/Router/Post/Seven.php index a5b195a8c69..9d6e91d9018 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Router/Post/Seven.php +++ b/clients/GitHubEnterprise-3.13/src/Internal/Router/Post/Seven.php @@ -31,7 +31,7 @@ public function __construct(private Routers $routers) { } - /** @return |Observable|Schema\BasicError */ + /** @return |Schema\Operations\Actions\GenerateRunnerJitconfigForEnterprise\Response\ApplicationJson\Created|Observable|Schema\BasicError */ public function call(string $call, array $params, array $pathChunks): Ok|WithoutBody|Created|AuthenticationToken|BranchWithProtection|EmptyObject|Reaction|CommitComment|DeploymentStatus|DeploymentBranchPolicy|DeploymentProtectionRule|Issue|IssueComment|iterable|BasicError|PullRequestReviewComment|PullRequestSimple|PullRequestReview|ReleaseAsset { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterprise-3.13/src/Internal/Router/Post/Six.php b/clients/GitHubEnterprise-3.13/src/Internal/Router/Post/Six.php index 053c5904c9d..7c94928f2ae 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Router/Post/Six.php +++ b/clients/GitHubEnterprise-3.13/src/Internal/Router/Post/Six.php @@ -34,6 +34,7 @@ public function __construct(private Routers $routers) { } + /** @return |Schema\Operations\Actions\GenerateRunnerJitconfigForEnterprise\Response\ApplicationJson\Created */ public function call(string $call, array $params, array $pathChunks): Created|Json|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Apps\RedeliverWebhookDelivery\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Actions\GenerateRunnerJitconfigForEnterprise\Response\ApplicationJson\Created|AuthenticationToken|WithoutBody|TeamDiscussion|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Projects\MoveCard\Response\ApplicationJson\Created\Application\Json|EmptyObject|CodeScanningSarifsReceipt|\ApiClients\Client\GitHubEnterprise\Schema\Operations\DependencyGraph\CreateRepositorySnapshot\Response\ApplicationJson\Created|ShortBlob|GitCommit|GitRef|GitTag|GitTree|PageBuildStatus|PageDeployment|ReleaseNotesContent|Status|TagProtection|GroupResponse|UserResponse|TeamDiscussionComment|Reaction { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterprise-3.13/src/Operation/Actions.php b/clients/GitHubEnterprise-3.13/src/Operation/Actions.php index c55c72b1ac0..7dccf55c018 100644 --- a/clients/GitHubEnterprise-3.13/src/Operation/Actions.php +++ b/clients/GitHubEnterprise-3.13/src/Operation/Actions.php @@ -71,7 +71,6 @@ public function setGithubActionsDefaultWorkflowPermissionsEnterprise(string $ent return $this->operators->actions👷SetGithubActionsDefaultWorkflowPermissionsEnterprise()->call($enterprise, $params); } - /** @return */ public function generateRunnerJitconfigForEnterprise(string $enterprise, array $params): Created { return $this->operators->actions👷GenerateRunnerJitconfigForEnterprise()->call($enterprise, $params); @@ -239,7 +238,6 @@ public function listRunnerApplicationsForOrg(string $org): iterable return $this->operators->actions👷ListRunnerApplicationsForOrg()->call($org); } - /** @return */ public function generateRunnerJitconfigForOrg(string $org, array $params): Created { return $this->operators->actions👷GenerateRunnerJitconfigForOrg()->call($org, $params); @@ -581,7 +579,6 @@ public function listRunnerApplicationsForRepo(string $owner, string $repo): iter return $this->operators->actions👷ListRunnerApplicationsForRepo()->call($owner, $repo); } - /** @return */ public function generateRunnerJitconfigForRepo(string $owner, string $repo, array $params): Created { return $this->operators->actions👷GenerateRunnerJitconfigForRepo()->call($owner, $repo, $params); diff --git a/clients/GitHubEnterprise-3.13/src/PHPStan/ClientCallReturnTypes.php b/clients/GitHubEnterprise-3.13/src/PHPStan/ClientCallReturnTypes.php index e42785fc5cb..73a0cb17afb 100644 --- a/clients/GitHubEnterprise-3.13/src/PHPStan/ClientCallReturnTypes.php +++ b/clients/GitHubEnterprise-3.13/src/PHPStan/ClientCallReturnTypes.php @@ -540,7 +540,7 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'POST /enterprises/{enterprise}/actions/runners/generate-jitconfig') { - return $this->typeResolver->resolve(''); + return $this->typeResolver->resolve('Schema\\Operations\\Actions\\GenerateRunnerJitconfigForEnterprise\\Response\\ApplicationJson\\Created'); } if ($call === 'POST /enterprises/{enterprise}/actions/runners/registration-token') { @@ -1040,7 +1040,7 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'POST /orgs/{org}/actions/runners/generate-jitconfig') { - return $this->typeResolver->resolve(''); + return $this->typeResolver->resolve('Schema\\Operations\\Actions\\GenerateRunnerJitconfigForEnterprise\\Response\\ApplicationJson\\Created'); } if ($call === 'POST /orgs/{org}/actions/runners/registration-token') { @@ -2064,7 +2064,7 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig') { - return $this->typeResolver->resolve(''); + return $this->typeResolver->resolve('Schema\\Operations\\Actions\\GenerateRunnerJitconfigForEnterprise\\Response\\ApplicationJson\\Created'); } if ($call === 'POST /repos/{owner}/{repo}/actions/runners/registration-token') { diff --git a/clients/GitHubEnterprise-3.13/src/Schema/AliasAbstract/Tiet2329E85F/Tiet2404E7BA/TietF6C81F1C/Tiet1EE267CF.php b/clients/GitHubEnterprise-3.13/src/Schema/AliasAbstract/TietEAB1E353/TietA691FF98/TietCADB7922/TietA4382CA1.php similarity index 94% rename from clients/GitHubEnterprise-3.13/src/Schema/AliasAbstract/Tiet2329E85F/Tiet2404E7BA/TietF6C81F1C/Tiet1EE267CF.php rename to clients/GitHubEnterprise-3.13/src/Schema/AliasAbstract/TietEAB1E353/TietA691FF98/TietCADB7922/TietA4382CA1.php index ab1eb72cfc3..2c79c99acd0 100644 --- a/clients/GitHubEnterprise-3.13/src/Schema/AliasAbstract/Tiet2329E85F/Tiet2404E7BA/TietF6C81F1C/Tiet1EE267CF.php +++ b/clients/GitHubEnterprise-3.13/src/Schema/AliasAbstract/TietEAB1E353/TietA691FF98/TietCADB7922/TietA4382CA1.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace ApiClients\Client\GitHubEnterprise\Schema\AliasAbstract\Tiet2329E85F\Tiet2404E7BA\TietF6C81F1C; +namespace ApiClients\Client\GitHubEnterprise\Schema\AliasAbstract\TietEAB1E353\TietA691FF98\TietCADB7922; use EventSauce\ObjectHydrator\MapFrom; -abstract readonly class Tiet1EE267CF +abstract readonly class TietA4382CA1 { public const SCHEMA_JSON = '{ "required": [ @@ -98,6 +98,9 @@ }, "description": "A label for a self hosted runner" } + }, + "ephemeral": { + "type": "boolean" } }, "description": "A self hosted runner" @@ -128,7 +131,8 @@ "name": "generated", "type": "custom" } - ] + ], + "ephemeral": false }, { "id": 5, @@ -148,7 +152,8 @@ "name": "generated", "type": "custom" } - ] + ], + "ephemeral": false } ] }'; diff --git a/clients/GitHubEnterprise-3.13/src/Schema/AliasAbstract/Tiet64C370DE/Tiet030B21C9/Tiet0FE13F38/Tiet1E6A295D.php b/clients/GitHubEnterprise-3.13/src/Schema/AliasAbstract/TietED690D6D/Tiet788B85F7/Tiet90BDCBBD/Tiet6547B867.php similarity index 94% rename from clients/GitHubEnterprise-3.13/src/Schema/AliasAbstract/Tiet64C370DE/Tiet030B21C9/Tiet0FE13F38/Tiet1E6A295D.php rename to clients/GitHubEnterprise-3.13/src/Schema/AliasAbstract/TietED690D6D/Tiet788B85F7/Tiet90BDCBBD/Tiet6547B867.php index ff8622298dd..e1963a1eb3a 100644 --- a/clients/GitHubEnterprise-3.13/src/Schema/AliasAbstract/Tiet64C370DE/Tiet030B21C9/Tiet0FE13F38/Tiet1E6A295D.php +++ b/clients/GitHubEnterprise-3.13/src/Schema/AliasAbstract/TietED690D6D/Tiet788B85F7/Tiet90BDCBBD/Tiet6547B867.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace ApiClients\Client\GitHubEnterprise\Schema\AliasAbstract\Tiet64C370DE\Tiet030B21C9\Tiet0FE13F38; +namespace ApiClients\Client\GitHubEnterprise\Schema\AliasAbstract\TietED690D6D\Tiet788B85F7\Tiet90BDCBBD; use EventSauce\ObjectHydrator\MapFrom; -abstract readonly class Tiet1E6A295D +abstract readonly class Tiet6547B867 { public const SCHEMA_JSON = '{ "required": [ @@ -98,6 +98,9 @@ }, "description": "A label for a self hosted runner" } + }, + "ephemeral": { + "type": "boolean" } }, "description": "A self hosted runner" @@ -128,7 +131,8 @@ "name": "generated", "type": "custom" } - ] + ], + "ephemeral": false }, { "id": 5, @@ -148,7 +152,8 @@ "name": "generated", "type": "custom" } - ] + ], + "ephemeral": false } ] }'; diff --git a/clients/GitHubEnterprise-3.13/src/Schema/Operations/Actions/GenerateRunnerJitconfigForEnterprise/Response/ApplicationJson/Created.php b/clients/GitHubEnterprise-3.13/src/Schema/Operations/Actions/GenerateRunnerJitconfigForEnterprise/Response/ApplicationJson/Created.php index 31946670d5e..03f42aff527 100644 --- a/clients/GitHubEnterprise-3.13/src/Schema/Operations/Actions/GenerateRunnerJitconfigForEnterprise/Response/ApplicationJson/Created.php +++ b/clients/GitHubEnterprise-3.13/src/Schema/Operations/Actions/GenerateRunnerJitconfigForEnterprise/Response/ApplicationJson/Created.php @@ -94,6 +94,9 @@ }, "description": "A label for a self hosted runner" } + }, + "ephemeral": { + "type": "boolean" } }, "description": "A self hosted runner" @@ -125,7 +128,8 @@ "name": "generated", "type": "custom" } - ] + ], + "ephemeral": false }, "encoded_jit_config": "generated" }'; diff --git a/clients/GitHubEnterprise-3.13/src/Schema/Operations/Actions/ListSelfHostedRunnersForOrg/Response/ApplicationJson/Ok.php b/clients/GitHubEnterprise-3.13/src/Schema/Operations/Actions/ListSelfHostedRunnersForOrg/Response/ApplicationJson/Ok.php index f37ce090b20..6e954a008b5 100644 --- a/clients/GitHubEnterprise-3.13/src/Schema/Operations/Actions/ListSelfHostedRunnersForOrg/Response/ApplicationJson/Ok.php +++ b/clients/GitHubEnterprise-3.13/src/Schema/Operations/Actions/ListSelfHostedRunnersForOrg/Response/ApplicationJson/Ok.php @@ -6,6 +6,6 @@ use ApiClients\Client\GitHubEnterprise\Schema; -final readonly class Ok extends Schema\AliasAbstract\Tiet2329E85F\Tiet2404E7BA\TietF6C81F1C\Tiet1EE267CF +final readonly class Ok extends Schema\AliasAbstract\TietEAB1E353\TietA691FF98\TietCADB7922\TietA4382CA1 { } diff --git a/clients/GitHubEnterprise-3.13/src/Schema/Operations/Actions/ListSelfHostedRunnersForRepo/Response/ApplicationJson/Ok.php b/clients/GitHubEnterprise-3.13/src/Schema/Operations/Actions/ListSelfHostedRunnersForRepo/Response/ApplicationJson/Ok.php index 9c50d341c45..7e0954bf98d 100644 --- a/clients/GitHubEnterprise-3.13/src/Schema/Operations/Actions/ListSelfHostedRunnersForRepo/Response/ApplicationJson/Ok.php +++ b/clients/GitHubEnterprise-3.13/src/Schema/Operations/Actions/ListSelfHostedRunnersForRepo/Response/ApplicationJson/Ok.php @@ -6,6 +6,6 @@ use ApiClients\Client\GitHubEnterprise\Schema; -final readonly class Ok extends Schema\AliasAbstract\Tiet2329E85F\Tiet2404E7BA\TietF6C81F1C\Tiet1EE267CF +final readonly class Ok extends Schema\AliasAbstract\TietEAB1E353\TietA691FF98\TietCADB7922\TietA4382CA1 { } diff --git a/clients/GitHubEnterprise-3.13/src/Schema/Operations/Actions/ListSelfHostedRunnersForRepo/Response/ApplicationJson/Ok/Application/Json.php b/clients/GitHubEnterprise-3.13/src/Schema/Operations/Actions/ListSelfHostedRunnersForRepo/Response/ApplicationJson/Ok/Application/Json.php index 25451e3066d..bb7dc0170b1 100644 --- a/clients/GitHubEnterprise-3.13/src/Schema/Operations/Actions/ListSelfHostedRunnersForRepo/Response/ApplicationJson/Ok/Application/Json.php +++ b/clients/GitHubEnterprise-3.13/src/Schema/Operations/Actions/ListSelfHostedRunnersForRepo/Response/ApplicationJson/Ok/Application/Json.php @@ -6,6 +6,6 @@ use ApiClients\Client\GitHubEnterprise\Schema; -final readonly class Json extends Schema\AliasAbstract\Tiet2329E85F\Tiet2404E7BA\TietF6C81F1C\Tiet1EE267CF +final readonly class Json extends Schema\AliasAbstract\TietEAB1E353\TietA691FF98\TietCADB7922\TietA4382CA1 { } diff --git a/clients/GitHubEnterprise-3.13/src/Schema/Operations/Actions/ListSelfHostedRunnersInGroupForOrg/Response/ApplicationJson/Ok.php b/clients/GitHubEnterprise-3.13/src/Schema/Operations/Actions/ListSelfHostedRunnersInGroupForOrg/Response/ApplicationJson/Ok.php index a088d07dcfb..6ca9d09473b 100644 --- a/clients/GitHubEnterprise-3.13/src/Schema/Operations/Actions/ListSelfHostedRunnersInGroupForOrg/Response/ApplicationJson/Ok.php +++ b/clients/GitHubEnterprise-3.13/src/Schema/Operations/Actions/ListSelfHostedRunnersInGroupForOrg/Response/ApplicationJson/Ok.php @@ -6,6 +6,6 @@ use ApiClients\Client\GitHubEnterprise\Schema; -final readonly class Ok extends Schema\AliasAbstract\Tiet64C370DE\Tiet030B21C9\Tiet0FE13F38\Tiet1E6A295D +final readonly class Ok extends Schema\AliasAbstract\TietED690D6D\Tiet788B85F7\Tiet90BDCBBD\Tiet6547B867 { } diff --git a/clients/GitHubEnterprise-3.13/src/Schema/Operations/Actions/ListSelfHostedRunnersInGroupForOrg/Response/ApplicationJson/Ok/Application/Json.php b/clients/GitHubEnterprise-3.13/src/Schema/Operations/Actions/ListSelfHostedRunnersInGroupForOrg/Response/ApplicationJson/Ok/Application/Json.php index 1c4e638dc67..9e90e56c969 100644 --- a/clients/GitHubEnterprise-3.13/src/Schema/Operations/Actions/ListSelfHostedRunnersInGroupForOrg/Response/ApplicationJson/Ok/Application/Json.php +++ b/clients/GitHubEnterprise-3.13/src/Schema/Operations/Actions/ListSelfHostedRunnersInGroupForOrg/Response/ApplicationJson/Ok/Application/Json.php @@ -6,6 +6,6 @@ use ApiClients\Client\GitHubEnterprise\Schema; -final readonly class Json extends Schema\AliasAbstract\Tiet64C370DE\Tiet030B21C9\Tiet0FE13F38\Tiet1E6A295D +final readonly class Json extends Schema\AliasAbstract\TietED690D6D\Tiet788B85F7\Tiet90BDCBBD\Tiet6547B867 { } diff --git a/clients/GitHubEnterprise-3.13/src/Schema/Operations/EnterpriseAdmin/ListSelfHostedRunnersForEnterprise/Response/ApplicationJson/Ok.php b/clients/GitHubEnterprise-3.13/src/Schema/Operations/EnterpriseAdmin/ListSelfHostedRunnersForEnterprise/Response/ApplicationJson/Ok.php index a5a998cdb39..76f38537988 100644 --- a/clients/GitHubEnterprise-3.13/src/Schema/Operations/EnterpriseAdmin/ListSelfHostedRunnersForEnterprise/Response/ApplicationJson/Ok.php +++ b/clients/GitHubEnterprise-3.13/src/Schema/Operations/EnterpriseAdmin/ListSelfHostedRunnersForEnterprise/Response/ApplicationJson/Ok.php @@ -94,6 +94,9 @@ }, "description": "A label for a self hosted runner" } + }, + "ephemeral": { + "type": "boolean" } }, "description": "A self hosted runner" @@ -124,7 +127,8 @@ "name": "generated", "type": "custom" } - ] + ], + "ephemeral": false }, { "id": 5, @@ -144,7 +148,8 @@ "name": "generated", "type": "custom" } - ] + ], + "ephemeral": false } ] }'; diff --git a/clients/GitHubEnterprise-3.13/src/Schema/Operations/EnterpriseAdmin/ListSelfHostedRunnersInGroupForEnterprise/Response/ApplicationJson/Ok.php b/clients/GitHubEnterprise-3.13/src/Schema/Operations/EnterpriseAdmin/ListSelfHostedRunnersInGroupForEnterprise/Response/ApplicationJson/Ok.php index 1c330da5fda..9fb19cab05e 100644 --- a/clients/GitHubEnterprise-3.13/src/Schema/Operations/EnterpriseAdmin/ListSelfHostedRunnersInGroupForEnterprise/Response/ApplicationJson/Ok.php +++ b/clients/GitHubEnterprise-3.13/src/Schema/Operations/EnterpriseAdmin/ListSelfHostedRunnersInGroupForEnterprise/Response/ApplicationJson/Ok.php @@ -6,6 +6,6 @@ use ApiClients\Client\GitHubEnterprise\Schema; -final readonly class Ok extends Schema\AliasAbstract\Tiet64C370DE\Tiet030B21C9\Tiet0FE13F38\Tiet1E6A295D +final readonly class Ok extends Schema\AliasAbstract\TietED690D6D\Tiet788B85F7\Tiet90BDCBBD\Tiet6547B867 { } diff --git a/clients/GitHubEnterprise-3.13/src/Schema/Runner.php b/clients/GitHubEnterprise-3.13/src/Schema/Runner.php index 8098d02e1ac..8f9c566494c 100644 --- a/clients/GitHubEnterprise-3.13/src/Schema/Runner.php +++ b/clients/GitHubEnterprise-3.13/src/Schema/Runner.php @@ -86,6 +86,9 @@ }, "description": "A label for a self hosted runner" } + }, + "ephemeral": { + "type": "boolean" } }, "description": "A self hosted runner" @@ -110,7 +113,8 @@ "name": "generated", "type": "custom" } - ] + ], + "ephemeral": false }'; /** @@ -121,7 +125,7 @@ * status: The status of the runner. */ public function __construct(public int $id, #[MapFrom('runner_group_id')] - public int|null $runnerGroupId, public string $name, public string $os, public string $status, public bool $busy, public array $labels,) + public int|null $runnerGroupId, public string $name, public string $os, public string $status, public bool $busy, public array $labels, public bool|null $ephemeral,) { } } diff --git a/clients/GitHubEnterprise-3.13/tests/Internal/Operation/Actions/GenerateRunnerJitconfigForEnterpriseTest.php b/clients/GitHubEnterprise-3.13/tests/Internal/Operation/Actions/GenerateRunnerJitconfigForEnterpriseTest.php index f8b692626f9..f916c7a923c 100644 --- a/clients/GitHubEnterprise-3.13/tests/Internal/Operation/Actions/GenerateRunnerJitconfigForEnterpriseTest.php +++ b/clients/GitHubEnterprise-3.13/tests/Internal/Operation/Actions/GenerateRunnerJitconfigForEnterpriseTest.php @@ -120,4 +120,38 @@ public function operations_httpCode_422_requestContentType_application_json_resp $client = new Client($auth->reveal(), $browser->reveal()); $result = $client->operations()->actions()->generateRunnerJitconfigForEnterprise('generated', json_decode(Schema\Actions\GenerateRunnerJitconfigForEnterprise\Request\ApplicationJson::SCHEMA_EXAMPLE_DATA, true)); } + + /** @test */ + public function call_httpCode_409_requestContentType_application_json_responseContentType_application_json_zero(): void + { + self::expectException(ErrorSchemas\BasicError::class); + $response = new Response(409, ['Content-Type' => 'application/json'], json_encode(json_decode(Schema\BasicError::SCHEMA_EXAMPLE_DATA, true))); + $auth = $this->prophesize(AuthenticationInterface::class); + $auth->authHeader(Argument::any())->willReturn('Bearer beer')->shouldBeCalled(); + $browser = $this->prophesize(Browser::class); + $browser->withBase(Argument::any())->willReturn($browser->reveal()); + $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); + $browser->request('POST', '/enterprises/generated/actions/runners/generate-jitconfig', Argument::type('array'), json_encode(json_decode(Schema\Actions\GenerateRunnerJitconfigForEnterprise\Request\ApplicationJson::SCHEMA_EXAMPLE_DATA, true)))->willReturn(resolve($response))->shouldBeCalled(); + $client = new Client($auth->reveal(), $browser->reveal()); + $result = $client->call(Internal\Operation\Actions\GenerateRunnerJitconfigForEnterprise::OPERATION_MATCH, (static function (array $data): array { + $data['enterprise'] = 'generated'; + + return $data; + })(json_decode(Schema\Actions\GenerateRunnerJitconfigForEnterprise\Request\ApplicationJson::SCHEMA_EXAMPLE_DATA, true))); + } + + /** @test */ + public function operations_httpCode_409_requestContentType_application_json_responseContentType_application_json_zero(): void + { + self::expectException(ErrorSchemas\BasicError::class); + $response = new Response(409, ['Content-Type' => 'application/json'], json_encode(json_decode(Schema\BasicError::SCHEMA_EXAMPLE_DATA, true))); + $auth = $this->prophesize(AuthenticationInterface::class); + $auth->authHeader(Argument::any())->willReturn('Bearer beer')->shouldBeCalled(); + $browser = $this->prophesize(Browser::class); + $browser->withBase(Argument::any())->willReturn($browser->reveal()); + $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); + $browser->request('POST', '/enterprises/generated/actions/runners/generate-jitconfig', Argument::type('array'), json_encode(json_decode(Schema\Actions\GenerateRunnerJitconfigForEnterprise\Request\ApplicationJson::SCHEMA_EXAMPLE_DATA, true)))->willReturn(resolve($response))->shouldBeCalled(); + $client = new Client($auth->reveal(), $browser->reveal()); + $result = $client->operations()->actions()->generateRunnerJitconfigForEnterprise('generated', json_decode(Schema\Actions\GenerateRunnerJitconfigForEnterprise\Request\ApplicationJson::SCHEMA_EXAMPLE_DATA, true)); + } } diff --git a/clients/GitHubEnterprise-3.13/tests/Internal/Operation/Actions/GenerateRunnerJitconfigForOrgTest.php b/clients/GitHubEnterprise-3.13/tests/Internal/Operation/Actions/GenerateRunnerJitconfigForOrgTest.php index 56f55779d7b..0afeebfe2eb 100644 --- a/clients/GitHubEnterprise-3.13/tests/Internal/Operation/Actions/GenerateRunnerJitconfigForOrgTest.php +++ b/clients/GitHubEnterprise-3.13/tests/Internal/Operation/Actions/GenerateRunnerJitconfigForOrgTest.php @@ -120,4 +120,38 @@ public function operations_httpCode_422_requestContentType_application_json_resp $client = new Client($auth->reveal(), $browser->reveal()); $result = $client->operations()->actions()->generateRunnerJitconfigForOrg('generated', json_decode(Schema\Actions\GenerateRunnerJitconfigForOrg\Request\ApplicationJson::SCHEMA_EXAMPLE_DATA, true)); } + + /** @test */ + public function call_httpCode_409_requestContentType_application_json_responseContentType_application_json_zero(): void + { + self::expectException(ErrorSchemas\BasicError::class); + $response = new Response(409, ['Content-Type' => 'application/json'], json_encode(json_decode(Schema\BasicError::SCHEMA_EXAMPLE_DATA, true))); + $auth = $this->prophesize(AuthenticationInterface::class); + $auth->authHeader(Argument::any())->willReturn('Bearer beer')->shouldBeCalled(); + $browser = $this->prophesize(Browser::class); + $browser->withBase(Argument::any())->willReturn($browser->reveal()); + $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); + $browser->request('POST', '/orgs/generated/actions/runners/generate-jitconfig', Argument::type('array'), json_encode(json_decode(Schema\Actions\GenerateRunnerJitconfigForOrg\Request\ApplicationJson::SCHEMA_EXAMPLE_DATA, true)))->willReturn(resolve($response))->shouldBeCalled(); + $client = new Client($auth->reveal(), $browser->reveal()); + $result = $client->call(Internal\Operation\Actions\GenerateRunnerJitconfigForOrg::OPERATION_MATCH, (static function (array $data): array { + $data['org'] = 'generated'; + + return $data; + })(json_decode(Schema\Actions\GenerateRunnerJitconfigForOrg\Request\ApplicationJson::SCHEMA_EXAMPLE_DATA, true))); + } + + /** @test */ + public function operations_httpCode_409_requestContentType_application_json_responseContentType_application_json_zero(): void + { + self::expectException(ErrorSchemas\BasicError::class); + $response = new Response(409, ['Content-Type' => 'application/json'], json_encode(json_decode(Schema\BasicError::SCHEMA_EXAMPLE_DATA, true))); + $auth = $this->prophesize(AuthenticationInterface::class); + $auth->authHeader(Argument::any())->willReturn('Bearer beer')->shouldBeCalled(); + $browser = $this->prophesize(Browser::class); + $browser->withBase(Argument::any())->willReturn($browser->reveal()); + $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); + $browser->request('POST', '/orgs/generated/actions/runners/generate-jitconfig', Argument::type('array'), json_encode(json_decode(Schema\Actions\GenerateRunnerJitconfigForOrg\Request\ApplicationJson::SCHEMA_EXAMPLE_DATA, true)))->willReturn(resolve($response))->shouldBeCalled(); + $client = new Client($auth->reveal(), $browser->reveal()); + $result = $client->operations()->actions()->generateRunnerJitconfigForOrg('generated', json_decode(Schema\Actions\GenerateRunnerJitconfigForOrg\Request\ApplicationJson::SCHEMA_EXAMPLE_DATA, true)); + } } diff --git a/clients/GitHubEnterprise-3.13/tests/Internal/Operation/Actions/GenerateRunnerJitconfigForRepoTest.php b/clients/GitHubEnterprise-3.13/tests/Internal/Operation/Actions/GenerateRunnerJitconfigForRepoTest.php index b0bc523a6a2..052a68a2278 100644 --- a/clients/GitHubEnterprise-3.13/tests/Internal/Operation/Actions/GenerateRunnerJitconfigForRepoTest.php +++ b/clients/GitHubEnterprise-3.13/tests/Internal/Operation/Actions/GenerateRunnerJitconfigForRepoTest.php @@ -123,4 +123,39 @@ public function operations_httpCode_422_requestContentType_application_json_resp $client = new Client($auth->reveal(), $browser->reveal()); $result = $client->operations()->actions()->generateRunnerJitconfigForRepo('generated', 'generated', json_decode(Schema\Actions\GenerateRunnerJitconfigForRepo\Request\ApplicationJson::SCHEMA_EXAMPLE_DATA, true)); } + + /** @test */ + public function call_httpCode_409_requestContentType_application_json_responseContentType_application_json_zero(): void + { + self::expectException(ErrorSchemas\BasicError::class); + $response = new Response(409, ['Content-Type' => 'application/json'], json_encode(json_decode(Schema\BasicError::SCHEMA_EXAMPLE_DATA, true))); + $auth = $this->prophesize(AuthenticationInterface::class); + $auth->authHeader(Argument::any())->willReturn('Bearer beer')->shouldBeCalled(); + $browser = $this->prophesize(Browser::class); + $browser->withBase(Argument::any())->willReturn($browser->reveal()); + $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); + $browser->request('POST', '/repos/generated/generated/actions/runners/generate-jitconfig', Argument::type('array'), json_encode(json_decode(Schema\Actions\GenerateRunnerJitconfigForRepo\Request\ApplicationJson::SCHEMA_EXAMPLE_DATA, true)))->willReturn(resolve($response))->shouldBeCalled(); + $client = new Client($auth->reveal(), $browser->reveal()); + $result = $client->call(Internal\Operation\Actions\GenerateRunnerJitconfigForRepo::OPERATION_MATCH, (static function (array $data): array { + $data['owner'] = 'generated'; + $data['repo'] = 'generated'; + + return $data; + })(json_decode(Schema\Actions\GenerateRunnerJitconfigForRepo\Request\ApplicationJson::SCHEMA_EXAMPLE_DATA, true))); + } + + /** @test */ + public function operations_httpCode_409_requestContentType_application_json_responseContentType_application_json_zero(): void + { + self::expectException(ErrorSchemas\BasicError::class); + $response = new Response(409, ['Content-Type' => 'application/json'], json_encode(json_decode(Schema\BasicError::SCHEMA_EXAMPLE_DATA, true))); + $auth = $this->prophesize(AuthenticationInterface::class); + $auth->authHeader(Argument::any())->willReturn('Bearer beer')->shouldBeCalled(); + $browser = $this->prophesize(Browser::class); + $browser->withBase(Argument::any())->willReturn($browser->reveal()); + $browser->withFollowRedirects(Argument::any())->willReturn($browser->reveal()); + $browser->request('POST', '/repos/generated/generated/actions/runners/generate-jitconfig', Argument::type('array'), json_encode(json_decode(Schema\Actions\GenerateRunnerJitconfigForRepo\Request\ApplicationJson::SCHEMA_EXAMPLE_DATA, true)))->willReturn(resolve($response))->shouldBeCalled(); + $client = new Client($auth->reveal(), $browser->reveal()); + $result = $client->operations()->actions()->generateRunnerJitconfigForRepo('generated', 'generated', json_decode(Schema\Actions\GenerateRunnerJitconfigForRepo\Request\ApplicationJson::SCHEMA_EXAMPLE_DATA, true)); + } } diff --git a/clients/GitHubEnterprise-3.13/tests/Types/ClientCallReturnTypes.php b/clients/GitHubEnterprise-3.13/tests/Types/ClientCallReturnTypes.php index e5157d7a68e..3746e0a2783 100644 --- a/clients/GitHubEnterprise-3.13/tests/Types/ClientCallReturnTypes.php +++ b/clients/GitHubEnterprise-3.13/tests/Types/ClientCallReturnTypes.php @@ -141,7 +141,7 @@ function authHeader(): string assertType('', $client->call('DELETE /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}')); assertType('', $client->call('GET /enterprises/{enterprise}/actions/runners')); assertType('Observable', $client->call('GET /enterprises/{enterprise}/actions/runners/downloads')); -assertType('', $client->call('POST /enterprises/{enterprise}/actions/runners/generate-jitconfig')); +assertType('Schema\\Operations\\Actions\\GenerateRunnerJitconfigForEnterprise\\Response\\ApplicationJson\\Created', $client->call('POST /enterprises/{enterprise}/actions/runners/generate-jitconfig')); assertType('', $client->call('POST /enterprises/{enterprise}/actions/runners/registration-token')); assertType('', $client->call('POST /enterprises/{enterprise}/actions/runners/remove-token')); assertType('', $client->call('GET /enterprises/{enterprise}/actions/runners/{runner_id}')); @@ -266,7 +266,7 @@ function authHeader(): string assertType('', $client->call('DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}')); assertType('', $client->call('GET /orgs/{org}/actions/runners')); assertType('Observable', $client->call('GET /orgs/{org}/actions/runners/downloads')); -assertType('', $client->call('POST /orgs/{org}/actions/runners/generate-jitconfig')); +assertType('Schema\\Operations\\Actions\\GenerateRunnerJitconfigForEnterprise\\Response\\ApplicationJson\\Created', $client->call('POST /orgs/{org}/actions/runners/generate-jitconfig')); assertType('', $client->call('POST /orgs/{org}/actions/runners/registration-token')); assertType('', $client->call('POST /orgs/{org}/actions/runners/remove-token')); assertType('', $client->call('GET /orgs/{org}/actions/runners/{runner_id}')); @@ -522,7 +522,7 @@ function authHeader(): string assertType('', $client->call('PUT /repos/{owner}/{repo}/actions/permissions/workflow')); assertType('', $client->call('GET /repos/{owner}/{repo}/actions/runners')); assertType('Observable', $client->call('GET /repos/{owner}/{repo}/actions/runners/downloads')); -assertType('', $client->call('POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig')); +assertType('Schema\\Operations\\Actions\\GenerateRunnerJitconfigForEnterprise\\Response\\ApplicationJson\\Created', $client->call('POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig')); assertType('', $client->call('POST /repos/{owner}/{repo}/actions/runners/registration-token')); assertType('', $client->call('POST /repos/{owner}/{repo}/actions/runners/remove-token')); assertType('', $client->call('GET /repos/{owner}/{repo}/actions/runners/{runner_id}')); diff --git a/etc/specs/GitHubEnterprise-3.13/current.spec.yaml b/etc/specs/GitHubEnterprise-3.13/current.spec.yaml index b64230d91d9..4e52d7ad48e 100644 --- a/etc/specs/GitHubEnterprise-3.13/current.spec.yaml +++ b/etc/specs/GitHubEnterprise-3.13/current.spec.yaml @@ -4851,6 +4851,8 @@ paths: "$ref": "#/components/responses/not_found" '422': "$ref": "#/components/responses/validation_failed_simple" + '409': + "$ref": "#/components/responses/conflict" x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -9894,6 +9896,8 @@ paths: "$ref": "#/components/responses/not_found" '422': "$ref": "#/components/responses/validation_failed_simple" + '409': + "$ref": "#/components/responses/conflict" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20082,6 +20086,8 @@ paths: "$ref": "#/components/responses/not_found" '422': "$ref": "#/components/responses/validation_failed_simple" + '409': + "$ref": "#/components/responses/conflict" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34574,7 +34580,6 @@ paths: environment: github-pages pages_build_version: 4fd754f7e594640989b406850d0bc8f06a121251 oidc_token: eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IlV2R1h4SUhlY0JFc1JCdEttemUxUEhfUERiVSIsImtpZCI6IjUyRjE5N0M0ODFERTcwMTEyQzQ0MUI0QTlCMzdCNTNDN0ZDRjBEQjUifQ.eyJqdGkiOiJhMWIwNGNjNy0zNzZiLTQ1N2QtOTMzNS05NTY5YmVjZDExYTIiLCJzdWIiOiJyZXBvOnBhcGVyLXNwYS9taW55aTplbnZpcm9ubWVudDpQcm9kdWN0aW9uIiwiYXVkIjoiaHR0cHM6Ly9naXRodWIuY29tL3BhcGVyLXNwYSIsInJlZiI6InJlZnMvaGVhZHMvbWFpbiIsInNoYSI6ImEyODU1MWJmODdiZDk3NTFiMzdiMmM0YjM3M2MxZjU3NjFmYWM2MjYiLCJyZXBvc2l0b3J5IjoicGFwZXItc3BhL21pbnlpIiwicmVwb3NpdG9yeV9vd25lciI6InBhcGVyLXNwYSIsInJ1bl9pZCI6IjE1NDY0NTkzNjQiLCJydW5fbnVtYmVyIjoiMzQiLCJydW5fYXR0ZW1wdCI6IjYiLCJhY3RvciI6IllpTXlzdHkiLCJ3b3JrZmxvdyI6IkNJIiwiaGVhZF9yZWYiOiIiLCJiYXNlX3JlZiI6IiIsImV2ZW50X25hbWUiOiJwdXNoIiwicmVmX3R5cGUiOiJicmFuY2giLCJlbnZpcm9ubWVudCI6IlByb2R1Y3Rpb24iLCJqb2Jfd29ya2Zsb3dfcmVmIjoicGFwZXItc3BhL21pbnlpLy5naXRodWIvd29ya2Zsb3dzL2JsYW5rLnltbEByZWZzL2hlYWRzL21haW4iLCJpc3MiOiJodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwibmJmIjoxNjM5MDAwODU2LCJleHAiOjE2MzkwMDE3NTYsImlhdCI6MTYzOTAwMTQ1Nn0.VP8WictbQECKozE2SgvKb2FqJ9hisWsoMkYRTqfBrQfZTCXi5IcFEdgDMB2X7a99C2DeUuTvHh9RMKXLL2a0zg3-Sd7YrO7a2ll2kNlnvyIypcN6AeIc7BxHsTTnZN9Ud_xmEsTrSRGOEKmzCFkULQ6N4zlVD0sidypmXlMemmWEcv_ZHqhioEI_VMp5vwXQurketWH7qX4oDgG4okyYtPrv5RQHbfQcVo9izaPJ_jnsDd0CBA0QOx9InjPidtIkMYQLyUgJy33HLJy86EFNUnAf8UhBQuQi5mAsEpEzBBuKpG3PDiPtYCHOk64JZkZGd5mR888a5sbHRiaF8hm8YA - preview: false responses: '200': description: Response @@ -68617,6 +68622,8 @@ components: type: array items: "$ref": "#/components/schemas/runner-label" + ephemeral: + type: boolean required: - id - name @@ -193850,6 +193857,7 @@ components: os: linux status: online busy: true + ephemeral: false labels: - id: 5 name: self-hosted @@ -193865,6 +193873,7 @@ components: os: macos status: offline busy: false + ephemeral: false labels: - id: 5 name: self-hosted @@ -193947,6 +193956,7 @@ components: os: macos status: online busy: true + ephemeral: false labels: - id: 5 name: self-hosted @@ -216091,6 +216101,12 @@ components: examples: default: "$ref": "#/components/examples/runner-jitconfig" + conflict: + description: Conflict + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" actions_runner_labels: description: Response content: @@ -216170,12 +216186,6 @@ components: application/json: schema: "$ref": "#/components/schemas/basic-error" - conflict: - description: Conflict - content: - application/json: - schema: - "$ref": "#/components/schemas/basic-error" package_es_list_error: description: The value of `per_page` multiplied by `page` cannot be greater than 10000.