Close a pull request.
close action allows Mergify to automatically close pull requests when
the specified conditions are met. This can be particularly useful when you
want to ensure that certain types of pull requests are not merged.
|Key name||Value type||Default|
The message to write as a comment after closing the pull request.
If you wanted to automatically close pull request that touches a certain file,
do_not_touch.txt, you could write a rule such as:
pull_request_rules:- name: disallow changing a fileconditions:- files=do_not_touch.txtactions:close:message: No PR can touch this file.