1 # Note: We do not use the rebase strategy to merge PRs, because that
2 # loses information needed by changelog-d to associate commits with PRs.
6 # implementing PR delay logic: apply a label after 2 days of inactivity
7 # the label will allow Mergify to merge (see #8442, #8448)
12 name: Wait for 2 days before validating merge
14 - updated-at<2 days ago
17 - label=squash+merge me
18 - label=merge+no rebase
19 - '#approved-reviews-by>=2'
21 # rebase+merge strategy
25 name: Put pull requests in the rebase+merge queue
29 - label=merge delay passed
30 - '#approved-reviews-by>=2'
33 # merge+squash strategy
37 name: Put pull requests in the squash+merge queue
40 - label=squash+merge me
41 - label=merge delay passed
42 - '#approved-reviews-by>=2'
45 # merge+no rebase strategy
49 name: Merge "merge+no rebase" pull requests directly (without a queue)
52 - label=merge+no rebase
53 - label=merge delay passed
54 - '#approved-reviews-by>=2'
57 # merge strategy for release branches
61 name: Put release branch pull requests in the rebase+merge queue
66 - '#approved-reviews-by>=2'
69 # merge+squash strategy for release branches
73 name: Put release branch pull requests in the squash+merge queue
76 - label=squash+merge me
78 - '#approved-reviews-by>=2'
81 # merge strategy for backports: require 1 approver instead of 2
85 name: Put backports in the rebase+merge queue
90 - '#approved-reviews-by>=1'
93 # merge+squash strategy for backports: require 1 approver instead of 2
97 name: Put backports in the squash+merge queue
99 - label=squash+merge me
102 - '#approved-reviews-by>=1'
103 - '-label~=^blocked:'
105 # backports should be labeled as such
110 name: Label backports as such
112 - body~=automatic backport
115 # Mergify now requires different queues for different strategies
117 update_bot_account: Mikolaj
119 update_method: rebase
122 update_bot_account: Mikolaj