-
-
Notifications
You must be signed in to change notification settings - Fork 219
/
Copy path.mergify.yml
52 lines (52 loc) · 1.28 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
48
49
50
51
52
queue_rules:
- name: default
# speculative_checks: 3
# batch_size: 2
conditions:
- check-success=Build (test)
- check-success=Test (yarn test)
pull_request_rules:
- name: update out-of-sync PR
conditions:
- base=master
- -conflict
- -draft
actions:
update:
- name: Automatic merge on approval
conditions:
- "#approved-reviews-by>=1"
actions:
merge:
method: merge
- name: close stale pull request
conditions:
- base=master
- -closed
- updated-at<14 days ago
actions:
close:
message: |
This pull request looks stale. Feel free to reopen it if you think it is a mistake.
- name: merge Renovate pull request
conditions:
- author=renovate[bot]
- label=dependency-update
- label!=major
actions:
review:
type: APPROVE
message: Automatically approving Renovate
queue:
name: default
method: rebase
priority: low
- name: close Renovate pull request (conflict)
conditions:
- conflict
- author=renovate[bot]
- label=dependency-update
actions:
close:
message: |
This automated pull request has a conflict. Closing - Renovate will create a new PR.