Skip to content

Commit 388b281

Browse files
authored
Merge pull request #637 from python-jsonschema/vendor-schemas-auto
Update vendored schemas
2 parents 5331fe1 + e6b12ec commit 388b281

17 files changed

+92
-29
lines changed

CHANGELOG.rst

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

1111
.. vendor-insert-here
1212
13-
- Update vendored schemas: buildkite, circle-ci, dependabot, mergify, renovate,
14-
snapcraft, taskfile (2025-12-28)
13+
- Update vendored schemas: buildkite, circle-ci, dependabot, github-issue-forms,
14+
github-workflows, gitlab-ci, mergify, readthedocs, renovate, snapcraft, taskfile
15+
(2026-01-18)
1516

1617
0.36.0
1718
------

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

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2151,12 +2151,23 @@
21512151
"^[A-Za-z][A-Za-z\\s\\d_-]*$": {
21522152
"oneOf": [
21532153
{
2154-
"type": "string",
2155-
"enum": [
2156-
"success",
2157-
"failed",
2158-
"canceled",
2159-
"not_run"
2154+
"oneOf": [
2155+
{
2156+
"const": "success"
2157+
},
2158+
{
2159+
"const": "failed"
2160+
},
2161+
{
2162+
"const": "canceled"
2163+
},
2164+
{
2165+
"const": "not_run"
2166+
},
2167+
{
2168+
"const": "terminal",
2169+
"markdownDescription": "Shorthand for `[success, failed, canceled, not_run]` - matches when the upstream job has reached any terminal state."
2170+
}
21602171
]
21612172
},
21622173
{
@@ -3029,4 +3040,4 @@
30293040
"required": [
30303041
"version"
30313042
]
3032-
}
3043+
}

src/check_jsonschema/builtin_schemas/vendor/dependabot.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,16 @@
10681068
},
10691069
"allOf": [
10701070
{
1071-
"required": ["package-ecosystem", "schedule"]
1071+
"$comment": "Schedule is required UNLESS multi-ecosystem-group is specified",
1072+
"if": {
1073+
"required": ["multi-ecosystem-group"]
1074+
},
1075+
"then": {
1076+
"required": ["package-ecosystem"]
1077+
},
1078+
"else": {
1079+
"required": ["package-ecosystem", "schedule"]
1080+
}
10721081
},
10731082
{
10741083
"oneOf": [

src/check_jsonschema/builtin_schemas/vendor/github-issue-forms.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,6 @@
791791
"Twig",
792792
"Type Language",
793793
"TypeScript",
794-
"Typst",
795794
"UltiSnip",
796795
"UltiSnips",
797796
"Unified Parallel C",
@@ -1804,7 +1803,6 @@
18041803
"typ",
18051804
"type language",
18061805
"typescript",
1807-
"typst",
18081806
"udiff",
18091807
"unified parallel c",
18101808
"unity3d asset",

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

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,34 @@
351351
}
352352
]
353353
},
354+
"snapshot": {
355+
"$comment": "https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#jobsjob_idsnapshot",
356+
"description": "You can use `jobs.<job_id>.snapshot` to generate a custom image.\nAdd the snapshot keyword to the job, using either the string syntax or mapping syntax as shown in https://docs.github.com/en/actions/how-tos/manage-runners/larger-runners/use-custom-images#generating-a-custom-image.\nEach job that includes the snapshot keyword creates a separate image. To generate only one image or image version, include all workflow steps in a single job. Each successful run of a job that includes the snapshot keyword creates a new version of that image.\nFor more information, see https://docs.github.com/en/actions/how-tos/manage-runners/larger-runners/use-custom-images.",
357+
"oneOf": [
358+
{
359+
"$comment": "https://docs.github.com/en/actions/how-tos/manage-runners/larger-runners/use-custom-images#string-syntax",
360+
"type": "string",
361+
"description": "You can use the string syntax with `snapshot` to define the image name. This method creates a new image or adds a new version to an existing image with the same name. You cannot specify a version number using this syntax."
362+
},
363+
{
364+
"$comment": "https://docs.github.com/en/actions/how-tos/manage-runners/larger-runners/use-custom-images#mapping-syntax",
365+
"type": "object",
366+
"additionalProperties": false,
367+
"description": "You can use the mapping syntax with `snapshot` to define both the `image-name` and the optional `version`. When you specify a major version, the minor versioning automatically increments if that major version already exists. Patch versions are not supported.",
368+
"properties": {
369+
"image-name": {
370+
"type": "string"
371+
},
372+
"version": {
373+
"$comment": "https://docs.github.com/en/actions/how-tos/manage-runners/larger-runners/use-custom-images#specifying-a-version-in-your-workflow",
374+
"type": "string",
375+
"pattern": "^\\d+(\\.\\d+|\\*)?$"
376+
}
377+
},
378+
"required": ["image-name"]
379+
}
380+
]
381+
},
354382
"step": {
355383
"type": "object",
356384
"additionalProperties": false,
@@ -623,6 +651,9 @@
623651
"needs": {
624652
"$ref": "#/definitions/jobNeeds"
625653
},
654+
"snapshot": {
655+
"$ref": "#/definitions/snapshot"
656+
},
626657
"permissions": {
627658
"$ref": "#/definitions/permissions"
628659
},
@@ -932,7 +963,6 @@
932963
}
933964
}
934965
],
935-
"required": ["description"],
936966
"additionalProperties": false
937967
}
938968
},

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -446,8 +446,7 @@
446446
"default": {
447447
"markdownDescription": "Default value for this input."
448448
}
449-
},
450-
"additionalProperties": false
449+
}
451450
},
452451
"configInputs": {
453452
"type": "object",

src/check_jsonschema/builtin_schemas/vendor/mergify.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1396,10 +1396,11 @@
13961396
},
13971397
"status_comments": {
13981398
"default": "all",
1399-
"description": "Controls the level of status comments posted on pull requests in the queue.\n- `all`: Post comments for all queue events (entering queue, CI progress, outcomes).\n- `outcomes`: Only post comments for final outcomes (merged or dequeued with failure reason).\n",
1399+
"description": "Controls the level of status comments posted on pull requests in the queue.\n- `all`: Post comments for all queue events (entering queue, CI progress, outcomes).\n- `outcomes`: Only post comments for final outcomes (merged or dequeued with failure reason).\n- `none`: Do not post any comments for queue status.\n",
14001400
"enum": [
14011401
"all",
1402-
"outcomes"
1402+
"outcomes",
1403+
"none"
14031404
],
14041405
"title": "Status Comments",
14051406
"type": "string"
@@ -2464,6 +2465,9 @@
24642465
"draft_bot_account": {
24652466
"anyOf": [
24662467
{
2468+
"description": "A string template using the Jinja2 syntax.",
2469+
"format": "template",
2470+
"title": "Template",
24672471
"type": "string"
24682472
},
24692473
{
@@ -2682,6 +2686,9 @@
26822686
"draft_bot_account": {
26832687
"anyOf": [
26842688
{
2689+
"description": "A string template using the Jinja2 syntax.",
2690+
"format": "template",
2691+
"title": "Template",
26852692
"type": "string"
26862693
},
26872694
{

src/check_jsonschema/builtin_schemas/vendor/readthedocs.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,9 @@
203203
"mambaforge-4.10",
204204
"mambaforge-22.9",
205205
"mambaforge-23.11",
206-
"mambaforge-latest"
206+
"mambaforge-latest",
207+
"miniforge3-25.11",
208+
"miniforge3-latest"
207209
]
208210
},
209211
"nodejs": {

src/check_jsonschema/builtin_schemas/vendor/renovate.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"title": "JSON schema for Renovate 42.66.9 config files (https://renovatebot.com/)",
2+
"title": "JSON schema for Renovate 42.84.2 config files (https://renovatebot.com/)",
33
"$schema": "http://json-schema.org/draft-07/schema#",
4-
"x-renovate-version": "42.66.9",
4+
"x-renovate-version": "42.84.2",
55
"allowComments": true,
66
"type": "object",
77
"properties": {
@@ -47,6 +47,11 @@
4747
"type": "boolean",
4848
"default": false
4949
},
50+
"allowShellExecutorForPostUpgradeCommands": {
51+
"description": "Deprecated: This configuration option is only intended to be used with 'global' configuration when self-hosting, not used in a repository configuration file. Renovate likely won't use the configuration, and these fields will be removed from the repository configuration documentation in Renovate v43 (https://github.com/renovatebot/renovate/issues/38728)\n\nWhether to run commands for `postUpgradeTasks` inside a shell. This has security implications, as it means that they can call out to other commands or access shell variables. It is difficult to craft an `allowedCommands` regex to restrict this.",
52+
"type": "boolean",
53+
"default": true
54+
},
5055
"allowedCommands": {
5156
"description": "Deprecated: This configuration option is only intended to be used with 'global' configuration when self-hosting, not used in a repository configuration file. Renovate likely won't use the configuration, and these fields will be removed from the repository configuration documentation in Renovate v43 (https://github.com/renovatebot/renovate/issues/38728)\n\nA list of regular expressions that decide which commands are allowed in post-upgrade tasks.",
5257
"type": "array",
@@ -2731,7 +2736,7 @@
27312736
"dockerSidecarImage": {
27322737
"description": "Deprecated: This configuration option is only intended to be used with 'global' configuration when self-hosting, not used in a repository configuration file. Renovate likely won't use the configuration, and these fields will be removed from the repository configuration documentation in Renovate v43 (https://github.com/renovatebot/renovate/issues/38728)\n\nChange this value to override the default Renovate sidecar image.",
27332738
"type": "string",
2734-
"default": "ghcr.io/containerbase/sidecar:13.25.18"
2739+
"default": "ghcr.io/containerbase/sidecar:13.26.4"
27352740
},
27362741
"dockerUser": {
27372742
"description": "Deprecated: This configuration option is only intended to be used with 'global' configuration when self-hosting, not used in a repository configuration file. Renovate likely won't use the configuration, and these fields will be removed from the repository configuration documentation in Renovate v43 (https://github.com/renovatebot/renovate/issues/38728)\n\nSet the `UID` and `GID` for Docker-based binaries if you use `binarySource=docker`.",
@@ -8873,6 +8878,7 @@
88738878
"debian",
88748879
"devbox",
88758880
"docker",
8881+
"exact",
88768882
"git",
88778883
"glasskube",
88788884
"go-mod-directive",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
9ca4607d839dfb52428ddc6de7276d5062eacbd9c2870447a65b14ff50037aae
1+
f056bbb01a581c8e0c735053c0b6324ece7ab97cf843632e185645129a74be39

0 commit comments

Comments
 (0)