Commit e14ce48 1 parent 46fce61 commit e14ce48 Copy full SHA for e14ce48
File tree 1 file changed +21
-12
lines changed
1 file changed +21
-12
lines changed Original file line number Diff line number Diff line change 1
1
pull_request_rules :
2
+ - name : Label conflicting pull requests
3
+ description : Add a label to a pull request with conflict to spot it easily
4
+ conditions :
5
+ - conflict
6
+ - ' -closed'
7
+ actions :
8
+ label :
9
+ toggle :
10
+ - conflict
2
11
- name : Automatic merge on PullApprove
3
12
conditions :
4
13
- or :
5
- - " check-success=pullapprove"
6
- - label="fast track"
7
- - " #approved-reviews-by>=1"
8
- - " #review-threads-unresolved=0"
9
- - " -draft"
10
- - " label!=docker" # Don't auto merge docker images
11
- - " #check-failure=0" # Don't auto merge with a failure
12
- - " #check-pending=0" # Don't auto merge with anything pending
13
- - " check-success~=Build" # Don't auto merge unless a build has succeeded, needed because above is true on a fresh PR before builds
14
+ - check-success=pullapprove
15
+ - label="fast track"
16
+ - ' #approved-reviews-by>=1'
17
+ - ' #review-threads-unresolved=0'
18
+ - ' -draft'
19
+ - label!=docker
20
+ - ' #check-failure=0'
21
+ - ' #check-pending=0'
22
+ - check-success~=Build
14
23
- or :
15
- - " check-success=pullapprove"
16
- - " check-skipped=pullapprove"
17
- - " check-neutral=pullapprove"
24
+ - check-success=pullapprove
25
+ - check-skipped=pullapprove
26
+ - check-neutral=pullapprove
18
27
actions :
19
28
merge :
20
29
method : squash
You can’t perform that action at this time.
0 commit comments