Skip to content

Commit a91da7a

Browse files
chore(mergify): 🧑‍💻 add more labels (#30)
2 parents 741f6d9 + 1ba4318 commit a91da7a

1 file changed

Lines changed: 27 additions & 1 deletion

File tree

.mergify.yml

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,34 @@ pull_request_rules:
22
- name: 🏷️ Label homework
33
description: Label a homework with 'homework' label by detecting keyword
44
conditions:
5-
- body~=作业提交
5+
- body ~= 作业提交
66
actions:
77
label:
88
add:
99
- homework
10+
- name: 🏷️ Label documentation
11+
description: Label a pull request with 'documentation' label by detecting keyword
12+
conditions:
13+
- title ~= ^docs\(.*\)
14+
actions:
15+
label:
16+
add:
17+
- documentation
18+
19+
- name: 🏷️ Label enhancement
20+
description: Label a pull request with 'enhancement' label by detecting keyword
21+
conditions:
22+
- title ~= ^feat\(.*\)
23+
actions:
24+
label:
25+
add:
26+
- enhancement
27+
28+
- name: 🏷️ Label gh-pages
29+
description: Label a pull request with 'gh-pages' label by detecting keyword
30+
conditions:
31+
- title ~= gh-pages
32+
actions:
33+
label:
34+
add:
35+
- gh-pages

0 commit comments

Comments
 (0)