forked from espnet/espnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.mergify.yml
92 lines (92 loc) · 2.68 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
pull_request_rules:
- name: automatic merge if label=auto-merge
conditions:
- "label=auto-merge"
- "status-success=linter_and_test (ubuntu-16.04, 3.7, 1.0.1, 6.0.0, true)"
- "status-success=linter_and_test (ubuntu-16.04, 3.7, 1.0.1, 6.0.0, false)"
- "status-success=linter_and_test (ubuntu-16.04, 3.7, 1.1, 6.0.0, true)"
- "status-success=linter_and_test (ubuntu-16.04, 3.7, 1.1, 6.0.0, false)"
- "status-success=linter_and_test (ubuntu-18.04, 3.7, 1.0.1, 6.0.0, true)"
- "status-success=linter_and_test (ubuntu-18.04, 3.7, 1.0.1, 6.0.0, false)"
- "status-success=linter_and_test (ubuntu-18.04, 3.7, 1.1, 6.0.0, true)"
- "status-success=linter_and_test (ubuntu-18.04, 3.7, 1.1, 6.0.0, false)"
- "status-success=ci/circleci: test-centos7"
- "status-success=ci/circleci: test-debian9"
- "status-success=ci/circleci: test-ubuntu16"
- "status-success=ci/circleci: test-ubuntu18"
- "status-success=continuous-integration/travis-ci/pr"
actions:
merge:
method: merge
strict: false
- name: delete head branch after merge
conditions:
- merged
actions:
delete_head_branch: {}
- name: Copy master to develop branch
conditions:
- base=master
- merged
actions:
copy:
branches:
- develop
# Whether to create the pull requests even if they are conflicts when cherry-picking the commits.
ignore_conflicts: true
- name: "add label=auto-merge for PR by mergify"
conditions:
- author=mergify[bot]
actions:
label:
add: ["auto-merge"]
- name: warn on conflicts
conditions:
- conflict
actions:
comment:
message: This pull request is now in conflict :(
label:
add: ["conflicts"]
- name: unlabel conflicts
conditions:
- -conflict
actions:
label:
remove: ["conflicts"]
- name: "auto add label=ESPnet2"
conditions:
- files~=^(espnet2/|egs2/)
actions:
label:
add: ["ESPnet2"]
- name: "auto add label=README"
conditions:
- files~=^README.md
actions:
label:
add: ["README"]
- name: "auto add label=Documentation"
conditions:
- files~=^doc/
actions:
label:
add: ["Documentation"]
- name: "auto add label=CI"
conditions:
- files~=^(.circleci/|ci/|.github/|.travis.yml)
actions:
label:
add: ["CI"]
- name: "auto add label=mergify"
conditions:
- files~=^.mergify.yml
actions:
label:
add: ["mergify"]
- name: "auto add label=Docker"
conditions:
- files~=^docker/
actions:
label:
add: ["Docker"]