forked from databendlabs/databend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mergify.yml
47 lines (38 loc) · 1.14 KB
/
.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
36
37
38
39
40
41
42
43
44
45
46
47
queue_rules:
- name: shared_queue
conditions:
- "#approved-reviews-by>=2"
- '#check-success>=10'
- check-success=check
- check-success~=build
- check-success~=test_unit
- check-success~=test_stateless_standalone
- check-success~=test_stateless_cluster
- check-success~=test_stateful_standalone
pull_request_rules:
- name: put bug fix pr to queue with high priority
conditions:
- "#approved-reviews-by>=2"
- check-success=check
- label=pr-bugfix
actions:
queue:
name: shared_queue
- name: put other pr to queue
conditions:
- "#approved-reviews-by>=2"
- check-success=check
- label!=pr-bugfix
actions:
queue:
name: shared_queue
# if there is a conflict in a approved PR, ping the author.
- name: ping author on conflicts
conditions:
- conflict
- "#approved-reviews-by >= 2"
actions:
comment:
message: |
This pull request has merge conflicts that must be resolved before it can be merged. @{{author}} please update it 🙏.
Try `@mergify update` or update manually.