โ๏ธ Commands๐
Mergify is able to run some ๐ Actions directly without leveraging the rule system. By commenting on a pull request, you can ask Mergify to executes some actions.
The syntax of the comment is:
@Mergifyio <command> [parameters โฆ]
Note
Each command have default restrictions described below. A user might need to be the author of the pull request or have write access to the repository to run a command. More restrictions can be added with Commands Restrictions.
The list of available commands is listed below, with their parameters:
backport๐
Runs the backport action.
Syntax |
|
Example |
|
Default restrictions |
Write access |
copy๐
Runs the copy action.
Syntax |
|
Example |
|
Default restrictions |
Write access |
queue๐
Add this pull request to the merge queue.
Syntax |
|
Example |
|
Default restrictions |
Write access |
rebase๐
Runs the rebase action.
Syntax |
|
Example |
|
Default restrictions |
Write access or author of the pull request |
refresh๐
Re-evaluates your Mergify rules on this pull request.
Syntax |
|
Example |
|
Default restrictions |
Write access or author of the pull request |
squash๐
Runs the squash action.
Syntax |
|
Example |
|
Default restrictions |
Write access or author of the pull request |
update๐
Runs the update action.
Syntax |
|
Example |
|
Default restrictions |
Write access or author of the pull request |
unqueue๐
Removes this pull request from the merge queue if it has been queued with queue action or queue command.
Syntax |
|
Example |
|
Default restrictions |
Write access |
requeue๐
Inform Mergify that the CI failure was not due to the pull request itself, but to, e.g., a flaky test.
Syntax |
|
Example |
|
Default restrictions |
Write access |