Skip to content

Commit e9bfade

Browse files
authored
[GitHubEnterpriseCloud] Update to 1.1.4-8ecaace45ed715d2d715454782f344f9 from 1.1.4-703494381f522290efa74973002e8a57
Detected Schema changes: {"time":"2023-11-15T15:24:56.490465218Z","level":"ERROR","msg":"unable to open rolodex file","file":"/__w/github-root/github-root/server-statistics-actions.yaml","error":"open /__w/github-root/github-root/server-statistics-actions.yaml: no such file or directory"} {"time":"2023-11-15T15:24:56.49055912Z","level":"ERROR","msg":"unable to open rolodex file","file":"/__w/github-root/github-root/server-statistics-packages.yaml","error":"open /__w/github-root/github-root/server-statistics-packages.yaml: no such file or directory"} {"time":"2023-11-15T15:24:58.198434947Z","level":"ERROR","msg":"unable to open rolodex file","file":"/__w/github-root/github-root/server-statistics-actions.yaml","error":"open /__w/github-root/github-root/server-statistics-actions.yaml: no such file or directory"} {"time":"2023-11-15T15:24:58.198509948Z","level":"ERROR","msg":"unable to open rolodex file","file":"/__w/github-root/github-root/server-statistics-packages.yaml","error":"open /__w/github-root/github-root/server-statistics-packages.yaml: no such file or directory"} ERROR: error: Error thrown when comparing: component 'server-statistics-actions.yaml' does not exist in the specification ERROR: component 'server-statistics-actions.yaml' does not exist in the specification ERROR: component 'server-statistics-packages.yaml' does not exist in the specification ERROR: cannot resolve reference `server-statistics-actions.yaml`, it's missing: [218778:11] ERROR: cannot resolve reference `server-statistics-packages.yaml`, it's missing: [218780:11] ERROR: component 'server-statistics-actions.yaml' does not exist in the specification ERROR: component 'server-statistics-packages.yaml' does not exist in the specification ERROR: cannot resolve reference `server-statistics-actions.yaml`, it's missing: [218767:11] ERROR: cannot resolve reference `server-statistics-packages.yaml`, it's missing: [218769:11]
1 parent a6e2c59 commit e9bfade

9 files changed

+57
-23
lines changed

etc/openapi-client-generator.state

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "703494381f522290efa74973002e8a57",
2+
"specHash": "8ecaace45ed715d2d715454782f344f9",
33
"generatedFiles": {
44
"files": [
55
{
@@ -276,7 +276,7 @@
276276
},
277277
{
278278
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CodeScanningRef.php",
279-
"hash": "6c4be09f960c6ed9f76a12a95d14a7a4"
279+
"hash": "0557780ad0abffb4f676f4e3b1ec37cc"
280280
},
281281
{
282282
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CodeScanningAnalysisAnalysisKey.php",
@@ -300,15 +300,15 @@
300300
},
301301
{
302302
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CodeScanningAlertInstance.php",
303-
"hash": "fd21dcf6e4865164d30471a9197e0b97"
303+
"hash": "997a0d55fc1dc2230b8f3ad16e898e9a"
304304
},
305305
{
306306
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/SimpleRepository.php",
307307
"hash": "4bfe98f99b442a43b9b911bf49febad9"
308308
},
309309
{
310310
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CodeScanningOrganizationAlertItems.php",
311-
"hash": "fb2ad7e774657174b52f3bc256f7c049"
311+
"hash": "8770a01cbbce5a4a1794a86e1387cfd3"
312312
},
313313
{
314314
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/EnterpriseSecurityAnalysisSettings.php",
@@ -952,11 +952,11 @@
952952
},
953953
{
954954
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CodeScanningAlertItems.php",
955-
"hash": "e8c9dbd2dfc0f6ce462974c75bab621b"
955+
"hash": "4506010d78298ace10741750db1bef68"
956956
},
957957
{
958958
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CodeScanningAlert.php",
959-
"hash": "2c31e58e627a2e17217ed8cbbd3e41d2"
959+
"hash": "2760531d13c5898ebc0d682d587da3fb"
960960
},
961961
{
962962
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CodeScanningAlertSetState.php",
@@ -984,7 +984,7 @@
984984
},
985985
{
986986
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CodeScanningAnalysis.php",
987-
"hash": "32fdb6bfc9cef4e4d07d90806bde34b8"
987+
"hash": "d8947ec23c3a25fd3c0ef3c3e56228a6"
988988
},
989989
{
990990
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CodeScanningAnalysisDeletion.php",
@@ -5440,7 +5440,7 @@
54405440
},
54415441
{
54425442
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CodeScanning\/UploadSarif\/Request\/ApplicationJson.php",
5443-
"hash": "5657f9a37d59558c8761e6f2f1643792"
5443+
"hash": "7411f9e337472bf23b28b35332f76a20"
54445444
},
54455445
{
54465446
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Codespaces\/CreateWithRepoForAuthenticatedUser\/Request\/ApplicationJson.php",
@@ -32505,6 +32505,10 @@
3250532505
{
3250632506
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/WebHook\/WorkflowRun.php",
3250732507
"hash": "64a45da5438b1eb7de2beef8838c0b4f"
32508+
},
32509+
{
32510+
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CodeScanningRefFull.php",
32511+
"hash": "761e48371d8d9e2e0f46a680681e274f"
3250832512
}
3250932513
]
3251032514
},

src/Schema/CodeScanning/UploadSarif/Request/ApplicationJson.php

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,12 @@
2424
"description": "The SHA of the commit to which the analysis you are uploading relates."
2525
},
2626
"ref": {
27+
"pattern": "^refs\\/(heads|pull)\\/.*$",
2728
"type": "string",
28-
"description": "The full Git reference, formatted as `refs\\/heads\\/<branch name>`,\\n`refs\\/pull\\/<number>\\/merge`, or `refs\\/pull\\/<number>\\/head`."
29+
"description": "The full Git reference, formatted as `refs\\/heads\\/<branch name>`,\\n`refs\\/pull\\/<number>\\/merge`, or `refs\\/pull\\/<number>\\/head`.",
30+
"examples": [
31+
"refs\\/heads\\/main"
32+
]
2933
},
3034
"sarif": {
3135
"type": "string",
@@ -52,13 +56,14 @@
5256
"type": "boolean",
5357
"description": "Whether the SARIF file will be validated according to the code scanning specifications.\\nThis parameter is intended to help integrators ensure that the uploaded SARIF files are correctly rendered by code scanning."
5458
}
55-
}
59+
},
60+
"additionalProperties": false
5661
}';
5762
public const SCHEMA_TITLE = '';
5863
public const SCHEMA_DESCRIPTION = '';
5964
public const SCHEMA_EXAMPLE_DATA = '{
6065
"commit_sha": "DDDDDDDDDDDDDD",
61-
"ref": "generated",
66+
"ref": "refs\\/heads\\/main",
6267
"sarif": "generated",
6368
"checkout_uri": "file:\\/\\/\\/github\\/workspace\\/",
6469
"started_at": "1970-01-01T00:00:00+00:00",

src/Schema/CodeScanningAlert.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@
381381
"properties": {
382382
"ref": {
383383
"type": "string",
384-
"description": "The full Git reference, formatted as `refs\\/heads\\/<branch name>`,\\n`refs\\/pull\\/<number>\\/merge`, or `refs\\/pull\\/<number>\\/head`."
384+
"description": "The Git reference, formatted as `refs\\/pull\\/<number>\\/merge`, `refs\\/pull\\/<number>\\/head`,\\n`refs\\/heads\\/<branch name>` or simply `<branch name>`."
385385
},
386386
"analysis_key": {
387387
"type": "string",

src/Schema/CodeScanningAlertInstance.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"properties": {
1515
"ref": {
1616
"type": "string",
17-
"description": "The full Git reference, formatted as `refs\\/heads\\/<branch name>`,\\n`refs\\/pull\\/<number>\\/merge`, or `refs\\/pull\\/<number>\\/head`."
17+
"description": "The Git reference, formatted as `refs\\/pull\\/<number>\\/merge`, `refs\\/pull\\/<number>\\/head`,\\n`refs\\/heads\\/<branch name>` or simply `<branch name>`."
1818
},
1919
"analysis_key": {
2020
"type": "string",
@@ -119,8 +119,8 @@
119119
}';
120120

121121
/**
122-
* ref: The full Git reference, formatted as `refs/heads/<branch name>`,
123-
`refs/pull/<number>/merge`, or `refs/pull/<number>/head`.
122+
* ref: The Git reference, formatted as `refs/pull/<number>/merge`, `refs/pull/<number>/head`,
123+
`refs/heads/<branch name>` or simply `<branch name>`.
124124
* analysisKey: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name.
125125
* environment: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed.
126126
* category: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple analyses for the same tool and commit, but performed on different languages or different parts of the code.

src/Schema/CodeScanningAlertItems.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@
349349
"properties": {
350350
"ref": {
351351
"type": "string",
352-
"description": "The full Git reference, formatted as `refs\\/heads\\/<branch name>`,\\n`refs\\/pull\\/<number>\\/merge`, or `refs\\/pull\\/<number>\\/head`."
352+
"description": "The Git reference, formatted as `refs\\/pull\\/<number>\\/merge`, `refs\\/pull\\/<number>\\/head`,\\n`refs\\/heads\\/<branch name>` or simply `<branch name>`."
353353
},
354354
"analysis_key": {
355355
"type": "string",

src/Schema/CodeScanningAnalysis.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"properties": {
3131
"ref": {
3232
"type": "string",
33-
"description": "The full Git reference, formatted as `refs\\/heads\\/<branch name>`,\\n`refs\\/pull\\/<number>\\/merge`, or `refs\\/pull\\/<number>\\/head`."
33+
"description": "The Git reference, formatted as `refs\\/pull\\/<number>\\/merge`, `refs\\/pull\\/<number>\\/head`,\\n`refs\\/heads\\/<branch name>` or simply `<branch name>`."
3434
},
3535
"commit_sha": {
3636
"maxLength": 40,
@@ -148,8 +148,8 @@
148148
}';
149149

150150
/**
151-
* ref: The full Git reference, formatted as `refs/heads/<branch name>`,
152-
`refs/pull/<number>/merge`, or `refs/pull/<number>/head`.
151+
* ref: The Git reference, formatted as `refs/pull/<number>/merge`, `refs/pull/<number>/head`,
152+
`refs/heads/<branch name>` or simply `<branch name>`.
153153
* commitSha: The SHA of the commit to which the analysis you are uploading relates.
154154
* analysisKey: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name.
155155
* environment: Identifies the variable values associated with the environment in which this analysis was performed.

src/Schema/CodeScanningOrganizationAlertItems.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@
382382
"properties": {
383383
"ref": {
384384
"type": "string",
385-
"description": "The full Git reference, formatted as `refs\\/heads\\/<branch name>`,\\n`refs\\/pull\\/<number>\\/merge`, or `refs\\/pull\\/<number>\\/head`."
385+
"description": "The Git reference, formatted as `refs\\/pull\\/<number>\\/merge`, `refs\\/pull\\/<number>\\/head`,\\n`refs\\/heads\\/<branch name>` or simply `<branch name>`."
386386
},
387387
"analysis_key": {
388388
"type": "string",

src/Schema/CodeScanningRef.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
{
99
public const SCHEMA_JSON = '{
1010
"type": "string",
11-
"description": "The full Git reference, formatted as `refs\\/heads\\/<branch name>`,\\n`refs\\/pull\\/<number>\\/merge`, or `refs\\/pull\\/<number>\\/head`."
11+
"description": "The Git reference, formatted as `refs\\/pull\\/<number>\\/merge`, `refs\\/pull\\/<number>\\/head`,\\n`refs\\/heads\\/<branch name>` or simply `<branch name>`."
1212
}';
1313
public const SCHEMA_TITLE = '';
14-
public const SCHEMA_DESCRIPTION = 'The full Git reference, formatted as `refs/heads/<branch name>`,
15-
`refs/pull/<number>/merge`, or `refs/pull/<number>/head`.';
14+
public const SCHEMA_DESCRIPTION = 'The Git reference, formatted as `refs/pull/<number>/merge`, `refs/pull/<number>/head`,
15+
`refs/heads/<branch name>` or simply `<branch name>`.';
1616
public const SCHEMA_EXAMPLE_DATA = '[]';
1717

1818
public function __construct()

src/Schema/CodeScanningRefFull.php

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace ApiClients\Client\GitHubEnterpriseCloud\Schema;
6+
7+
final readonly class CodeScanningRefFull
8+
{
9+
public const SCHEMA_JSON = '{
10+
"pattern": "^refs\\/(heads|pull)\\/.*$",
11+
"type": "string",
12+
"description": "The full Git reference, formatted as `refs\\/heads\\/<branch name>`,\\n`refs\\/pull\\/<number>\\/merge`, or `refs\\/pull\\/<number>\\/head`.",
13+
"examples": [
14+
"refs\\/heads\\/main"
15+
]
16+
}';
17+
public const SCHEMA_TITLE = '';
18+
public const SCHEMA_DESCRIPTION = 'The full Git reference, formatted as `refs/heads/<branch name>`,
19+
`refs/pull/<number>/merge`, or `refs/pull/<number>/head`.';
20+
public const SCHEMA_EXAMPLE_DATA = '[]';
21+
22+
public function __construct()
23+
{
24+
}
25+
}

0 commit comments

Comments
 (0)