Skip to content

[GitHubEnterpriseCloud] Update to 1.1.4-95df4267202b432fe4f72cf542eb28c8 from 1.1.4-d447e3d393f86b8bab369d6928d9de52 #1292

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"specHash": "d447e3d393f86b8bab369d6928d9de52",
"specHash": "95df4267202b432fe4f72cf542eb28c8",
"generatedFiles": {
"files": [
{
Expand Down Expand Up @@ -456,7 +456,7 @@
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/ApiOverview.php",
"hash": "5d297743d7e6782e30ffb35d8d3ed603"
"hash": "43502739bba053f2d341869e9194d097"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/SecurityAndAnalysis.php",
Expand Down Expand Up @@ -27128,7 +27128,7 @@
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Meta.php",
"hash": "9aa3f630d5cde4763ddb43d6e5531fb4"
"hash": "6ec80e627a4899f39a12108aa03d83f7"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Networks\/Owner\/Repo\/Events.php",
Expand Down Expand Up @@ -29544,15 +29544,15 @@
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/RuleSuites.php",
"hash": "d8ad8c7092514c13051ed6db1d102c04"
"hash": "b2bdac08877d79f008bae29d0b0ca95c"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/RuleSuite.php",
"hash": "b8861991862d8a0ac436432e08cd7410"
"hash": "558d0bc8106ca50c91ee349ff36e1f65"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/RuleSuite\/RuleEvaluations.php",
"hash": "b8f11e925ff57747f921705a8ced1cbb"
"hash": "46d340746559f7bfcc6ebf21eb277214"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/RuleSuite\/RuleEvaluations\/RuleSource.php",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S

after_actionsMacos:

$value = $payload['codespaces'] ?? null;

if ($value === null) {
$properties['codespaces'] = null;
goto after_codespaces;
}

$properties['codespaces'] = $value;

after_codespaces:

$value = $payload['dependabot'] ?? null;

if ($value === null) {
Expand Down Expand Up @@ -741,6 +752,21 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
$actionsMacos = $actionsMacosSerializer0->serialize($actionsMacos, $this);
after_actionsMacos: $result['actions_macos'] = $actionsMacos;

$codespaces = $object->codespaces;

if ($codespaces === null) {
goto after_codespaces;
}

static $codespacesSerializer0;

if ($codespacesSerializer0 === null) {
$codespacesSerializer0 = new SerializeArrayItems(...[]);
}

$codespaces = $codespacesSerializer0->serialize($codespaces, $this);
after_codespaces: $result['codespaces'] = $codespaces;

$dependabot = $object->dependabot;

if ($dependabot === null) {
Expand Down
15 changes: 14 additions & 1 deletion clients/GitHubEnterpriseCloud/src/Schema/ApiOverview.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,15 @@
"192.0.2.1"
]
},
"codespaces": {
"type": "array",
"items": {
"type": "string"
},
"examples": [
"192.0.2.1"
]
},
"dependabot": {
"type": "array",
"items": {
Expand Down Expand Up @@ -283,6 +292,10 @@
"192.0.2.1",
"192.0.2.1"
],
"codespaces": [
"192.0.2.1",
"192.0.2.1"
],
"dependabot": [
"192.0.2.1",
"192.0.2.1"
Expand Down Expand Up @@ -327,7 +340,7 @@ public function __construct(#[MapFrom('verifiable_password_authentication')]
public Schema\ApiOverview\SshKeyFingerprints|null $sshKeyFingerprints, #[MapFrom('ssh_keys')]
public array|null $sshKeys, public array|null $hooks, #[MapFrom('github_enterprise_importer')]
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')]
public array|null $actionsMacos, public array|null $dependabot, public array|null $copilot, public Schema\ApiOverview\Domains|null $domains,)
public array|null $actionsMacos, public array|null $codespaces, public array|null $dependabot, public array|null $copilot, public Schema\ApiOverview\Domains|null $domains,)
{
}
}
20 changes: 14 additions & 6 deletions clients/GitHubEnterpriseCloud/src/Schema/RuleSuite.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,15 @@
"evaluation_result": {
"enum": [
"pass",
"fail"
"fail",
"bypass",
null
],
"type": "string",
"description": "The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`."
"type": [
"string",
"null"
],
"description": "The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`. Null if no rules with `evaluate` enforcement status were run."
},
"rule_evaluations": {
"type": "array",
Expand Down Expand Up @@ -124,8 +129,11 @@
"description": "The type of rule."
},
"details": {
"type": "string",
"description": "Any associated details with the rule evaluation."
"type": [
"string",
"null"
],
"description": "The detailed failure message for the rule. Null if the rule passed."
}
}
},
Expand Down Expand Up @@ -184,7 +192,7 @@
* repositoryId: The ID of the repository associated with the rule evaluation.
* repositoryName: The name of the repository without the `.git` extension.
* result: The result of the rule evaluations for rules with the `active` enforcement status.
* evaluationResult: The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`.
* evaluationResult: The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`. Null if no rules with `evaluate` enforcement status were run.
* ruleEvaluations: Details on the evaluated rules.
*/
public function __construct(public int|null $id, #[MapFrom('actor_id')]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,11 @@
"description": "The type of rule."
},
"details": {
"type": "string",
"description": "Any associated details with the rule evaluation."
"type": [
"string",
"null"
],
"description": "The detailed failure message for the rule. Null if the rule passed."
}
}
}';
Expand All @@ -80,7 +83,7 @@
* enforcement: The enforcement level of this rule source.
* result: The result of the evaluation of the individual rule.
* ruleType: The type of rule.
* details: Any associated details with the rule evaluation.
* details: The detailed failure message for the rule. Null if the rule passed.
*/
public function __construct(#[MapFrom('rule_source')]
public Schema\RuleSuite\RuleEvaluations\RuleSource|null $ruleSource, public string|null $enforcement, public string|null $result, #[MapFrom('rule_type')]
Expand Down
3 changes: 2 additions & 1 deletion clients/GitHubEnterpriseCloud/src/Schema/RuleSuites.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@
"evaluation_result": {
"enum": [
"pass",
"fail"
"fail",
"bypass"
],
"type": "string",
"description": "The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`."
Expand Down
27 changes: 21 additions & 6 deletions etc/specs/GitHubEnterpriseCloud/current.spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23548,9 +23548,9 @@ paths:
description: |-
Store an artifact attestation and associate it with a repository.

The authenticated user must have write permission to the repository and, if using a fine-grained access token the `attestations:write` permission is required.
The authenticated user must have write permission to the repository and, if using a fine-grained access token, the `attestations:write` permission is required.

Artifact attestations are meant to be created using the [attest action](https://github.com/actions/attest). For amore information, see our guide on [using artifact attestations to establish a build's provenance](https://docs.github.com/enterprise-cloud@latest//actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds).
Artifact attestations are meant to be created using the [attest action](https://github.com/actions/attest). For more information, see our guide on [using artifact attestations to establish a build's provenance](https://docs.github.com/enterprise-cloud@latest//actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds).
tags:
- repos
operationId: repos/create-attestation
Expand Down Expand Up @@ -77511,6 +77511,12 @@ components:
type: string
examples:
- 192.0.2.1
codespaces:
type: array
items:
type: string
examples:
- 192.0.2.1
dependabot:
type: array
items:
Expand Down Expand Up @@ -82408,6 +82414,7 @@ components:
enum:
- pass
- fail
- bypass
description: The result of the rule evaluations for rules with the `active`
and `evaluate` enforcement statuses, demonstrating whether rules would
pass or fail if all rules in the rule suite were `active`.
Expand Down Expand Up @@ -82458,13 +82465,18 @@ components:
description: The result of the rule evaluations for rules with the `active`
enforcement status.
evaluation_result:
type: string
type:
- string
- 'null'
enum:
- pass
- fail
- bypass
-
description: The result of the rule evaluations for rules with the `active`
and `evaluate` enforcement statuses, demonstrating whether rules would
pass or fail if all rules in the rule suite were `active`.
pass or fail if all rules in the rule suite were `active`. Null if no
rules with `evaluate` enforcement status were run.
rule_evaluations:
type: array
description: Details on the evaluated rules.
Expand Down Expand Up @@ -82504,8 +82516,11 @@ components:
type: string
description: The type of rule.
details:
type: string
description: Any associated details with the rule evaluation.
type:
- string
- 'null'
description: The detailed failure message for the rule. Null if the
rule passed.
repository-advisory-vulnerability:
description: A product affected by the vulnerability detailed in a repository
security advisory.
Expand Down
Loading