diff --git a/CHANGELOG.rst b/CHANGELOG.rst index b044ed017..a728ac2e9 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -10,8 +10,8 @@ Unreleased .. vendor-insert-here -- Update vendored schemas: azure-pipelines, drone-ci, gitlab-ci, meltano, mergify, - renovate, woodpecker-ci (2025-10-05) +- Update vendored schemas: azure-pipelines, bamboo-spec, buildkite, drone-ci, + github-workflows, gitlab-ci, meltano, mergify, renovate, woodpecker-ci (2025-10-12) 0.34.0 ------ diff --git a/src/check_jsonschema/builtin_schemas/vendor/bamboo-spec.json b/src/check_jsonschema/builtin_schemas/vendor/bamboo-spec.json index 1dd6d8e4f..0c4ba4eda 100644 --- a/src/check_jsonschema/builtin_schemas/vendor/bamboo-spec.json +++ b/src/check_jsonschema/builtin_schemas/vendor/bamboo-spec.json @@ -511,6 +511,10 @@ "period": { "type": "integer" }, + "description": { + "type": "string", + "description": "Trigger description." + }, "conditions": { "type": "array", "items": { @@ -573,6 +577,46 @@ ] } } + }, + "tag": { + "type": "object", + "additionalProperties": false, + "properties": { + "tag": { + "type": "object", + "description": "UNDOCUMENTED. Bamboo detects new tags in repository and builds for all these tags", + "properties": { + "filter": { + "type": "string", + "description": "Use a regular expression to only build for tag that match specific names." + }, + "tagInBranch": { + "type": "boolean", + "description": "Only run build if the branch contains the matched tag. The build will be triggered only if the tag revision is in the vcs branch." + }, + "description": { + "type": "string", + "description": "Trigger description." + }, + "conditions": { + "type": "array", + "description": "Only run Build if other Plans are currently passing.", + "items": { + "type": "object", + "properties": { + "green-plan": { + "type": "array", + "items": { + "type": "string", + "description": "Plan Keys" + } + } + } + } + } + } + } + } } }, "items": { @@ -586,6 +630,9 @@ { "$ref": "#/definitions/triggers/definitions/remote" }, + { + "$ref": "#/definitions/triggers/definitions/tag" + }, { "type": "string" } diff --git a/src/check_jsonschema/builtin_schemas/vendor/buildkite.json b/src/check_jsonschema/builtin_schemas/vendor/buildkite.json index 63de8de07..8e5712de5 100644 --- a/src/check_jsonschema/builtin_schemas/vendor/buildkite.json +++ b/src/check_jsonschema/builtin_schemas/vendor/buildkite.json @@ -170,30 +170,31 @@ "description": "Whether to cancel the job as soon as the build is marked as failing", "default": false }, + "dependsOnList": { + "type": "array", + "items": { + "anyOf": [ + { "type": "string" }, + { + "type": "object", + "properties": { + "step": { "type": "string" }, + "allow_failure": { + "enum": [true, false, "true", "false"], + "default": false + } + }, + "additionalProperties": false + } + ] + } + }, "dependsOn": { "description": "The step keys for a step to depend on", "anyOf": [ { "type": "null" }, { "type": "string" }, - { - "type": "array", - "items": { - "anyOf": [ - { "type": "string" }, - { - "type": "object", - "properties": { - "step": { "type": "string" }, - "allow_failure": { - "enum": [true, false, "true", "false"], - "default": false - } - }, - "additionalProperties": false - } - ] - } - } + { "$ref": "#/definitions/dependsOnList" } ] }, "env": { @@ -364,133 +365,130 @@ ] } }, + "textField": { + "type": "object", + "properties": { + "text": { + "type": "string", + "description": "The text input name", + "examples": ["Release Name"] + }, + "key": { + "type": "string", + "description": "The meta-data key that stores the field's input", + "pattern": "^[a-zA-Z0-9-_]+$", + "examples": ["release-name"] + }, + "hint": { + "type": "string", + "description": "The explanatory text that is shown after the label", + "examples": ["What’s the code name for this release? :name_badge:"] + }, + "format": { + "type": "string", + "description": "The format must be a regular expression implicitly anchored to the beginning and end of the input and is functionally equivalent to the HTML5 pattern attribute.", + "format": "regex", + "examples": ["[0-9a-f]+"] + }, + "required": { + "enum": [true, false, "true", "false"], + "default": true, + "description": "Whether the field is required for form submission" + }, + "default": { + "type": "string", + "description": "The value that is pre-filled in the text field", + "examples": ["Flying Dolphin"] + } + }, + "additionalProperties": false, + "required": ["key"] + }, + "selectFieldOption": { + "type": "object", + "properties": { + "label": { + "type": "string", + "description": "The text displayed on the select list item", + "examples": ["Stable"] + }, + "value": { + "type": "string", + "description": "The value to be stored as meta-data", + "examples": ["stable"] + }, + "hint": { + "type": "string", + "description": "The text displayed directly under the select field’s label", + "examples": ["Which release stream does this belong in? :fork:"] + }, + "required": { + "enum": [true, false, "true", "false"], + "default": true, + "description": "Whether the field is required for form submission" + } + }, + "additionalProperties": false, + "required": ["label", "value"] + }, + "selectField": { + "type": "object", + "properties": { + "select": { + "type": "string", + "description": "The text input name", + "examples": ["Release Stream"] + }, + "key": { + "type": "string", + "description": "The meta-data key that stores the field's input", + "pattern": "^[a-zA-Z0-9-_]+$", + "examples": ["release-stream"] + }, + "default": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { "type": "string" } + } + ], + "description": "The value of the option(s) that will be pre-selected in the dropdown", + "examples": ["beta", ["alpha", "beta"]] + }, + "hint": { + "type": "string", + "description": "The explanatory text that is shown after the label", + "examples": ["What’s the code name for this release? :name_badge:"] + }, + "multiple": { + "enum": [true, false, "true", "false"], + "description": "Whether more than one option may be selected", + "default": false + }, + "options": { + "type": "array", + "minItems": 1, + "items": { "$ref": "#/definitions/selectFieldOption" } + }, + "required": { + "enum": [true, false, "true", "false"], + "default": true, + "description": "Whether the field is required for form submission" + } + }, + "additionalProperties": false, + "required": ["key", "options"] + }, "fields": { "type": "array", "description": "A list of input fields required to be filled out before unblocking the step", "items": { "oneOf": [ - { - "type": "object", - "properties": { - "text": { - "type": "string", - "description": "The text input name", - "examples": ["Release Name"] - }, - "key": { - "type": "string", - "description": "The meta-data key that stores the field's input", - "pattern": "^[a-zA-Z0-9-_]+$", - "examples": ["release-name"] - }, - "hint": { - "type": "string", - "description": "The explanatory text that is shown after the label", - "examples": [ - "What’s the code name for this release? :name_badge:" - ] - }, - "format": { - "type": "string", - "description": "The format must be a regular expression implicitly anchored to the beginning and end of the input and is functionally equivalent to the HTML5 pattern attribute.", - "format": "regex", - "examples": ["[0-9a-f]+"] - }, - "required": { - "enum": [true, false, "true", "false"], - "default": true, - "description": "Whether the field is required for form submission" - }, - "default": { - "type": "string", - "description": "The value that is pre-filled in the text field", - "examples": ["Flying Dolphin"] - } - }, - "additionalProperties": false, - "required": ["key"] - }, - { - "type": "object", - "properties": { - "select": { - "type": "string", - "description": "The text input name", - "examples": ["Release Stream"] - }, - "key": { - "type": "string", - "description": "The meta-data key that stores the field's input", - "pattern": "^[a-zA-Z0-9-_]+$", - "examples": ["release-stream"] - }, - "default": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { "type": "string" } - } - ], - "description": "The value of the option(s) that will be pre-selected in the dropdown", - "examples": ["beta", ["alpha", "beta"]] - }, - "hint": { - "type": "string", - "description": "The explanatory text that is shown after the label", - "examples": [ - "What’s the code name for this release? :name_badge:" - ] - }, - "multiple": { - "enum": [true, false, "true", "false"], - "description": "Whether more than one option may be selected", - "default": false - }, - "options": { - "type": "array", - "minItems": 1, - "items": { - "type": "object", - "properties": { - "label": { - "type": "string", - "description": "The text displayed on the select list item", - "examples": ["Stable"] - }, - "value": { - "type": "string", - "description": "The value to be stored as meta-data", - "examples": ["stable"] - }, - "hint": { - "type": "string", - "description": "The text displayed directly under the select field’s label", - "examples": [ - "Which release stream does this belong in? :fork:" - ] - }, - "required": { - "enum": [true, false, "true", "false"], - "default": true, - "description": "Whether the field is required for form submission" - } - }, - "additionalProperties": false, - "required": ["label", "value"] - } - }, - "required": { - "enum": [true, false, "true", "false"], - "default": true, - "description": "Whether the field is required for form submission" - } - }, - "additionalProperties": false, - "required": ["key", "options"] - } + { "$ref": "#/definitions/textField" }, + { "$ref": "#/definitions/selectField" } ] } }, @@ -522,6 +520,29 @@ "description": "Whether this step should be skipped. Passing a string provides a reason for skipping this command", "examples": [true, false, "My reason"] }, + "softFailObject": { + "type": "object", + "properties": { + "exit_status": { + "description": "The exit status number that will cause this job to soft-fail", + "anyOf": [ + { + "type": "string", + "enum": ["*"] + }, + { + "type": "integer" + } + ] + } + } + }, + "softFailList": { + "type": "array", + "items": { + "$ref": "#/definitions/softFailObject" + } + }, "softFail": { "description": "The conditions for marking the step as a soft-fail.", "anyOf": [ @@ -529,24 +550,7 @@ "enum": [true, false, "true", "false"] }, { - "type": "array", - "items": { - "type": "object", - "properties": { - "exit_status": { - "description": "The exit status number that will cause this job to soft-fail", - "anyOf": [ - { - "type": "string", - "enum": ["*"] - }, - { - "type": "integer" - } - ] - } - } - } + "$ref": "#/definitions/softFailList" } ] }, @@ -692,6 +696,222 @@ "description": "Pauses the execution of a build and waits on a user to unblock it", "enum": ["input"] }, + "matrixElementList": { + "type": "array", + "description": "List of elements for single-dimension Build Matrix", + "items": { "$ref": "#/definitions/matrixElement" }, + "examples": [["linux", "freebsd"]] + }, + "matrixSetup": { + "oneOf": [ + { + "$ref": "#/definitions/matrixElementList" + }, + { + "type": "object", + "description": "Mapping of Build Matrix dimension names to their lists of elements", + "propertyNames": { + "type": "string", + "description": "Build Matrix dimension name", + "pattern": "^[a-zA-Z0-9_]+$" + }, + "additionalProperties": { + "type": "array", + "description": "List of elements for this Build Matrix dimension", + "items": { "$ref": "#/definitions/matrixElement" } + }, + "examples": [ + { + "os": ["linux", "freebsd"], + "arch": ["arm64", "riscv"] + } + ] + } + ] + }, + "matrixAdjustmentsWithObject": { + "type": "object", + "description": "Specification of a new or existing Build Matrix combination", + "propertyNames": { + "type": "string", + "description": "Build Matrix dimension name" + }, + "additionalProperties": { + "type": "string", + "description": "Build Matrix dimension element" + }, + "examples": [{ "os": "linux", "arch": "arm64" }] + }, + "matrixAdjustments": { + "type": "object", + "description": "An adjustment to a Build Matrix", + "properties": { + "with": { + "oneOf": [ + { + "$ref": "#/definitions/matrixElementList" + }, + { + "$ref": "#/definitions/matrixAdjustmentsWithObject" + } + ] + }, + "skip": { + "$ref": "#/definitions/skip" + }, + "soft_fail": { + "$ref": "#/definitions/softFail" + } + }, + "required": ["with"] + }, + "matrixObject": { + "type": "object", + "description": "Configuration for multi-dimension Build Matrix", + "properties": { + "setup": { + "$ref": "#/definitions/matrixSetup" + }, + "adjustments": { + "type": "array", + "description": "List of Build Matrix adjustments", + "items": { + "$ref": "#/definitions/matrixAdjustments" + } + } + }, + "required": ["setup"] + }, + "matrix": { + "oneOf": [ + { + "$ref": "#/definitions/matrixElementList" + }, + { + "$ref": "#/definitions/matrixObject" + } + ] + }, + "commandStepCommand": { + "description": "The commands to run on the agent", + "anyOf": [ + { "type": "array", "items": { "type": "string" } }, + { "type": "string" } + ] + }, + "commandStepNotify": { + "type": "array", + "description": "Array of notification options for this step", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/notifySimple" + }, + { + "$ref": "#/definitions/notifyBasecamp" + }, + { + "$ref": "#/definitions/notifySlack" + }, + { + "$ref": "#/definitions/notifyGithubCommitStatus" + }, + { + "$ref": "#/definitions/notifyGithubCheck" + } + ] + } + }, + "pluginsList": { + "type": "array", + "description": "Array of plugins for this step", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "maxProperties": 1, + "examples": [{ "docker-compose#v1.0.0": { "run": "app" } }] + } + ] + } + }, + "pluginsObject": { + "type": "object", + "description": "A map of plugins for this step. Deprecated: please use the array syntax.", + "deprecated": true + }, + "plugins": { + "anyOf": [ + { + "$ref": "#/definitions/pluginsList" + }, + { + "$ref": "#/definitions/pluginsObject" + } + ] + }, + "automaticRetryList": { + "type": "array", + "items": { + "$ref": "#/definitions/automaticRetry" + } + }, + "commandStepAutomaticRetry": { + "anyOf": [ + { + "enum": [true, false, "true", "false"] + }, + { + "$ref": "#/definitions/automaticRetry" + }, + { + "$ref": "#/definitions/automaticRetryList" + } + ], + "description": "Whether to allow a job to retry automatically. If set to true, the retry conditions are set to the default value.", + "default": [ + { + "exit_status": "*", + "limit": 2 + } + ] + }, + "commandStepManualRetryObject": { + "type": "object", + "properties": { + "allowed": { + "enum": [true, false, "true", "false"], + "description": "Whether or not this job can be retried manually", + "default": true + }, + "permit_on_passed": { + "enum": [true, false, "true", "false"], + "description": "Whether or not this job can be retried after it has passed", + "default": true + }, + "reason": { + "type": "string", + "description": "A string that will be displayed in a tooltip on the Retry button in Buildkite. This will only be displayed if the allowed attribute is set to false.", + "examples": ["No retries allowed on deploy steps"] + } + }, + "additionalProperties": false + }, + "commandStepManualRetry": { + "description": "Whether to allow a job to be retried manually", + "anyOf": [ + { + "enum": [true, false, "true", "false"] + }, + { + "$ref": "#/definitions/commandStepManualRetryObject" + } + ], + "default": true + }, "commandStep": { "type": "object", "properties": { @@ -724,15 +944,10 @@ "$ref": "#/definitions/cancelOnBuildFailing" }, "command": { - "description": "The commands to run on the agent", - "anyOf": [ - { "type": "array", "items": { "type": "string" } }, - { "type": "string" } - ] + "$ref": "#/definitions/commandStepCommand" }, "commands": { - "description": "The commands to run on the agent", - "$ref": "#/definitions/commandStep/properties/command" + "$ref": "#/definitions/commandStepCommand" }, "concurrency": { "type": "integer", @@ -804,116 +1019,13 @@ } }, "matrix": { - "oneOf": [ - { - "type": "array", - "description": "List of elements for simple single-dimension Build Matrix", - "items": { "$ref": "#/definitions/matrixElement" }, - "examples": [["linux", "freebsd"]] - }, - { - "type": "object", - "description": "Configuration for multi-dimension Build Matrix", - "properties": { - "setup": { - "oneOf": [ - { - "type": "array", - "description": "List of elements for single-dimension Build Matrix", - "items": { "$ref": "#/definitions/matrixElement" }, - "examples": [["linux", "freebsd"]] - }, - { - "type": "object", - "description": "Mapping of Build Matrix dimension names to their lists of elements", - "propertyNames": { - "type": "string", - "description": "Build Matrix dimension name", - "pattern": "^[a-zA-Z0-9_]+$" - }, - "additionalProperties": { - "type": "array", - "description": "List of elements for this Build Matrix dimension", - "items": { "$ref": "#/definitions/matrixElement" } - }, - "examples": [ - { - "os": ["linux", "freebsd"], - "arch": ["arm64", "riscv"] - } - ] - } - ] - }, - "adjustments": { - "type": "array", - "description": "List of Build Matrix adjustments", - "items": { - "type": "object", - "description": "An adjustment to a Build Matrix", - "properties": { - "with": { - "oneOf": [ - { - "type": "array", - "description": "List of existing or new elements for single-dimension Build Matrix", - "items": { "$ref": "#/definitions/matrixElement" } - }, - { - "type": "object", - "description": "Specification of a new or existing Build Matrix combination", - "propertyNames": { - "type": "string", - "description": "Build Matrix dimension name" - }, - "additionalProperties": { - "type": "string", - "description": "Build Matrix dimension element" - }, - "examples": [{ "os": "linux", "arch": "arm64" }] - } - ] - }, - "skip": { - "$ref": "#/definitions/skip" - }, - "soft_fail": { - "$ref": "#/definitions/softFail" - } - }, - "required": ["with"] - } - } - }, - "required": ["setup"] - } - ] + "$ref": "#/definitions/matrix" }, "name": { "$ref": "#/definitions/commandStep/properties/label" }, "notify": { - "type": "array", - "description": "Array of notification options for this step", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/notifySimple" - }, - { - "$ref": "#/definitions/notifyBasecamp" - }, - { - "$ref": "#/definitions/notifySlack" - }, - { - "$ref": "#/definitions/notifyGithubCommitStatus" - }, - { - "$ref": "#/definitions/notifyGithubCheck" - } - ] - } + "$ref": "#/definitions/commandStepNotify" }, "parallelism": { "type": "integer", @@ -921,29 +1033,7 @@ "examples": [42] }, "plugins": { - "anyOf": [ - { - "type": "array", - "description": "Array of plugins for this step", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "maxProperties": 1, - "examples": [{ "docker-compose#v1.0.0": { "run": "app" } }] - } - ] - } - }, - { - "type": "object", - "description": "A map of plugins for this step. Deprecated: please use the array syntax.", - "deprecated": true - } - ] + "$ref": "#/definitions/plugins" }, "soft_fail": { "$ref": "#/definitions/softFail" @@ -953,57 +1043,10 @@ "description": "The conditions for retrying this step.", "properties": { "automatic": { - "anyOf": [ - { - "enum": [true, false, "true", "false"] - }, - { - "$ref": "#/definitions/automaticRetry" - }, - { - "type": "array", - "items": { - "$ref": "#/definitions/automaticRetry" - } - } - ], - "description": "Whether to allow a job to retry automatically. If set to true, the retry conditions are set to the default value.", - "default": [ - { - "exit_status": "*", - "limit": 2 - } - ] + "$ref": "#/definitions/commandStepAutomaticRetry" }, "manual": { - "description": "Whether to allow a job to be retried manually", - "anyOf": [ - { - "enum": [true, false, "true", "false"] - }, - { - "type": "object", - "properties": { - "allowed": { - "enum": [true, false, "true", "false"], - "description": "Whether or not this job can be retried manually", - "default": true - }, - "permit_on_passed": { - "enum": [true, false, "true", "false"], - "description": "Whether or not this job can be retried after it has passed", - "default": true - }, - "reason": { - "type": "string", - "description": "A string that will be displayed in a tooltip on the Retry button in Buildkite. This will only be displayed if the allowed attribute is set to false.", - "examples": ["No retries allowed on deploy steps"] - } - }, - "additionalProperties": false - } - ], - "default": true + "$ref": "#/definitions/commandStepManualRetry" } }, "additionalProperties": false @@ -1202,6 +1245,28 @@ }, "additionalProperties": false }, + "groupSteps": { + "type": "array", + "description": "A list of steps", + "items": { + "anyOf": [ + { "$ref": "#/definitions/blockStep" }, + { "$ref": "#/definitions/nestedBlockStep" }, + { "$ref": "#/definitions/stringBlockStep" }, + { "$ref": "#/definitions/inputStep" }, + { "$ref": "#/definitions/nestedInputStep" }, + { "$ref": "#/definitions/stringInputStep" }, + { "$ref": "#/definitions/commandStep" }, + { "$ref": "#/definitions/nestedCommandStep" }, + { "$ref": "#/definitions/waitStep" }, + { "$ref": "#/definitions/nestedWaitStep" }, + { "$ref": "#/definitions/stringWaitStep" }, + { "$ref": "#/definitions/triggerStep" }, + { "$ref": "#/definitions/nestedTriggerStep" } + ] + }, + "minItems": 1 + }, "groupStep": { "type": "object", "properties": { @@ -1245,46 +1310,13 @@ "$ref": "#/definitions/skip" }, "steps": { - "type": "array", - "description": "A list of steps", - "items": { - "anyOf": [ - { "$ref": "#/definitions/blockStep" }, - { "$ref": "#/definitions/nestedBlockStep" }, - { "$ref": "#/definitions/stringBlockStep" }, - { "$ref": "#/definitions/inputStep" }, - { "$ref": "#/definitions/nestedInputStep" }, - { "$ref": "#/definitions/stringInputStep" }, - { "$ref": "#/definitions/commandStep" }, - { "$ref": "#/definitions/nestedCommandStep" }, - { "$ref": "#/definitions/waitStep" }, - { "$ref": "#/definitions/nestedWaitStep" }, - { "$ref": "#/definitions/stringWaitStep" }, - { "$ref": "#/definitions/triggerStep" }, - { "$ref": "#/definitions/nestedTriggerStep" } - ] - }, - "minItems": 1 + "$ref": "#/definitions/groupSteps" } }, "required": ["group", "steps"], "additionalProperties": false - } - }, - "properties": { - "env": { - "$ref": "#/definitions/env" }, - "agents": { - "$ref": "#/definitions/agents" - }, - "notify": { - "$ref": "#/definitions/buildNotify" - }, - "image": { - "$ref": "#/definitions/image" - }, - "steps": { + "pipelineSteps": { "description": "A list of steps", "type": "array", "items": { @@ -1306,5 +1338,22 @@ ] } } + }, + "properties": { + "env": { + "$ref": "#/definitions/env" + }, + "agents": { + "$ref": "#/definitions/agents" + }, + "notify": { + "$ref": "#/definitions/buildNotify" + }, + "image": { + "$ref": "#/definitions/image" + }, + "steps": { + "$ref": "#/definitions/pipelineSteps" + } } } diff --git a/src/check_jsonschema/builtin_schemas/vendor/github-workflows.json b/src/check_jsonschema/builtin_schemas/vendor/github-workflows.json index ae3199a76..160824c1d 100644 --- a/src/check_jsonschema/builtin_schemas/vendor/github-workflows.json +++ b/src/check_jsonschema/builtin_schemas/vendor/github-workflows.json @@ -337,53 +337,6 @@ "$ref": "#/definitions/globs", "description": "When using the push and pull_request events, you can configure a workflow to run when at least one file does not match paths-ignore or at least one modified file matches the configured paths. Path filters are not evaluated for pushes to tags.\nThe paths-ignore and paths keywords accept glob patterns that use the * and ** wildcard characters to match more than one path name. For more information, see https://help.github.com/en/github/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet.\nYou can exclude paths using two types of filters. You cannot use both of these filters for the same event in a workflow.\n- paths-ignore - Use the paths-ignore filter when you only need to exclude path names.\n- paths - Use the paths filter when you need to filter paths for positive matches and exclude paths." }, - "ref": { - "properties": { - "branches": { - "$ref": "#/definitions/branch" - }, - "branches-ignore": { - "$ref": "#/definitions/branch" - }, - "tags": { - "$ref": "#/definitions/branch" - }, - "tags-ignore": { - "$ref": "#/definitions/branch" - }, - "paths": { - "$ref": "#/definitions/path" - }, - "paths-ignore": { - "$ref": "#/definitions/path" - } - }, - "oneOf": [ - { - "type": "object", - "allOf": [ - { - "not": { - "required": ["branches", "branches-ignore"] - } - }, - { - "not": { - "required": ["tags", "tags-ignore"] - } - }, - { - "not": { - "required": ["paths", "paths-ignore"] - } - } - ] - }, - { - "type": "null" - } - ] - }, "shell": { "$comment": "https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsshell", "description": "You can override the default shell settings in the runner's operating system using the shell keyword. You can use built-in shell keywords, or you can define a custom set of shell options.", @@ -1347,46 +1300,83 @@ }, "pull_request": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/events-that-trigger-workflows#pull-request-event-pull_request", - "$ref": "#/definitions/ref", "description": "Runs your workflow anytime the pull_request event occurs. More than one activity type triggers this event. For information about the REST API, see https://developer.github.com/v3/pulls.\nNote: Workflows do not run on private base repositories when you open a pull request from a forked repository.\nWhen you create a pull request from a forked repository to the base repository, GitHub sends the pull_request event to the base repository and no pull request events occur on the forked repository.\nWorkflows don't run on forked repositories by default. You must enable GitHub Actions in the Actions tab of the forked repository.\nThe permissions for the GITHUB_TOKEN in forked repositories is read-only. For more information about the GITHUB_TOKEN, see https://help.github.com/en/articles/virtual-environments-for-github-actions.", - "properties": { - "types": { - "$ref": "#/definitions/types", - "items": { - "type": "string", - "enum": [ - "assigned", - "unassigned", - "labeled", - "unlabeled", - "opened", - "edited", - "closed", - "reopened", - "synchronize", - "converted_to_draft", - "ready_for_review", - "locked", - "unlocked", - "milestoned", - "demilestoned", - "review_requested", - "review_request_removed", - "auto_merge_enabled", - "auto_merge_disabled", - "enqueued", - "dequeued" - ] - }, - "default": ["opened", "synchronize", "reopened"] - } - }, - "patternProperties": { - "^(branche|tag|path)s(-ignore)?$": { - "type": "array" + "oneOf": [ + { "type": "null" }, + { + "allOf": [ + { + "type": "object", + "properties": { + "types": { + "$ref": "#/definitions/types", + "items": { + "type": "string", + "enum": [ + "assigned", + "unassigned", + "labeled", + "unlabeled", + "opened", + "edited", + "closed", + "reopened", + "synchronize", + "converted_to_draft", + "ready_for_review", + "locked", + "unlocked", + "milestoned", + "demilestoned", + "review_requested", + "review_request_removed", + "auto_merge_enabled", + "auto_merge_disabled", + "enqueued", + "dequeued" + ] + }, + "default": ["opened", "synchronize", "reopened"] + }, + "branches": { + "$ref": "#/definitions/branch" + }, + "branches-ignore": { + "$ref": "#/definitions/branch" + }, + "tags": { + "$ref": "#/definitions/branch" + }, + "tags-ignore": { + "$ref": "#/definitions/branch" + }, + "paths": { + "$ref": "#/definitions/path" + }, + "paths-ignore": { + "$ref": "#/definitions/path" + } + }, + "additionalProperties": false + }, + { + "not": { + "required": ["branches", "branches-ignore"] + } + }, + { + "not": { + "required": ["tags", "tags-ignore"] + } + }, + { + "not": { + "required": ["paths", "paths-ignore"] + } + } + ] } - }, - "additionalProperties": false + ] }, "pull_request_review": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/events-that-trigger-workflows#pull-request-review-event-pull_request_review", @@ -1420,54 +1410,129 @@ }, "pull_request_target": { "$comment": "https://docs.github.com/en/actions/reference/events-that-trigger-workflows#pull_request_target", - "$ref": "#/definitions/ref", "description": "This event is similar to pull_request, except that it runs in the context of the base repository of the pull request, rather than in the merge commit. This means that you can more safely make your secrets available to the workflows triggered by the pull request, because only workflows defined in the commit on the base repository are run. For example, this event allows you to create workflows that label and comment on pull requests, based on the contents of the event payload.", - "properties": { - "types": { - "$ref": "#/definitions/types", - "items": { - "type": "string", - "enum": [ - "assigned", - "unassigned", - "labeled", - "unlabeled", - "opened", - "edited", - "closed", - "reopened", - "synchronize", - "converted_to_draft", - "ready_for_review", - "locked", - "unlocked", - "review_requested", - "review_request_removed", - "auto_merge_enabled", - "auto_merge_disabled" - ] - }, - "default": ["opened", "synchronize", "reopened"] + "oneOf": [ + { "type": "null" }, + { + "allOf": [ + { + "type": "object", + "properties": { + "types": { + "$ref": "#/definitions/types", + "items": { + "type": "string", + "enum": [ + "assigned", + "unassigned", + "labeled", + "unlabeled", + "opened", + "edited", + "closed", + "reopened", + "synchronize", + "converted_to_draft", + "ready_for_review", + "locked", + "unlocked", + "review_requested", + "review_request_removed", + "auto_merge_enabled", + "auto_merge_disabled" + ] + }, + "default": ["opened", "synchronize", "reopened"] + }, + "branches": { + "$ref": "#/definitions/branch" + }, + "branches-ignore": { + "$ref": "#/definitions/branch" + }, + "tags": { + "$ref": "#/definitions/branch" + }, + "tags-ignore": { + "$ref": "#/definitions/branch" + }, + "paths": { + "$ref": "#/definitions/path" + }, + "paths-ignore": { + "$ref": "#/definitions/path" + } + }, + "additionalProperties": false + }, + { + "not": { + "required": ["branches", "branches-ignore"] + } + }, + { + "not": { + "required": ["tags", "tags-ignore"] + } + }, + { + "not": { + "required": ["paths", "paths-ignore"] + } + } + ] } - }, - "patternProperties": { - "^(branche|tag|path)s(-ignore)?$": {} - }, - "additionalProperties": false + ] }, "push": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/events-that-trigger-workflows#push-event-push", - "$ref": "#/definitions/ref", "description": "Runs your workflow when someone pushes to a repository branch, which triggers the push event.\nNote: The webhook payload available to GitHub Actions does not include the added, removed, and modified attributes in the commit object. You can retrieve the full commit object using the REST API. For more information, see https://developer.github.com/v3/repos/commits/#get-a-single-commit.", - "patternProperties": { - "^(branche|tag|path)s(-ignore)?$": { - "items": { - "type": "string" - }, - "type": "array" + "oneOf": [ + { "type": "null" }, + { + "allOf": [ + { + "type": "object", + "properties": { + "branches": { + "$ref": "#/definitions/branch" + }, + "branches-ignore": { + "$ref": "#/definitions/branch" + }, + "tags": { + "$ref": "#/definitions/branch" + }, + "tags-ignore": { + "$ref": "#/definitions/branch" + }, + "paths": { + "$ref": "#/definitions/path" + }, + "paths-ignore": { + "$ref": "#/definitions/path" + } + }, + "additionalProperties": false + }, + { + "not": { + "required": ["branches", "branches-ignore"] + } + }, + { + "not": { + "required": ["tags", "tags-ignore"] + } + }, + { + "not": { + "required": ["paths", "paths-ignore"] + } + } + ] } - }, - "additionalProperties": false + ] }, "registry_package": { "$comment": "https://help.github.com/en/actions/reference/events-that-trigger-workflows#registry-package-event-registry_package", diff --git a/src/check_jsonschema/builtin_schemas/vendor/mergify.json b/src/check_jsonschema/builtin_schemas/vendor/mergify.json index c35dcb705..fd624c076 100644 --- a/src/check_jsonschema/builtin_schemas/vendor/mergify.json +++ b/src/check_jsonschema/builtin_schemas/vendor/mergify.json @@ -1615,7 +1615,7 @@ "type": "integer" }, "queue-position": { - "description": "The position of the pull request in its queue if queued. The first pull request in the queue has position 0. The value is set to -1 if the pull request is not queued. If you are using partitions, this returns the maximum position of the pull request from all the partitions it is queued in.", + "description": "The position of the pull request in its queue if queued. The first pull request in the queue has position 0. The value is set to -1 if the pull request is not queued.", "title": "Queue position", "type": "integer" }, @@ -2099,7 +2099,7 @@ "type": "null" } ], - "description": "The time the pull request mergeability checks have started at. This attribute does not work yet when using partition rules.", + "description": "The time the pull request mergeability checks have started at.", "title": "Queue merge started at" }, "schedule": { diff --git a/src/check_jsonschema/builtin_schemas/vendor/renovate.json b/src/check_jsonschema/builtin_schemas/vendor/renovate.json index 9bde4be21..62aed6047 100644 --- a/src/check_jsonschema/builtin_schemas/vendor/renovate.json +++ b/src/check_jsonschema/builtin_schemas/vendor/renovate.json @@ -2697,7 +2697,7 @@ "dockerSidecarImage": { "description": "Change this value to override the default Renovate sidecar image.", "type": "string", - "default": "ghcr.io/containerbase/sidecar:13.8.23" + "default": "ghcr.io/containerbase/sidecar:13.20.2" }, "dockerUser": { "description": "Set the `UID` and `GID` for Docker-based binaries if you use `binarySource=docker`.", diff --git a/src/check_jsonschema/builtin_schemas/vendor/sha256/bamboo-spec.sha256 b/src/check_jsonschema/builtin_schemas/vendor/sha256/bamboo-spec.sha256 index d53a95667..50a1c8c1b 100644 --- a/src/check_jsonschema/builtin_schemas/vendor/sha256/bamboo-spec.sha256 +++ b/src/check_jsonschema/builtin_schemas/vendor/sha256/bamboo-spec.sha256 @@ -1 +1 @@ -43e12e6ecf5f81c8a713cb27dc4f0cff3fd751a3748cc564131b706adcd4dc5c \ No newline at end of file +829babb42305c336aecb5abfccd5cccfc863e132dbd9fdf69542e7246ba73e6c \ No newline at end of file diff --git a/src/check_jsonschema/builtin_schemas/vendor/sha256/buildkite.sha256 b/src/check_jsonschema/builtin_schemas/vendor/sha256/buildkite.sha256 index 259153468..a38862915 100644 --- a/src/check_jsonschema/builtin_schemas/vendor/sha256/buildkite.sha256 +++ b/src/check_jsonschema/builtin_schemas/vendor/sha256/buildkite.sha256 @@ -1 +1 @@ -9234bdd38990a630ad1d119eba002fa65eca6d23a4cb8bfef70f493f883293a1 \ No newline at end of file +491aa8bf7e775b128d5ed27ac8b291abd782637a6e2db59ae6d78890aba8750d \ No newline at end of file diff --git a/src/check_jsonschema/builtin_schemas/vendor/sha256/github-workflows.sha256 b/src/check_jsonschema/builtin_schemas/vendor/sha256/github-workflows.sha256 index a7c0a0507..62cd721fe 100644 --- a/src/check_jsonschema/builtin_schemas/vendor/sha256/github-workflows.sha256 +++ b/src/check_jsonschema/builtin_schemas/vendor/sha256/github-workflows.sha256 @@ -1 +1 @@ -72a6127a6ceefe1723e1fa7f868c3ce040de20d10a0c46df6f5618505b7a4d46 \ No newline at end of file +bee899219962fcedc944bb321e2b79a5ca9ff8b7aee9136c4edfbb2aa1eb7a06 \ No newline at end of file diff --git a/src/check_jsonschema/builtin_schemas/vendor/sha256/mergify.sha256 b/src/check_jsonschema/builtin_schemas/vendor/sha256/mergify.sha256 index 892bbe4ba..cb7445c04 100644 --- a/src/check_jsonschema/builtin_schemas/vendor/sha256/mergify.sha256 +++ b/src/check_jsonschema/builtin_schemas/vendor/sha256/mergify.sha256 @@ -1 +1 @@ -b6c335209b889571967ecb48522751b7c5bcb722c22de210b1a8313e515b843e \ No newline at end of file +179f7b5e9c261ac1abe3baac443b247a2ec4cfedd69629531f3d2a436ba8d501 \ No newline at end of file diff --git a/src/check_jsonschema/builtin_schemas/vendor/sha256/renovate.sha256 b/src/check_jsonschema/builtin_schemas/vendor/sha256/renovate.sha256 index 5b912cd6c..a6b56389d 100644 --- a/src/check_jsonschema/builtin_schemas/vendor/sha256/renovate.sha256 +++ b/src/check_jsonschema/builtin_schemas/vendor/sha256/renovate.sha256 @@ -1 +1 @@ -6f042a1c4f093a4d0a018b3ac057420e7e4d4095487aa5b00da947eef352e8c7 \ No newline at end of file +d79695731d4fece9f82f40fcc95c2f6c2843839c1571bbdffcd4f976ab9e294e \ No newline at end of file