Skip to content
Open
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
4 changes: 3 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ Unreleased

.. vendor-insert-here

- Update vendored schemas: bitbucket-pipelines, mergify, renovate (2026-08-16)
- Update vendored schemas: bitbucket-pipelines, changie, circle-ci, compose-spec,
dependabot, github-actions, github-workflows, gitlab-ci, mergify, renovate, taskfile,
travis, woodpecker-ci (2026-09-06)

0.38.0
------
Expand Down
4 changes: 2 additions & 2 deletions src/check_jsonschema/builtin_schemas/vendor/changie.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
"type": {
"type": "string",
"description": "Specifies the type of choice which changes the prompt.\n\n| value | description | options\n| -- | -- | -- |\nstring | Freeform text | [minLength](#custom-minlength) and [maxLength](#custom-maxlength)\nblock | Multiline text | [minLength](#custom-minlength) and [maxLength](#custom-maxlength)\nint | Whole numbers | [minInt](#custom-minint) and [maxInt](#custom-maxint)\nenum | Limited set of strings | [enumOptions](#custom-enumoptions) is used to specify values"
"description": "Specifies the type of choice which changes the prompt.\n\n| value | description | options\n| -- | -- | -- |\nstring | Freeform text | [minLength](#custom-minlength) and [maxLength](#custom-maxlength)\nblock | Multiline text | [minLength](#custom-minlength) and [maxLength](#custom-maxlength)\nint | Whole numbers | [minInt](#custom-minint) and [maxInt](#custom-maxint)\nenum | Limited set of strings | [enumOptions](#custom-enumoptions) is used to specify values\nenums | Multiple values from a limited set of strings | [enumOptions](#custom-enumoptions) is used to specify values"
},
"optional": {
"type": "boolean",
Expand Down Expand Up @@ -60,7 +60,7 @@
"type": "string"
},
"type": "array",
"description": "When using the enum type, you must also specify what possible options to allow.\nUsers will be given a selection list to select the value they want."
"description": "When using the enum or enums type, you must also specify what possible options to allow.\nUsers will be given a selection list to select the value, or values, they want."
}
},
"additionalProperties": false,
Expand Down
51 changes: 39 additions & 12 deletions src/check_jsonschema/builtin_schemas/vendor/circle-ci.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "CircleCI Config",
"definitions": {
"stepWhen": {
"enum": [
"always",
"on_success",
"on_fail"
],
"markdownDescription": "Specify when to enable or disable the step. Takes the following values: `always`, `on_success`, `on_fail` (default: `on_success`)"
},
"jobInvocation": {
"oneOf": [
{
Expand Down Expand Up @@ -1196,12 +1204,7 @@
"markdownDescription": "Elapsed time the command can run without output. The string is a decimal with unit suffix, such as \"20m\", \"1.25h\", \"5s\" (default: 10 minutes)"
},
"when": {
"enum": [
"always",
"on_success",
"on_fail"
],
"markdownDescription": "Specify when to enable or disable the step. Takes the following values: `always`, `on_success`, `on_fail` (default: `on_success`)"
"$ref": "#/definitions/stepWhen"
},
"max_auto_reruns": {
"type": "integer",
Expand Down Expand Up @@ -1263,6 +1266,9 @@
"type": "integer",
"minimum": 1,
"markdownDescription": "The depth of the shallow clone. Only valid when `method` is set to 'shallow'. Must be a positive integer."
},
"when": {
"$ref": "#/definitions/stepWhen"
}
},
"additionalProperties": false
Expand Down Expand Up @@ -1309,6 +1315,9 @@
"type": "string"
}
]
},
"when": {
"$ref": "#/definitions/stepWhen"
}
},
"additionalProperties": false
Expand Down Expand Up @@ -1339,12 +1348,7 @@
"markdownDescription": "Title of the step to be shown in the CircleCI UI (default: 'Saving Cache')"
},
"when": {
"enum": [
"always",
"on_success",
"on_fail"
],
"markdownDescription": "Specify when to enable or disable the step. Takes the following values: `always`, `on_success`, `on_fail` (default: `on_success`)"
"$ref": "#/definitions/stepWhen"
}
},
"additionalProperties": false
Expand All @@ -1365,6 +1369,9 @@
"name": {
"type": "string",
"markdownDescription": "Title of the step to be shown in the CircleCI UI (default: 'Restoring Cache')"
},
"when": {
"$ref": "#/definitions/stepWhen"
}
},
"additionalProperties": false
Expand All @@ -1385,6 +1392,9 @@
"name": {
"type": "string",
"markdownDescription": "Title of the step to be shown in the CircleCI UI (default: 'Restoring Cache')"
},
"when": {
"$ref": "#/definitions/stepWhen"
}
},
"additionalProperties": false
Expand All @@ -1409,6 +1419,9 @@
"name": {
"type": "string",
"markdownDescription": "Title of the step to be shown in the CircleCI UI"
},
"when": {
"$ref": "#/definitions/stepWhen"
}
},
"additionalProperties": false
Expand All @@ -1427,6 +1440,9 @@
"name": {
"type": "string",
"markdownDescription": "Title of the step to be shown in the CircleCI UI"
},
"when": {
"$ref": "#/definitions/stepWhen"
}
},
"additionalProperties": false
Expand All @@ -1453,6 +1469,9 @@
"name": {
"type": "string",
"markdownDescription": "Title of the step to be shown in the CircleCI UI"
},
"when": {
"$ref": "#/definitions/stepWhen"
}
},
"additionalProperties": false
Expand All @@ -1471,6 +1490,9 @@
"name": {
"type": "string",
"markdownDescription": "Title of the step to be shown in the CircleCI UI"
},
"when": {
"$ref": "#/definitions/stepWhen"
}
},
"additionalProperties": false
Expand All @@ -1493,6 +1515,9 @@
"type": "string"
},
"markdownDescription": "List of fingerprints corresponding to the keys to be added"
},
"when": {
"$ref": "#/definitions/stepWhen"
}
},
"additionalProperties": false
Expand Down Expand Up @@ -1865,7 +1890,9 @@
"windows.gpu.nvidia.medium",
"m4pro.medium",
"m4pro.large",
"small.gen2",
"medium.gen2",
"medium+.gen2",
"large.gen2",
"xlarge.gen2",
"2xlarge.gen2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@
},
"pull_policy": {
"type": "string",
"pattern": "always|never|build|if_not_present|missing|refresh|daily|weekly|every_([0-9]+[wdhms])+",
"pattern": "^(always|never|build|if_not_present|missing|refresh|daily|weekly|every_([0-9]+[wdhms])+)$",
"description": "Policy for pulling images. Options include: 'always', 'never', 'if_not_present', 'missing', 'build', or time-based refresh policies."
},
"pull_refresh_after": {
Expand Down
14 changes: 0 additions & 14 deletions src/check_jsonschema/builtin_schemas/vendor/dependabot.json
Original file line number Diff line number Diff line change
Expand Up @@ -1214,20 +1214,6 @@
"required": ["directory"]
}
]
},
{
"$comment": "If multi-ecosystem-group is specified, patterns is required",
"if": {
"required": ["multi-ecosystem-group"]
},
"then": {
"properties": {
"patterns": {
"$ref": "#/definitions/update/properties/patterns"
}
},
"required": ["patterns"]
}
}
]
},
Expand Down
27 changes: 25 additions & 2 deletions src/check_jsonschema/builtin_schemas/vendor/github-actions.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,32 @@
},
"oneOf": [
{
"required": ["run", "shell"]
"anyOf": [
{
"not": {
"properties": {
"run": true
},
"required": ["run"]
}
},
{
"not": {
"properties": {
"shell": true
},
"required": ["shell"]
}
}
]
},
{
"required": ["uses"]
"not": {
"properties": {
"uses": true
},
"required": ["uses"]
}
}
],
"additionalProperties": false
Expand Down Expand Up @@ -318,6 +340,7 @@
"if": {
"properties": {
"runs": {
"type": "object",
"properties": {
"using": {
"const": "composite"
Expand Down
Loading