Skip to content

Commit b103258

Browse files
[vendor-schemas] automated update (#278)
Co-authored-by: sirosen <[email protected]>
1 parent b32eb0e commit b103258

13 files changed

+268
-123
lines changed

CHANGELOG.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ Unreleased
1010

1111
.. vendor-insert-here
1212
13+
- Update vendored schemas (2023-07-11)
14+
1315
0.23.2
1416
------
1517
- Update vendored schemas: github-workflow, gitlab-ci, renovate (2023-06-13)

src/check_jsonschema/builtin_schemas/vendor/buildkite.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"title": "JSON schema for Buildkite pipeline configuration files",
3-
"$schema": "http://json-schema.org/draft-06/schema",
3+
"$schema": "http://json-schema.org/draft-06/schema#",
44
"fileMatch": [
55
"buildkite.yml",
66
"buildkite.yaml",
@@ -1221,6 +1221,9 @@
12211221
"identifier": {
12221222
"$ref": "#/definitions/commonOptions/identifier"
12231223
},
1224+
"if": {
1225+
"$ref": "#/definitions/commonOptions/if"
1226+
},
12241227
"key": {
12251228
"$ref": "#/definitions/commonOptions/key"
12261229
},
@@ -1241,6 +1244,9 @@
12411244
{ "$ref": "#/definitions/nestedCommandStep" },
12421245
{ "$ref": "#/definitions/triggerStep" },
12431246
{ "$ref": "#/definitions/nestedTriggerStep" },
1247+
{ "$ref": "#/definitions/stringInputStep" },
1248+
{ "$ref": "#/definitions/inputStep" },
1249+
{ "$ref": "#/definitions/nestedInputStep" },
12441250
{ "$ref": "#/definitions/stringWaitStep" },
12451251
{ "$ref": "#/definitions/waitStep" },
12461252
{ "$ref": "#/definitions/nestedWaitStep" }
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4b45542fc668d9e80eede067e2d8036de70fcffba15fe0ee0b29d0f07cfe989d
1+
83e261dd2db147cd37fa931243e523199a37f1458ef67d8bc3b5e31c85ec1c4c

src/check_jsonschema/builtin_schemas/vendor/dependabot.json

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,21 @@
2323
}
2424
}
2525
},
26+
"update-types": {
27+
"type": "array",
28+
"items": {
29+
"type": "string",
30+
"enum": [
31+
"version-update:semver-major",
32+
"version-update:semver-minor",
33+
"version-update:semver-patch"
34+
]
35+
}
36+
},
37+
"insecure-external-code-execution": {
38+
"type": "string",
39+
"enum": ["allow", "deny"]
40+
},
2641
"versioning-strategy": {
2742
"type": "string",
2843
"enum": [
@@ -144,8 +159,8 @@
144159
"dependency-name": {
145160
"type": "string"
146161
},
147-
"dependency-type": {
148-
"$ref": "#/definitions/dependency-type"
162+
"update-types": {
163+
"$ref": "#/definitions/update-types"
149164
},
150165
"versions": {
151166
"type": "array",
@@ -156,6 +171,10 @@
156171
}
157172
}
158173
},
174+
"insecure-external-code-execution": {
175+
"description": "Allow or deny code execution in manifest files",
176+
"$ref": "#/definitions/insecure-external-code-execution"
177+
},
159178
"labels": {
160179
"description": "Labels to set on pull requests",
161180
"type": "array",
@@ -191,7 +210,8 @@
191210
"separator": {
192211
"description": "Change separator for PR branch name",
193212
"type": "string",
194-
"default": "/"
213+
"default": "/",
214+
"enum": ["-", "_", "/"]
195215
}
196216
},
197217
"required": ["separator"]
@@ -236,6 +256,10 @@
236256
"type": "string",
237257
"description": "Branch to create pull requests against"
238258
},
259+
"vendor": {
260+
"description": "Update vendored or cached dependencies",
261+
"type": "boolean"
262+
},
239263
"versioning-strategy": {
240264
"description": "How to update manifest version requirements",
241265
"$ref": "#/definitions/versioning-strategy"
@@ -329,6 +353,7 @@
329353
]
330354
},
331355
"enable-beta-ecosystems": {
356+
"description": "Enable ecosystems that have beta-level support",
332357
"type": "boolean"
333358
},
334359
"updates": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
b590938260326eafb7bda725f401a8c765eeb09f02af1b96007c09d253052304
1+
5aaef1fc6bc03108a2be24431d0f6891bf9a0396d86a40bf1bf2e89db2cde0fa

src/check_jsonschema/builtin_schemas/vendor/github-workflows.json

Lines changed: 48 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,6 +661,30 @@
661661
"additionalItems": {
662662
"type": "string"
663663
}
664+
},
665+
{
666+
"items": [
667+
{
668+
"const": "linux"
669+
}
670+
],
671+
"minItems": 2,
672+
"maxItems": 2,
673+
"additionalItems": {
674+
"type": "string"
675+
}
676+
},
677+
{
678+
"items": [
679+
{
680+
"const": "windows"
681+
}
682+
],
683+
"minItems": 2,
684+
"maxItems": 2,
685+
"additionalItems": {
686+
"type": "string"
687+
}
664688
}
665689
]
666690
},
@@ -1628,7 +1652,13 @@
16281652
"description": "A string representing the type of the input.",
16291653
"$comment": "https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onworkflow_dispatchinputsinput_idtype",
16301654
"type": "string",
1631-
"enum": ["string", "choice", "boolean", "number"]
1655+
"enum": [
1656+
"string",
1657+
"choice",
1658+
"boolean",
1659+
"number",
1660+
"environment"
1661+
]
16321662
},
16331663
"options": {
16341664
"$comment": "https://github.blog/changelog/2021-11-10-github-actions-input-types-for-manual-workflows",
@@ -1692,6 +1722,23 @@
16921722
}
16931723
}
16941724
},
1725+
{
1726+
"if": {
1727+
"properties": {
1728+
"type": {
1729+
"const": "environment"
1730+
}
1731+
},
1732+
"required": ["type"]
1733+
},
1734+
"then": {
1735+
"properties": {
1736+
"default": {
1737+
"type": "string"
1738+
}
1739+
}
1740+
}
1741+
},
16951742
{
16961743
"if": {
16971744
"properties": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7ea74bc362d1a66e10da65604ceb4f3d66c7f236bdebf13c5c83b278e1978e9a
1+
b92aebb25a87d79f42dd1395ff129af49afbd577d474b828b5e8ad7d31d2dac7

src/check_jsonschema/builtin_schemas/vendor/gitlab-ci.json

Lines changed: 62 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@
359359
"pattern": "\\.ya?ml$"
360360
},
361361
"rules": {
362-
"$ref": "#/definitions/rules"
362+
"$ref": "#/definitions/includeRules"
363363
},
364364
"inputs": {
365365
"$ref": "#/definitions/inputs"
@@ -399,6 +399,9 @@
399399
}
400400
]
401401
},
402+
"rules": {
403+
"$ref": "#/definitions/includeRules"
404+
},
402405
"inputs": {
403406
"$ref": "#/definitions/inputs"
404407
}
@@ -418,6 +421,9 @@
418421
"format": "uri-reference",
419422
"pattern": "\\.ya?ml$"
420423
},
424+
"rules": {
425+
"$ref": "#/definitions/includeRules"
426+
},
421427
"inputs": {
422428
"$ref": "#/definitions/inputs"
423429
}
@@ -435,6 +441,9 @@
435441
"type": "string",
436442
"format": "uri-reference"
437443
},
444+
"rules": {
445+
"$ref": "#/definitions/includeRules"
446+
},
438447
"inputs": {
439448
"$ref": "#/definitions/inputs"
440449
}
@@ -453,6 +462,9 @@
453462
"format": "uri-reference",
454463
"pattern": "^https?://.+\\.ya?ml$"
455464
},
465+
"rules": {
466+
"$ref": "#/definitions/includeRules"
467+
},
456468
"inputs": {
457469
"$ref": "#/definitions/inputs"
458470
}
@@ -794,6 +806,55 @@
794806
]
795807
}
796808
},
809+
"includeRules": {
810+
"type": [
811+
"array",
812+
"null"
813+
],
814+
"markdownDescription": "You can use rules to conditionally include other configuration files. [Learn More](https://docs.gitlab.com/ee/ci/yaml/includes.html#use-rules-with-include).",
815+
"items": {
816+
"anyOf": [
817+
{
818+
"type": "object",
819+
"additionalProperties": false,
820+
"properties": {
821+
"if": {
822+
"$ref": "#/definitions/if"
823+
},
824+
"exists": {
825+
"$ref": "#/definitions/exists"
826+
},
827+
"when": {
828+
"markdownDescription": "Use `when: never` to exclude the configuration file if the condition matches. [Learn More](https://docs.gitlab.com/ee/ci/yaml/includes.html#include-with-rulesif).",
829+
"oneOf": [
830+
{
831+
"type": "string",
832+
"enum": [
833+
"never",
834+
"always"
835+
]
836+
},
837+
{
838+
"type": "null"
839+
}
840+
]
841+
}
842+
}
843+
},
844+
{
845+
"type": "string",
846+
"minLength": 1
847+
},
848+
{
849+
"type": "array",
850+
"minLength": 1,
851+
"items": {
852+
"type": "string"
853+
}
854+
}
855+
]
856+
}
857+
},
797858
"workflowName": {
798859
"type": "string",
799860
"markdownDescription": "Defines the pipeline name. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#workflowname).",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
eb6f92e15309d3ace24945af80bbf7a77f9a5154f12b76f95af9764f2a6bafff
1+
030957f4d70668b51e17e2180342b3131d55c1df159669b80c65c26e2becfee1

src/check_jsonschema/builtin_schemas/vendor/readthedocs.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,19 +187,25 @@
187187
"enum": [
188188
"14",
189189
"16",
190-
"18"
190+
"18",
191+
"19",
192+
"20"
191193
]
192194
},
193195
"rust": {
194196
"enum": [
195197
"1.55",
196-
"1.61"
198+
"1.61",
199+
"1.64",
200+
"1.70"
197201
]
198202
},
199203
"golang": {
200204
"enum": [
201205
"1.17",
202-
"1.18"
206+
"1.18",
207+
"1.19",
208+
"1.20"
203209
]
204210
}
205211
},

0 commit comments

Comments
 (0)