File tree 1 file changed +25
-5
lines changed 1 file changed +25
-5
lines changed Original file line number Diff line number Diff line change 1
1
pull_request_rules :
2
+ # rebase+merge strategy
2
3
- actions :
3
- merge :
4
- strict : smart+fasttrack
5
- method : squash
6
- name : Automatically merge pull requests
4
+ queue :
5
+ name : default
6
+ # Merge into master with a merge commit
7
+ method : merge
8
+ # Update the pr branch with rebase, so the history is clean
9
+ update_method : rebase
10
+ name : Put pull requests in the rebase+merge queue
7
11
conditions :
8
12
- label=merge me
9
- - ' #approved-reviews-by>=2'
13
+ - ' #approved-reviews-by>=2'
14
+ # merge+squash strategy
15
+ - actions :
16
+ queue :
17
+ name : default
18
+ method : squash
19
+ # both update methods get absorbed by the squash, so we use the most
20
+ # reliable
21
+ update_method : merge
22
+ name : Put pull requests in the squash+merge queue
23
+ conditions :
24
+ - label=squash+merge me
25
+ - ' #approved-reviews-by>=2'
26
+
27
+ queue_rules :
28
+ - name : default
29
+ conditions : []
You can’t perform that action at this time.
0 commit comments