3 # implementing PR delay logic: apply a label after 2 days of inactivity
4 # the label will allow Mergify to merge (see #8442, #8448)
9 name: Wait for 2 days before validating merge
11 - updated-at<2 days ago
14 - label=squash+merge me
15 - '#approved-reviews-by>=2'
17 # rebase+merge strategy
21 # Merge into master with a merge commit
23 # Update the pr branch with rebase, so the history is clean
25 name: Put pull requests in the rebase+merge queue
29 - label=merge delay passed
30 - '#approved-reviews-by>=2'
32 # merge+squash strategy
37 # both update methods get absorbed by the squash, so we use the most
40 name: Put pull requests in the squash+merge queue
43 - label=squash+merge me
44 - label=merge delay passed
45 - '#approved-reviews-by>=2'
47 # rebase+merge strategy for backports: require 1 approver instead of 2
51 # Merge with a merge commit
53 # Update the pr branch with rebase, so the history is clean
55 name: Put backports in the rebase+merge queue
60 - '#approved-reviews-by>=1'
62 # backports should be labeled as such
67 name: Label backports as such
69 - body~=automatic backport