@@ -19,10 +19,6 @@ pull_request_rules:
1919 - actions :
2020 queue :
2121 name : default
22- # Merge into master with a merge commit
23- method : merge
24- # Update the pr branch with rebase, so the history is clean
25- update_method : rebase
2622 name : Put pull requests in the rebase+merge queue
2723 conditions :
2824 - base=master
@@ -33,11 +29,7 @@ pull_request_rules:
3329 # merge+squash strategy
3430 - actions :
3531 queue :
36- name : default
37- method : squash
38- # both update methods get absorbed by the squash, so we use the most
39- # reliable
40- update_method : merge
32+ name : squash-merge
4133 name : Put pull requests in the squash+merge queue
4234 conditions :
4335 - base=master
@@ -61,9 +53,6 @@ pull_request_rules:
6153 queue :
6254 name : default
6355 # Merge with a merge commit
64- method : merge
65- # Update the pr branch with rebase, so the history is clean
66- update_method : rebase
6756 name : Put backports in the rebase+merge queue
6857 conditions :
6958 - label=merge me
@@ -74,11 +63,7 @@ pull_request_rules:
7463 # merge+squash strategy for backports: require 1 approver instead of 2
7564 - actions :
7665 queue :
77- name : default
78- method : squash
79- # both update methods get absorbed by the squash, so we use the most
80- # reliable
81- update_method : merge
66+ name : squash-merge
8267 name : Put backports in the squash+merge queue
8368 conditions :
8469 - label=squash+merge me
@@ -96,5 +81,12 @@ pull_request_rules:
9681 - body~=automatic backport
9782
9883queue_rules :
84+ # Mergify now requires different queues for different strategies
9985 - name : default
10086 update_bot_account : Mikolaj
87+ merge_method : merge
88+ update_method : rebase
89+ - name : squash-merge
90+ update_bot_account : Mikolaj
91+ merge_method : squash
92+ update_method : merge
0 commit comments