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
13 - '#approved-reviews-by>=2'
15 # rebase+merge strategy
19 # Merge into master with a merge commit
21 # Update the pr branch with rebase, so the history is clean
23 name: Put pull requests in the rebase+merge queue
27 - label=merge delay passed
28 - '#approved-reviews-by>=2'
30 # merge+squash strategy
35 # both update methods get absorbed by the squash, so we use the most
38 name: Put pull requests in the squash+merge queue
41 - label=squash+merge me
42 - label=merge delay passed
43 - '#approved-reviews-by>=2'
45 # rebase+merge strategy for backports: require 1 approver instead of 2
49 # Merge with a merge commit
51 # Update the pr branch with rebase, so the history is clean
53 name: Put backports in the rebase+merge queue
58 - '#approved-reviews-by>=1'