{ "$defs": { "ActionsModel": { "additionalProperties": false, "properties": { "assign": { "anyOf": [ { "$ref": "#/$defs/AssignActionModel" }, { "type": "null" } ], "default": null }, "backport": { "anyOf": [ { "$ref": "#/$defs/BackportActionModel" }, { "type": "null" } ], "default": null }, "close": { "anyOf": [ { "$ref": "#/$defs/CloseActionModel" }, { "type": "null" } ], "default": null }, "comment": { "anyOf": [ { "$ref": "#/$defs/CommentActionModel" }, { "type": "null" } ], "default": null }, "copy": { "anyOf": [ { "$ref": "#/$defs/CopyActionModel" }, { "type": "null" } ], "default": null }, "delete_head_branch": { "anyOf": [ { "$ref": "#/$defs/DeleteHeadBranchActionModel" }, { "type": "null" } ], "default": null, "deprecated": true }, "dismiss_reviews": { "anyOf": [ { "$ref": "#/$defs/DismissReviewsActionModel" }, { "type": "null" } ], "default": null }, "edit": { "anyOf": [ { "$ref": "#/$defs/EditActionModel" }, { "type": "null" } ], "default": null }, "github_actions": { "anyOf": [ { "$ref": "#/$defs/GhaActionModel" }, { "type": "null" } ], "default": null }, "label": { "anyOf": [ { "$ref": "#/$defs/LabelActionModel" }, { "type": "null" } ], "default": null }, "merge": { "anyOf": [ { "$ref": "#/$defs/MergeActionModel" }, { "type": "null" } ], "default": null }, "post_check": { "anyOf": [ { "$ref": "#/$defs/PostCheckActionModel" }, { "type": "null" } ], "default": null, "deprecated": true }, "queue": { "anyOf": [ { "$ref": "#/$defs/QueueActionModel" }, { "type": "null" } ], "default": null }, "rebase": { "anyOf": [ { "$ref": "#/$defs/RebaseActionModel" }, { "type": "null" } ], "default": null }, "request_reviews": { "anyOf": [ { "$ref": "#/$defs/RequestReviewsActionModel" }, { "type": "null" } ], "default": null }, "review": { "anyOf": [ { "$ref": "#/$defs/ReviewActionModel" }, { "type": "null" } ], "default": null }, "squash": { "anyOf": [ { "$ref": "#/$defs/SquashActionModel" }, { "type": "null" } ], "default": null }, "update": { "anyOf": [ { "$ref": "#/$defs/UpdateActionModel" }, { "type": "null" } ], "default": null } }, "title": "Actions", "type": "object" }, "AndCondition": { "additionalProperties": false, "properties": { "and": { "$ref": "#/$defs/ListOfRuleConditions" } }, "required": [ "and" ], "title": "AndCondition", "type": "object" }, "AssignActionModel": { "additionalProperties": false, "properties": { "users": { "items": { "description": "A string template using the Jinja2 syntax.", "format": "template", "title": "Template", "type": "string" }, "maxItems": 10, "title": "Users", "type": "array" }, "add_users": { "items": { "description": "A string template using the Jinja2 syntax.", "format": "template", "title": "Template", "type": "string" }, "maxItems": 10, "title": "Add Users", "type": "array" }, "remove_users": { "items": { "description": "A string template using the Jinja2 syntax.", "format": "template", "title": "Template", "type": "string" }, "maxItems": 40, "title": "Remove Users", "type": "array" } }, "title": "AssignActionModel", "type": "object" }, "BackportActionModel": { "additionalProperties": false, "properties": { "bot_account": { "anyOf": [ { "description": "A string template using the Jinja2 syntax.", "format": "template", "title": "Template", "type": "string" }, { "type": "null" } ], "default": null, "description": "Mergify can impersonate a GitHub user to copy a pull request. If no `bot_account` is set, Mergify copies the pull request itself.", "title": "Bot Account" }, "branches": { "description": "The list of branches the pull request should be copied to.", "items": { "$ref": "#/$defs/BranchName" }, "maxItems": 30, "title": "Branches", "type": "array" }, "regexes": { "description": "The list of regexes to find branches the pull request should be copied to.", "items": { "format": "regex", "type": "string" }, "maxItems": 30, "title": "Regexes", "type": "array" }, "ignore_conflicts": { "default": true, "description": "Whether to create the pull requests even if there are conflicts when cherry-picking the commits.", "title": "Ignore Conflicts", "type": "boolean" }, "assignees": { "description": "Users to assign the newly created pull request to. As the type is a data type template, you could use, e.g., `{{author}}` to assign the pull request to its original author.", "items": { "description": "A string template using the Jinja2 syntax.", "format": "template", "title": "Template", "type": "string" }, "maxItems": 10, "title": "Assignees", "type": "array" }, "labels": { "description": "The list of labels to add to the created pull requests.", "items": { "type": "string" }, "maxItems": 30, "title": "Labels", "type": "array" }, "label_conflicts": { "default": "conflicts", "description": "The label to add to the created pull request if it has conflicts and `ignore_conflicts` is set to `true`.", "title": "Label Conflicts", "type": "string" }, "title": { "default": "{{ title }} (backport #{{ number }})", "description": "The pull request's title.", "format": "template", "title": "Template", "type": "string" }, "body": { "default": "{{ body }}