From 452d84b481117ab0659d836482161042ea54182e Mon Sep 17 00:00:00 2001 From: mergify-ci-bot Date: Tue, 16 Jun 2026 08:58:59 +0000 Subject: [PATCH] chore: sync Mergify JSON Schema files --- public/api-schemas.json | 419 +---------------------- public/cli-schema.json | 93 ++++- public/mergify-configuration-schema.json | 2 +- 3 files changed, 94 insertions(+), 420 deletions(-) diff --git a/public/api-schemas.json b/public/api-schemas.json index 92525d692d..a4b2a297cf 100644 --- a/public/api-schemas.json +++ b/public/api-schemas.json @@ -1793,8 +1793,8 @@ "tags": [ "statistics" ], - "summary": "Time to merge statistics for every queues and partitions", - "description": "Get the average time to merge statistics, in seconds, for all the queues and partitions in the repository", + "summary": "Time to merge statistics for every queue", + "description": "Get the average time to merge statistics, in seconds, for all the queues in the repository", "operationId": "get_time_to_merge_stats_for_all_queues_and_partitions_endpoint_repos__owner___repository__stats_time_to_merge_get", "deprecated": true, "security": [ @@ -1970,30 +1970,6 @@ }, "description": "Base reference(s) of the pull requests" }, - { - "name": "partition_name", - "in": "query", - "required": false, - "schema": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 255 - }, - "maxItems": 255 - }, - { - "type": "null" - } - ], - "description": "Partition name(s) of the pull requests", - "title": "Partition Name" - }, - "description": "Partition name(s) of the pull requests" - }, { "name": "queue_name", "in": "query", @@ -2175,30 +2151,6 @@ }, "description": "Base reference(s) of the pull requests" }, - { - "name": "partition_name", - "in": "query", - "required": false, - "schema": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 255 - }, - "maxItems": 255 - }, - { - "type": "null" - } - ], - "description": "Partition name(s) of the pull requests", - "title": "Partition Name" - }, - "description": "Partition name(s) of the pull requests" - }, { "name": "queue_name", "in": "query", @@ -2380,30 +2332,6 @@ }, "description": "Base reference(s) of the pull requests" }, - { - "name": "partition_name", - "in": "query", - "required": false, - "schema": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 255 - }, - "maxItems": 255 - }, - { - "type": "null" - } - ], - "description": "Partition name(s) of the pull requests", - "title": "Partition Name" - }, - "description": "Partition name(s) of the pull requests" - }, { "name": "queue_name", "in": "query", @@ -2585,30 +2513,6 @@ }, "description": "Base reference(s) of the pull requests" }, - { - "name": "partition_name", - "in": "query", - "required": false, - "schema": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 255 - }, - "maxItems": 255 - }, - { - "type": "null" - } - ], - "description": "Partition name(s) of the pull requests", - "title": "Partition Name" - }, - "description": "Partition name(s) of the pull requests" - }, { "name": "queue_name", "in": "query", @@ -2790,30 +2694,6 @@ }, "description": "Base reference(s) of the pull requests" }, - { - "name": "partition_name", - "in": "query", - "required": false, - "schema": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 255 - }, - "maxItems": 255 - }, - { - "type": "null" - } - ], - "description": "Partition name(s) of the pull requests", - "title": "Partition Name" - }, - "description": "Partition name(s) of the pull requests" - }, { "name": "queue_name", "in": "query", @@ -2995,30 +2875,6 @@ }, "description": "Base reference(s) of the pull requests" }, - { - "name": "partition_name", - "in": "query", - "required": false, - "schema": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 255 - }, - "maxItems": 255 - }, - { - "type": "null" - } - ], - "description": "Partition name(s) of the pull requests", - "title": "Partition Name" - }, - "description": "Partition name(s) of the pull requests" - }, { "name": "queue_name", "in": "query", @@ -3200,30 +3056,6 @@ }, "description": "Base reference(s) of the pull requests" }, - { - "name": "partition_name", - "in": "query", - "required": false, - "schema": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 255 - }, - "maxItems": 255 - }, - { - "type": "null" - } - ], - "description": "Partition name(s) of the pull requests", - "title": "Partition Name" - }, - "description": "Partition name(s) of the pull requests" - }, { "name": "queue_name", "in": "query", @@ -3405,30 +3237,6 @@ }, "description": "Base reference(s) of the pull requests" }, - { - "name": "partition_name", - "in": "query", - "required": false, - "schema": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 255 - }, - "maxItems": 255 - }, - { - "type": "null" - } - ], - "description": "Partition name(s) of the pull requests", - "title": "Partition Name" - }, - "description": "Partition name(s) of the pull requests" - }, { "name": "queue_name", "in": "query", @@ -3607,27 +3415,6 @@ }, "description": "Base reference(s) of the pull requests" }, - { - "name": "partition_name", - "in": "query", - "required": false, - "schema": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "null" - } - ], - "description": "Partition name(s) of the pull requests", - "title": "Partition Name" - }, - "description": "Partition name(s) of the pull requests" - }, { "name": "queue_name", "in": "query", @@ -3779,27 +3566,6 @@ }, "description": "Base reference(s) of the pull requests" }, - { - "name": "partition_name", - "in": "query", - "required": false, - "schema": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "null" - } - ], - "description": "Partition name(s) of the pull requests", - "title": "Partition Name" - }, - "description": "Partition name(s) of the pull requests" - }, { "name": "queue_name", "in": "query", @@ -3972,27 +3738,6 @@ }, "description": "Base reference(s) of the pull requests" }, - { - "name": "partition_name", - "in": "query", - "required": false, - "schema": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "null" - } - ], - "description": "Partition name(s) of the pull requests", - "title": "Partition Name" - }, - "description": "Partition name(s) of the pull requests" - }, { "name": "queue_name", "in": "query", @@ -4277,30 +4022,6 @@ }, "description": "Base reference(s) of the pull requests" }, - { - "name": "partition_name", - "in": "query", - "required": false, - "schema": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 255 - }, - "maxItems": 255 - }, - { - "type": "null" - } - ], - "description": "Partition name(s) of the pull requests", - "title": "Partition Name" - }, - "description": "Partition name(s) of the pull requests" - }, { "name": "queue_name", "in": "query", @@ -4482,30 +4203,6 @@ }, "description": "Base reference(s) of the pull requests" }, - { - "name": "partition_name", - "in": "query", - "required": false, - "schema": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 255 - }, - "maxItems": 255 - }, - { - "type": "null" - } - ], - "description": "Partition name(s) of the pull requests", - "title": "Partition Name" - }, - "description": "Partition name(s) of the pull requests" - }, { "name": "queue_name", "in": "query", @@ -4687,30 +4384,6 @@ }, "description": "Base reference(s) of the pull requests" }, - { - "name": "partition_name", - "in": "query", - "required": false, - "schema": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 255 - }, - "maxItems": 255 - }, - { - "type": "null" - } - ], - "description": "Partition name(s) of the pull requests", - "title": "Partition Name" - }, - "description": "Partition name(s) of the pull requests" - }, { "name": "queue_name", "in": "query", @@ -7996,10 +7669,6 @@ "type": "string", "title": "Base Ref" }, - "partition_name": { - "type": "string", - "title": "Partition Name" - }, "queue_name": { "type": "string", "title": "Queue Name" @@ -8026,7 +7695,6 @@ "type": "object", "required": [ "base_ref", - "partition_name", "queue_name", "priority_rule_name", "stats" @@ -8170,10 +7838,6 @@ "type": "string", "title": "Base Ref" }, - "partition_name": { - "type": "string", - "title": "Partition Name" - }, "queue_name": { "type": "string", "title": "Queue Name" @@ -8200,7 +7864,6 @@ "type": "object", "required": [ "base_ref", - "partition_name", "queue_name", "priority_rule_name", "stats" @@ -8272,10 +7935,6 @@ "type": "string", "title": "Base Ref" }, - "partition_name": { - "type": "string", - "title": "Partition Name" - }, "queue_name": { "type": "string", "title": "Queue Name" @@ -8302,7 +7961,6 @@ "type": "object", "required": [ "base_ref", - "partition_name", "queue_name", "priority_rule_name", "stats" @@ -8457,10 +8115,6 @@ "type": "string", "title": "Base Ref" }, - "partition_name": { - "type": "string", - "title": "Partition Name" - }, "queue_name": { "type": "string", "title": "Queue Name" @@ -8487,7 +8141,6 @@ "type": "object", "required": [ "base_ref", - "partition_name", "queue_name", "priority_rule_name", "stats" @@ -8530,10 +8183,6 @@ "type": "string", "title": "Base Ref" }, - "partition_name": { - "type": "string", - "title": "Partition Name" - }, "queue_name": { "type": "string", "title": "Queue Name" @@ -8560,7 +8209,6 @@ "type": "object", "required": [ "base_ref", - "partition_name", "queue_name", "priority_rule_name", "stats" @@ -8589,10 +8237,6 @@ "type": "string", "title": "Base Ref" }, - "partition_name": { - "type": "string", - "title": "Partition Name" - }, "queue_name": { "type": "string", "title": "Queue Name" @@ -8615,7 +8259,6 @@ "type": "object", "required": [ "base_ref", - "partition_name", "queue_name", "priority_rule_name", "stats" @@ -8644,10 +8287,6 @@ "type": "string", "title": "Base Ref" }, - "partition_name": { - "type": "string", - "title": "Partition Name" - }, "queue_name": { "type": "string", "title": "Queue Name" @@ -8674,7 +8313,6 @@ "type": "object", "required": [ "base_ref", - "partition_name", "queue_name", "priority_rule_name", "stats" @@ -8941,10 +8579,6 @@ "type": "string", "title": "Base Ref" }, - "partition_name": { - "type": "string", - "title": "Partition Name" - }, "queue_name": { "type": "string", "title": "Queue Name" @@ -8971,7 +8605,6 @@ "type": "object", "required": [ "base_ref", - "partition_name", "queue_name", "priority_rule_name", "stats" @@ -14037,10 +13670,6 @@ "type": "string", "title": "Base Ref" }, - "partition_name": { - "type": "string", - "title": "Partition Name" - }, "queue_name": { "type": "string", "title": "Queue Name" @@ -14067,7 +13696,6 @@ "type": "object", "required": [ "base_ref", - "partition_name", "queue_name", "priority_rule_name", "stats" @@ -14507,10 +14135,6 @@ "type": "string", "title": "Base Ref" }, - "partition_name": { - "type": "string", - "title": "Partition Name" - }, "queue_name": { "type": "string", "title": "Queue Name" @@ -14537,7 +14161,6 @@ "type": "object", "required": [ "base_ref", - "partition_name", "queue_name", "priority_rule_name", "stats" @@ -15463,13 +15086,6 @@ "type": "string", "title": "Base Ref" }, - "partition_names": { - "items": { - "type": "string" - }, - "type": "array", - "title": "Partition Names" - }, "queue_name": { "type": "string", "title": "Queue Name" @@ -15496,7 +15112,6 @@ "type": "object", "required": [ "base_ref", - "partition_names", "queue_name", "priority_rule_name", "stats" @@ -15534,10 +15149,6 @@ "type": "string", "title": "Base Ref" }, - "partition_name": { - "type": "string", - "title": "Partition Name" - }, "queue_name": { "type": "string", "title": "Queue Name" @@ -15564,7 +15175,6 @@ "type": "object", "required": [ "base_ref", - "partition_name", "queue_name", "priority_rule_name", "stats" @@ -16342,10 +15952,6 @@ "type": "string", "title": "Base Ref" }, - "partition_name": { - "type": "string", - "title": "Partition Name" - }, "queue_name": { "type": "string", "title": "Queue Name" @@ -16372,7 +15978,6 @@ "type": "object", "required": [ "base_ref", - "partition_name", "queue_name", "priority_rule_name", "stats" @@ -16436,10 +16041,6 @@ "type": "string", "title": "Base Ref" }, - "partition_name": { - "type": "string", - "title": "Partition Name" - }, "queue_name": { "type": "string", "title": "Queue Name" @@ -16466,7 +16067,6 @@ "type": "object", "required": [ "base_ref", - "partition_name", "queue_name", "priority_rule_name", "stats" @@ -16603,10 +16203,6 @@ "type": "string", "title": "Base Ref" }, - "partition_name": { - "type": "string", - "title": "Partition Name" - }, "queue_name": { "type": "string", "title": "Queue Name" @@ -16622,7 +16218,6 @@ "type": "object", "required": [ "base_ref", - "partition_name", "queue_name", "stats" ], @@ -17369,23 +16964,17 @@ }, "TimeToMergePerPartition": { "properties": { - "partition_name": { - "type": "string", - "title": "Partition Name", - "description": "The name of the partition, if no partition are used the partition name will be `__default__`" - }, "queues": { "items": { "$ref": "#/components/schemas/TimeToMergePerQueue" }, "type": "array", "title": "Queues", - "description": "The time to merge data for each queue in the current partition" + "description": "The time to merge data for each queue" } }, "type": "object", "required": [ - "partition_name", "queues" ], "title": "TimeToMergePerPartition" @@ -17399,7 +16988,7 @@ }, "time_to_merge": { "$ref": "#/components/schemas/TimeToMergeResponse", - "description": "The time to merge data for the partition's queue" + "description": "The time to merge data for the queue" } }, "type": "object", diff --git a/public/cli-schema.json b/public/cli-schema.json index e866a7d2fb..89a52908f3 100644 --- a/public/cli-schema.json +++ b/public/cli-schema.json @@ -357,13 +357,50 @@ "ci", "queue-info" ], - "about": "Print the merge queue batch metadata for the current draft PR", - "longAbout": "Print the merge queue batch metadata for the current draft PR", - "usage": "mergify ci queue-info [OPTIONS]", + "about": "Print the merge queue batch metadata for a merge queue draft PR", + "longAbout": "Print the merge queue batch metadata for a merge queue draft PR", + "usage": "mergify ci queue-info [OPTIONS] [PULL_REQUEST_URL]", "aliases": [], "subcommandRequired": false, "source": "native", - "args": [], + "args": [ + { + "id": "pull_request", + "kind": "positional", + "short": null, + "long": null, + "valueNames": [ + "PULL_REQUEST_URL" + ], + "help": "Pull request URL (e.g. ). When omitted, reads the metadata from the CI event payload (`GITHUB_EVENT_PATH`) — the in-CI default", + "longHelp": "Pull request URL (e.g. ). When omitted, reads the metadata from the CI event payload (`GITHUB_EVENT_PATH`) — the in-CI default", + "required": false, + "global": false, + "default": null, + "possibleValues": [], + "numArgs": "1", + "env": null, + "valueHint": null + }, + { + "id": "token", + "kind": "option", + "short": "t", + "long": "token", + "valueNames": [ + "TOKEN" + ], + "help": "GitHub token used to fetch the pull request. Falls back to ``MERGIFY_TOKEN``, then ``GITHUB_TOKEN``, then `gh auth token`. Only used when a pull request URL is given", + "longHelp": "GitHub token used to fetch the pull request. Falls back to ``MERGIFY_TOKEN``, then ``GITHUB_TOKEN``, then `gh auth token`. Only used when a pull request URL is given", + "required": false, + "global": false, + "default": null, + "possibleValues": [], + "numArgs": "1", + "env": null, + "valueHint": null + } + ], "commands": [] }, { @@ -3646,6 +3683,54 @@ "commands": [] } ] + }, + { + "name": "self-update", + "path": [ + "mergify", + "self-update" + ], + "about": "Replace the running binary with the latest release. Verifies the download against `SHA256SUMS` before swap, matching the curl|sh installer's contract", + "longAbout": "Replace the running binary with the latest release. Verifies the download against `SHA256SUMS` before swap, matching the curl|sh installer's contract", + "usage": "mergify self-update [OPTIONS]", + "aliases": [], + "subcommandRequired": false, + "source": "native", + "args": [ + { + "id": "force", + "kind": "flag", + "short": null, + "long": "force", + "valueNames": [], + "help": "Re-download and re-install even when the running binary already matches the latest release tag. Useful for repairing a corrupted install without bumping the version", + "longHelp": "Re-download and re-install even when the running binary already matches the latest release tag. Useful for repairing a corrupted install without bumping the version", + "required": false, + "global": false, + "default": "false", + "possibleValues": [], + "numArgs": "0", + "env": null, + "valueHint": null + }, + { + "id": "check", + "kind": "flag", + "short": null, + "long": "check", + "valueNames": [], + "help": "Print the current and latest release tags and exit without touching the binary", + "longHelp": "Print the current and latest release tags and exit without touching the binary", + "required": false, + "global": false, + "default": "false", + "possibleValues": [], + "numArgs": "0", + "env": null, + "valueHint": null + } + ], + "commands": [] } ] } diff --git a/public/mergify-configuration-schema.json b/public/mergify-configuration-schema.json index 885885f583..7f67bb4295 100644 --- a/public/mergify-configuration-schema.json +++ b/public/mergify-configuration-schema.json @@ -1936,7 +1936,7 @@ "type": "null" } ], - "description": "A dequeue code for when a pull request has been disembarked from the merge queue.", + "description": "A dequeue code for when a pull request has been dequeued from the merge queue.", "title": "Queue dequeue reason" }, "queue-name": {