New Features
- New conditions have been added to query the number of modified lines in a
pull request:
added-lines
,deleted-lines
andmodified-lines
. - The
pull_request_rules
have a newdescription
key that allows users to put any string they want in it, to act as an easier way to add comments on what a pull request rule does. - The Copy and Backport actions now have a new configuration option named
report_mode
. This new option is a list of modes, containingcheck
mode by default, meaning that Mergify will report the result of the action as a GitHub check. Ifcomment
mode is added, Mergify will report the result of the action as a comment on the Pull Request. For more information: https://docs.mergify.com/workflow/actions/copy/#parameters - Added a new statistics endpoint that returns the total
time spent in queue for pull requests.
The endpoint path is
/v1/repos/{repository_owner}/{repository_name}/stats/total_queue_time
.