forked from PaddlePaddle/PaddleSpeech
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mergify.yml
142 lines (142 loc) · 3.17 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
pull_request_rules:
- name: automatic merge for develop when CI passes and 1 reviews
conditions:
- "approved-reviews-by>=1"
- check-success=Travis CI - Pull Request
- base=develop
actions:
merge:
method: merge
- name: delete head branch after merged
conditions:
- merged
actions:
delete_head_branch: {}
- 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=Dataset"
conditions:
- files~=^dataset/
actions:
label:
add: ["Dataset"]
- name: "auto add label=S2T"
conditions:
- files~=^paddlespeech/s2t/
actions:
label:
add: ["S2T"]
- name: "auto add label=T2S"
conditions:
- files~=^paddlespeech/t2s/
actions:
label:
add: ["T2S"]
- name: "auto add label=Audio"
conditions:
- files~=^paddlespeech/audio/
actions:
label:
add: ["Audio"]
- name: "auto add label=Vector"
conditions:
- files~=^paddlespeech/vector/
actions:
label:
add: ["Vector"]
- name: "auto add label=Text"
conditions:
- files~=^paddlespeech/text/
actions:
label:
add: ["Text"]
- name: "auto add label=Example"
conditions:
- files~=^examples/
actions:
label:
add: ["Example"]
- name: "auto add label=CLI"
conditions:
- files~=^paddlespeech/cli
actions:
label:
add: ["CLI"]
- name: "auto add label=Server"
conditions:
- files~=^paddlespeech/server
actions:
label:
add: ["Server"]
- name: "auto add label=Demo"
conditions:
- files~=^demos/
actions:
label:
add: ["Demo"]
- name: "auto add label=README"
conditions:
- files~=(README.md|READEME_cn.md)
actions:
label:
add: ["README"]
- name: "auto add label=Documentation"
conditions:
- files~=^(docs/|CHANGELOG.md)
actions:
label:
add: ["Documentation"]
- name: "auto add label=CI"
conditions:
- files~=^(.circleci/|ci/|.github/|.travis.yml|.travis|env.sh)
actions:
label:
add: ["CI"]
- name: "auto add label=Installation"
conditions:
- files~=^(tools/|setup.py|setup.cfg|setup_audio.py)
actions:
label:
add: ["Installation"]
- name: "auto add label=Test"
conditions:
- files~=^(tests/)
actions:
label:
add: ["Test"]
- 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"]
- name: "auto add label=Deployment"
conditions:
- files~=^runtime/
actions:
label:
add: ["Deployment"]