Skip to content
Merged
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
77 changes: 55 additions & 22 deletions public/mergify-configuration-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -225,32 +225,47 @@
"properties": {
"users": {
"items": {
"description": "A string template using the Jinja2 syntax.",
"format": "template",
"title": "Template",
"type": "string"
"anyOf": [
{
"const": "{{ author }}",
"title": "Pull request author"
},
{
"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"
"anyOf": [
{
"const": "{{ author }}",
"title": "Pull request author"
},
{
"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"
"anyOf": [
{
"const": "{{ author }}",
"title": "Pull request author"
},
{
"type": "string"
}
]
},
"maxItems": 40,
"title": "Remove Users",
Expand Down Expand Up @@ -334,12 +349,21 @@
"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.",
"description": "Users to assign the newly created pull request to. Accepts GitHub logins, or one of the named actor options `{{ author }}` (the original pull request author) and `{{ merged_by }}` (the user who merged it).",
"items": {
"description": "A string template using the Jinja2 syntax.",
"format": "template",
"title": "Template",
"type": "string"
"anyOf": [
{
"const": "{{ author }}",
"title": "Pull request author"
},
{
"const": "{{ merged_by }}",
"title": "User who merged the pull request"
},
{
"type": "string"
}
]
},
"maxItems": 10,
"title": "Assignees",
Expand Down Expand Up @@ -870,12 +894,21 @@
"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.",
"description": "Users to assign the newly created pull request to. Accepts GitHub logins, or one of the named actor options `{{ author }}` (the original pull request author) and `{{ merged_by }}` (the user who merged it).",
"items": {
"description": "A string template using the Jinja2 syntax.",
"format": "template",
"title": "Template",
"type": "string"
"anyOf": [
{
"const": "{{ author }}",
"title": "Pull request author"
},
{
"const": "{{ merged_by }}",
"title": "User who merged the pull request"
},
{
"type": "string"
}
]
},
"maxItems": 10,
"title": "Assignees",
Expand Down