Skip to content

Commit 6c6c794

Browse files
authored
Merge pull request #623 from python-jsonschema/vendor-schemas-auto
Update vendored schemas
2 parents a8c58e0 + 3f5f1b2 commit 6c6c794

File tree

11 files changed

+1352
-656
lines changed

11 files changed

+1352
-656
lines changed

CHANGELOG.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ Unreleased
1010

1111
.. vendor-insert-here
1212
13-
- Update vendored schemas: gitlab-ci, mergify, renovate (2025-11-16)
13+
- Update vendored schemas: buildkite, gitlab-ci, mergify, renovate, snapcraft
14+
(2025-11-23)
1415

1516
0.35.0
1617
------

src/check_jsonschema/builtin_schemas/vendor/buildkite.json

Lines changed: 56 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -492,10 +492,59 @@
492492
]
493493
}
494494
},
495-
"if_changed": {
496-
"type": "string",
497-
"description": "Agent-applied attribute: A glob pattern that omits the step from a build if it does not match any files changed in the build.",
498-
"examples": ["**.go", "go.mod", "go.sum", "fixtures/**"]
495+
"ifChanged": {
496+
"description": "Agent-applied attribute: A glob pattern that omits the step from a build if it does not match any files changed in the build. Can be a single pattern, list of patterns, or an object with include/exclude attributes.",
497+
"oneOf": [
498+
{
499+
"type": "string",
500+
"description": "A single glob pattern",
501+
"examples": ["**.go", "go.{mod,sum}", "{app/**,spec/**}"]
502+
},
503+
{
504+
"type": "array",
505+
"description": "A list of glob patterns",
506+
"items": {
507+
"type": "string"
508+
},
509+
"examples": [["**.go", "go.{mod,sum}"], ["app/**", "spec/**"]]
510+
},
511+
{
512+
"type": "object",
513+
"description": "An object with include and optional exclude patterns",
514+
"properties": {
515+
"include": {
516+
"description": "Pattern or list of patterns to include",
517+
"oneOf": [
518+
{
519+
"type": "string"
520+
},
521+
{
522+
"type": "array",
523+
"items": {
524+
"type": "string"
525+
}
526+
}
527+
]
528+
},
529+
"exclude": {
530+
"description": "Pattern or list of patterns to exclude",
531+
"oneOf": [
532+
{
533+
"type": "string"
534+
},
535+
{
536+
"type": "array",
537+
"items": {
538+
"type": "string"
539+
}
540+
}
541+
]
542+
}
543+
},
544+
"required": ["include"],
545+
"additionalProperties": false
546+
}
547+
]
499548
},
500549
"matrixElement": {
501550
"oneOf": [
@@ -1002,7 +1051,7 @@
10021051
"$ref": "#/definitions/if"
10031052
},
10041053
"if_changed": {
1005-
"$ref": "#/definitions/if_changed"
1054+
"$ref": "#/definitions/ifChanged"
10061055
},
10071056
"key": {
10081057
"$ref": "#/definitions/key"
@@ -1230,7 +1279,7 @@
12301279
"$ref": "#/definitions/if"
12311280
},
12321281
"if_changed": {
1233-
"$ref": "#/definitions/if_changed"
1282+
"$ref": "#/definitions/ifChanged"
12341283
},
12351284
"key": {
12361285
"$ref": "#/definitions/key"
@@ -1312,7 +1361,7 @@
13121361
"$ref": "#/definitions/if"
13131362
},
13141363
"if_changed": {
1315-
"$ref": "#/definitions/if_changed"
1364+
"$ref": "#/definitions/ifChanged"
13161365
},
13171366
"key": {
13181367
"$ref": "#/definitions/key"

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -558,6 +558,7 @@
558558
"jobInputs": {
559559
"type": "object",
560560
"markdownDescription": "Define input parameters for a job. Job inputs must always include a `default` value. [Learn More](https://docs.gitlab.com/ci/yaml/#inputs).",
561+
"maxProperties": 50,
561562
"patternProperties": {
562563
".*": {
563564
"allOf": [

src/check_jsonschema/builtin_schemas/vendor/mergify.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1958,15 +1958,15 @@
19581958
"type": "array"
19591959
},
19601960
"review-threads-resolved": {
1961-
"description": "The list of bodies associated to review threads that are marked as resolved by GitHub.",
1961+
"description": "The list of ids associated to review threads that are marked as resolved by GitHub.",
19621962
"items": {
19631963
"type": "string"
19641964
},
19651965
"title": "Review threads resolved",
19661966
"type": "array"
19671967
},
19681968
"review-threads-unresolved": {
1969-
"description": "The list of bodies associated to review threads that are NOT marked as resolved by GitHub.",
1969+
"description": "The list of ids associated to review threads that are NOT marked as resolved by GitHub.",
19701970
"items": {
19711971
"type": "string"
19721972
},

src/check_jsonschema/builtin_schemas/vendor/renovate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2715,7 +2715,7 @@
27152715
"dockerSidecarImage": {
27162716
"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.",
27172717
"type": "string",
2718-
"default": "ghcr.io/containerbase/sidecar:13.24.3"
2718+
"default": "ghcr.io/containerbase/sidecar:13.25.2"
27192719
},
27202720
"dockerUser": {
27212721
"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`.",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3d3cb7e2d321d2fa24c5edc6503422746151ae0095f8b19d4dad44c38a849d57
1+
c0340a344ebb83f72e4969e09818d945055abe7ac0bb0c49226a60e7d33f84f6
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
68fe6fb2b2db887afc71ed369ee0b4099546e2e813128871beac87983b9cbc02
1+
835ac304f884b8545cd629531567b81fb6d50fc5f563398447a469451997ceed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
629db442d6ea99534b34d938e6fc23bf973013a6a77f98b60ba94c9576d6fb4a
1+
1d9189227b87885b182040222adcf5765e5801b1cd14fa3c749a1f46114f8a9b
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3a20dc69e8a3fd32a08e2ba6231040bcfa27e1dbdbf6dc220e76cbcc56b9d2a1
1+
22c876085fb6d9f0f7063809dacd085ef50321c637c2725e2aa52a0a9236c668
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3a8dc27f8c5289432866f579d9a177992edc6117e44114a290fea2b6078f8ca7
1+
26019a600dac6318c677175a080956ca6347fe45a70815690fdfc924e2e0b2aa

0 commit comments

Comments
 (0)