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

.. vendor-insert-here

- Update vendored schemas: renovate, taskfile (2025-02-23)
- Update vendored schemas: circle-ci, github-workflows, mergify, renovate, taskfile
(2025-02-28)

0.31.2
------
Expand Down
9 changes: 8 additions & 1 deletion src/check_jsonschema/builtin_schemas/vendor/circle-ci.json
Original file line number Diff line number Diff line change
Expand Up @@ -1321,6 +1321,8 @@
"ubuntu-2404:2024.05.1",
"ubuntu-2404:current",
"ubuntu-2404:edge",
"android:2024.11.1",
"android:2024.07.1",
"android:2024.04.1",
"android:2024.01.1",
"android:2023.11.1",
Expand Down Expand Up @@ -1425,7 +1427,12 @@
"macOSResourceClass": {
"description": "Amount of CPU and RAM allocated for each job. View [available resource classes](https://circleci.com/docs/configuration-reference/#macos-execution-environment).",
"type": "string",
"enum": ["macos.m1.medium.gen1", "macos.m1.large.gen1"]
"enum": [
"macos.m1.medium.gen1",
"macos.m1.large.gen1",
"m2pro.medium",
"m2pro.large"
]
},
"xcodeVersion": {
"description": "The version of Xcode to use. View [available versions](https://circleci.com/developer/machine/image/xcode)",
Expand Down
255 changes: 126 additions & 129 deletions src/check_jsonschema/builtin_schemas/vendor/github-workflows.json
Original file line number Diff line number Diff line change
Expand Up @@ -843,6 +843,131 @@
},
"required": ["runs-on"],
"additionalProperties": false
},
"workflowDispatchInput": {
"$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/metadata-syntax-for-github-actions#inputsinput_id",
"description": "A string identifier to associate with the input. The value of <input_id> is a map of the input's metadata. The <input_id> must be a unique identifier within the inputs object. The <input_id> must start with a letter or _ and contain only alphanumeric characters, -, or _.",
"type": "object",
"properties": {
"description": {
"$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/metadata-syntax-for-github-actions#inputsinput_iddescription",
"description": "A string description of the input parameter.",
"type": "string"
},
"deprecationMessage": {
"description": "A string shown to users using the deprecated input.",
"type": "string"
},
"required": {
"$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/metadata-syntax-for-github-actions#inputsinput_idrequired",
"description": "A boolean to indicate whether the action requires the input parameter. Set to true when the parameter is required.",
"type": "boolean"
},
"default": {
"$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/metadata-syntax-for-github-actions#inputsinput_iddefault",
"description": "A string representing the default value. The default value is used when an input parameter isn't specified in a workflow file."
},
"type": {
"$comment": "https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onworkflow_dispatchinputsinput_idtype",
"description": "A string representing the type of the input.",
"type": "string",
"enum": ["string", "choice", "boolean", "number", "environment"]
},
"options": {
"$comment": "https://github.blog/changelog/2021-11-10-github-actions-input-types-for-manual-workflows",
"description": "The options of the dropdown list, if the type is a choice.",
"type": "array",
"items": {
"type": "string"
},
"minItems": 1
}
},
"allOf": [
{
"if": {
"properties": {
"type": {
"const": "string"
}
},
"required": ["type"]
},
"then": {
"properties": {
"default": {
"type": "string"
}
}
}
},
{
"if": {
"properties": {
"type": {
"const": "boolean"
}
},
"required": ["type"]
},
"then": {
"properties": {
"default": {
"type": "boolean"
}
}
}
},
{
"if": {
"properties": {
"type": {
"const": "number"
}
},
"required": ["type"]
},
"then": {
"properties": {
"default": {
"type": "number"
}
}
}
},
{
"if": {
"properties": {
"type": {
"const": "environment"
}
},
"required": ["type"]
},
"then": {
"properties": {
"default": {
"type": "string"
}
}
}
},
{
"if": {
"properties": {
"type": {
"const": "choice"
}
},
"required": ["type"]
},
"then": {
"required": ["options"]
}
}
],
"required": ["description"],
"additionalProperties": false
}
},
"properties": {
Expand Down Expand Up @@ -1469,135 +1594,7 @@
"type": "object",
"patternProperties": {
"^[_a-zA-Z][a-zA-Z0-9_-]*$": {
"$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/metadata-syntax-for-github-actions#inputsinput_id",
"description": "A string identifier to associate with the input. The value of <input_id> is a map of the input's metadata. The <input_id> must be a unique identifier within the inputs object. The <input_id> must start with a letter or _ and contain only alphanumeric characters, -, or _.",
"type": "object",
"properties": {
"description": {
"$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/metadata-syntax-for-github-actions#inputsinput_iddescription",
"description": "A string description of the input parameter.",
"type": "string"
},
"deprecationMessage": {
"description": "A string shown to users using the deprecated input.",
"type": "string"
},
"required": {
"$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/metadata-syntax-for-github-actions#inputsinput_idrequired",
"description": "A boolean to indicate whether the action requires the input parameter. Set to true when the parameter is required.",
"type": "boolean"
},
"default": {
"$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/metadata-syntax-for-github-actions#inputsinput_iddefault",
"description": "A string representing the default value. The default value is used when an input parameter isn't specified in a workflow file."
},
"type": {
"$comment": "https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onworkflow_dispatchinputsinput_idtype",
"description": "A string representing the type of the input.",
"type": "string",
"enum": [
"string",
"choice",
"boolean",
"number",
"environment"
]
},
"options": {
"$comment": "https://github.blog/changelog/2021-11-10-github-actions-input-types-for-manual-workflows",
"description": "The options of the dropdown list, if the type is a choice.",
"type": "array",
"items": {
"type": "string"
},
"minItems": 1
}
},
"allOf": [
{
"if": {
"properties": {
"type": {
"const": "string"
}
},
"required": ["type"]
},
"then": {
"properties": {
"default": {
"type": "string"
}
}
}
},
{
"if": {
"properties": {
"type": {
"const": "boolean"
}
},
"required": ["type"]
},
"then": {
"properties": {
"default": {
"type": "boolean"
}
}
}
},
{
"if": {
"properties": {
"type": {
"const": "number"
}
},
"required": ["type"]
},
"then": {
"properties": {
"default": {
"type": "number"
}
}
}
},
{
"if": {
"properties": {
"type": {
"const": "environment"
}
},
"required": ["type"]
},
"then": {
"properties": {
"default": {
"type": "string"
}
}
}
},
{
"if": {
"properties": {
"type": {
"const": "choice"
}
},
"required": ["type"]
},
"then": {
"required": ["options"]
}
}
],
"required": ["description"],
"additionalProperties": false
"$ref": "#/definitions/workflowDispatchInput"
}
},
"additionalProperties": false
Expand Down
30 changes: 30 additions & 0 deletions src/check_jsonschema/builtin_schemas/vendor/mergify.json
Original file line number Diff line number Diff line change
Expand Up @@ -1284,6 +1284,23 @@
"title": "MergeProtectionRulesModel",
"type": "array"
},
"MergeProtectionsModel": {
"additionalProperties": false,
"properties": {
"reporting_method": {
"default": "check-runs",
"description": "The merge protection reporting method",
"enum": [
"check-runs",
"deployments"
],
"title": "Reporting Method",
"type": "string"
}
},
"title": "MergeProtectionsModel",
"type": "object"
},
"MergeQueueModel": {
"additionalProperties": false,
"properties": {
Expand Down Expand Up @@ -2615,6 +2632,11 @@
"title": "Update Bot Account"
},
"disallow_checks_interruption_from_queues": {
"configuration_deprecated_attribute": {
"deprecated_summary_ghes_mode": "\n:bangbang: **Action Required** :bangbang:\n> **The configuration uses the deprecated `disallow_checks_interruption_from_queues` attribute in the `queue_rules` section. It has been replaced in favor of using `priority_rules` at the top-level of the configuration.\n> For more information: https://docs.mergify.com/merge-queue/priority/",
"deprecated_summary_saas_mode": "\n:bangbang: **Action Required** :bangbang:\n> **The configuration uses the deprecated `disallow_checks_interruption_from_queues` attribute in the `queue_rules` section. It has been replaced in favor of using `priority_rules` at the top-level of the configuration.\n> For more information: https://docs.mergify.com/merge-queue/priority/"
},
"deprecated": true,
"items": {
"type": "string"
},
Expand Down Expand Up @@ -2847,6 +2869,11 @@
"title": "Update Bot Account"
},
"disallow_checks_interruption_from_queues": {
"configuration_deprecated_attribute": {
"deprecated_summary_ghes_mode": "\n:bangbang: **Action Required** :bangbang:\n> **The configuration uses the deprecated `disallow_checks_interruption_from_queues` attribute in the `queue_rules` section. It has been replaced in favor of using `priority_rules` at the top-level of the configuration.\n> For more information: https://docs.mergify.com/merge-queue/priority/",
"deprecated_summary_saas_mode": "\n:bangbang: **Action Required** :bangbang:\n> **The configuration uses the deprecated `disallow_checks_interruption_from_queues` attribute in the `queue_rules` section. It has been replaced in favor of using `priority_rules` at the top-level of the configuration.\n> For more information: https://docs.mergify.com/merge-queue/priority/"
},
"deprecated": true,
"items": {
"type": "string"
},
Expand Down Expand Up @@ -3163,6 +3190,9 @@
},
"merge_queue": {
"$ref": "#/$defs/MergeQueueModel"
},
"merge_protections_settings": {
"$ref": "#/$defs/MergeProtectionsModel"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
cd652ef789d666c07f2fd5e6236ae2a491e11506addb42466f6c9911fa997955
07533ac8ed37edd4ee71bc39daecd03c5ee88619732e7dc24cf7627a272d9cd1
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a4e9db7fb53cb6dd91b3c71449b98f42d8e778ebf6cf1bd1b8c3224f3dce8bee
287c4e34b14a32340166605a8b98846409f9177234d1f308263834a31b7692e7
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a5a886702e1102c86a72bcc676f5da57d697718a91f7ab529a9ac17def47c6b7
acebe3821816bbf8e9dafbd15146dfce5a12f9c49075e6132cb56b51f47a53ec
2 changes: 1 addition & 1 deletion src/check_jsonschema/catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def _githubusercontent_url(owner: str, repo: str, ref: str, path: str) -> str:
"url": _githubusercontent_url(
"readthedocs",
"readthedocs.org",
"master",
"main",
"readthedocs/rtd_tests/fixtures/spec/v2/schema.json",
),
"hook_config": {
Expand Down
Loading