forked from tweag/rules_sh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.mergify.yml
35 lines (32 loc) · 853 Bytes
/
.mergify.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
queue_rules:
- name: default
conditions:
- 'check-success~=Build & Test \(ubuntu-.*\)'
- 'check-success~=Build & Test \(macos-.*\)'
- 'check-success~=Build & Test \(windows-.*\)'
pull_request_rules:
- name: automatic merge
conditions:
- 'check-success~=Build & Test \(ubuntu-.*\)'
- 'check-success~=Build & Test \(macos-.*\)'
- 'check-success~=Build & Test \(windows-.*\)'
- "#approved-reviews-by>=1"
- "label=merge-queue"
- "base=master"
actions:
queue:
name: default
method: merge
- name: delete head branch after merge
conditions:
- merged
- closed
actions:
delete_head_branch: {}
- name: remove from merge-queue after merge
conditions:
- merged
actions:
label:
remove:
- "merge-queue"