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 - label=merge+no rebase
16 - '#approved-reviews-by>=2'
18 # rebase+merge strategy
22 # Merge into master with a merge commit
24 # Update the pr branch with rebase, so the history is clean
26 name: Put pull requests in the rebase+merge queue
30 - label=merge delay passed
31 - '#approved-reviews-by>=2'
33 # merge+squash strategy
38 # both update methods get absorbed by the squash, so we use the most
41 name: Put pull requests in the squash+merge queue
44 - label=squash+merge me
45 - label=merge delay passed
46 - '#approved-reviews-by>=2'
48 # merge+no rebase strategy
52 name: Merge "merge+no rebase" pull requests directly (without a queue)
55 - label=merge+no rebase
56 - label=merge delay passed
57 - '#approved-reviews-by>=2'
59 # rebase+merge strategy for backports: require 1 approver instead of 2
63 # Merge with a merge commit
65 # Update the pr branch with rebase, so the history is clean
67 name: Put backports in the rebase+merge queue
72 - '#approved-reviews-by>=1'
74 # merge+squash strategy for backports: require 1 approver instead of 2
79 # both update methods get absorbed by the squash, so we use the most
82 name: Put backports in the squash+merge queue
84 - label=squash+merge me
87 - '#approved-reviews-by>=1'
89 # backports should be labeled as such
94 name: Label backports as such
96 - body~=automatic backport
100 update_bot_account: Mikolaj