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.
8 - 'label=priority: high :fire:'
11 # The idea is we slightly prioritize those PRs because we're in
12 # a release cycle if a PR matches.
13 - name: release branch
17 # 'normal' is 2000, 'high' is 3000
22 # implementing PR delay logic: apply a label after 2 days of inactivity
23 # the label will allow Mergify to merge (see #8442, #8448)
28 name: Wait for 2 days before validating merge
31 - 'label=priority: high :fire:'
32 - updated-at<2 days ago
35 - label=squash+merge me
36 - label=merge+no rebase
37 - '#approved-reviews-by>=2'
39 # label when Mergify is ready but waiting for the above
44 name: Waiting out merge delay (used by bot)
51 - label=squash+merge me
52 - label=merge+no rebase
53 - '#approved-reviews-by>=2'
54 - '#changes-requested-reviews-by=0'
56 # lifted these from branch protection imports
57 - check-success=fourmolu
59 - check-success=Meta checks
60 - check-success=Doctest Cabal
61 - check-success=Validate post job
62 - check-success=Bootstrap post job
63 - 'check-success=docs/readthedocs.org:cabal'
65 # rebase+merge strategy
69 name: Put pull requests in the rebase+merge queue
73 - label=merge delay passed
74 - '#approved-reviews-by>=2'
77 # merge+squash strategy
81 name: Put pull requests in the squash+merge queue
84 - label=squash+merge me
85 - label=merge delay passed
86 - '#approved-reviews-by>=2'
89 # merge+no rebase strategy
93 name: Merge "merge+no rebase" pull requests directly (without a queue)
96 - label=merge+no rebase
97 - label=merge delay passed
98 - '#approved-reviews-by>=2'
101 # merge strategy for release branches
105 name: Put release branch pull requests in the rebase+merge queue
110 - '#approved-reviews-by>=2'
111 - '-label~=^blocked:'
113 # merge+squash strategy for release branches
117 name: Put release branch pull requests in the squash+merge queue
120 - label=squash+merge me
122 - '#approved-reviews-by>=2'
123 - '-label~=^blocked:'
125 # merge strategy for backports: require 1 approver instead of 2
129 name: Put backports in the rebase+merge queue
134 - '#approved-reviews-by>=1'
135 - '-label~=^blocked:'
137 # merge+squash strategy for backports: require 1 approver instead of 2
141 name: Put backports in the squash+merge queue
143 - label=squash+merge me
146 - '#approved-reviews-by>=1'
147 - '-label~=^blocked:'
149 # backports should be labeled as such
154 name: Label backports as such
156 - body~=automatic backport
159 # Mergify now requires different queues for different strategies
161 update_bot_account: Mikolaj
163 update_method: rebase
166 update_bot_account: Mikolaj