|
1 |
| -# labeler.yml 中的 Videndum/label-mastermind 的配置文件,已废弃。 |
2 | 1 | {
|
3 | 2 | "labels": {
|
4 | 3 | "s": {
|
5 | 4 | "name": "10+",
|
6 | 5 | "color": "c5def5",
|
7 |
| - "description": "改动行数标签。" |
| 6 | + "description": "Size label." |
8 | 7 | },
|
9 | 8 | "xs": {
|
10 | 9 | "name": "1+",
|
11 | 10 | "color": "c5def5",
|
12 |
| - "description": "改动行数标签。" |
| 11 | + "description": "Size label." |
13 | 12 | },
|
14 | 13 | "m": {
|
15 | 14 | "name": "40+",
|
16 | 15 | "color": "c5def5",
|
17 |
| - "description": "改动行数标签。" |
| 16 | + "description": "Size label." |
18 | 17 | },
|
19 | 18 | "l": {
|
20 | 19 | "name": "100+",
|
21 | 20 | "color": "c5def5",
|
22 |
| - "description": "改动行数标签。" |
| 21 | + "description": "Size label." |
23 | 22 | },
|
24 | 23 | "xl": {
|
25 | 24 | "name": "500+",
|
26 | 25 | "color": "c5def5",
|
27 |
| - "description": "改动行数标签。" |
| 26 | + "description": "Size label." |
28 | 27 | },
|
29 | 28 | "xxl": {
|
30 | 29 | "name": "1000+",
|
31 | 30 | "color": "c5def5",
|
32 |
| - "description": "改动行数标签。" |
| 31 | + "description": "Size label." |
33 | 32 | },
|
34 | 33 | "xxxl": {
|
35 | 34 | "name": "2000+",
|
36 | 35 | "color": "c5def5",
|
37 |
| - "description": "改动行数标签。" |
| 36 | + "description": "Size label." |
38 | 37 | },
|
39 | 38 | "xxxxl": {
|
40 | 39 | "name": "5000+",
|
41 | 40 | "color": "c5def5",
|
42 |
| - "description": "改动行数标签。" |
| 41 | + "description": "Size label." |
43 | 42 | },
|
44 | 43 | "bug": {
|
45 | 44 | "name": "bug",
|
46 | 45 | "color": "ee0701",
|
47 | 46 | "description": "Bug."
|
48 | 47 | },
|
| 48 | + "wip": { |
| 49 | + "name": "in progress", |
| 50 | + "color": "ededed", |
| 51 | + "description": "WIP" |
| 52 | + }, |
49 | 53 | "hard": {
|
50 |
| - "name": "棘手的", |
| 54 | + "name": "hard", |
| 55 | + "color": "ededed", |
| 56 | + "description": "High difficulty." |
| 57 | + }, |
| 58 | + "review": { |
| 59 | + "name": "need review", |
51 | 60 | "color": "ededed",
|
52 |
| - "description": "难度高或数量多的" |
| 61 | + "description": "Need review." |
53 | 62 | },
|
54 | 63 | "1.12.x": {
|
55 | 64 | "name": "1.12.x",
|
|
75 | 84 | "name": "source",
|
76 | 85 | "color": "fef2c0",
|
77 | 86 | "description": ""
|
78 |
| - }, |
79 |
| - "helpwanted": { |
80 |
| - "name": "Help Wanted" |
81 | 87 | }
|
82 | 88 | },
|
83 | 89 | "runners": [
|
|
97 | 103 | {
|
98 | 104 | "type": "titleMatches",
|
99 | 105 | "pattern": "/^bug(\\(.*\\))?(!)?:/i"
|
100 |
| - } |
101 |
| - ] |
102 |
| - }, |
103 |
| - "helpwanted": { |
104 |
| - "requires": 1, |
105 |
| - "conditions": [ |
106 |
| - { |
107 |
| - "type": "descriptionMatches", |
108 |
| - "pattern": "Help\\s?(W|要)anted|需要(\\S| )*(帮助|协助)" |
109 | 106 | },
|
110 | 107 | {
|
111 |
| - "type": "titleMatches", |
112 |
| - "pattern": "(?<=\\[)H(?=\\])" |
| 108 | + "type": "descriptionMatches", |
| 109 | + "pattern": "/(created|new|opened|made)( an| a)? bug/i" |
113 | 110 | }
|
114 | 111 | ]
|
115 | 112 | }
|
|
196 | 193 | }
|
197 | 194 | ]
|
198 | 195 | },
|
| 196 | + "wip": { |
| 197 | + "requires": 1, |
| 198 | + "conditions": [ |
| 199 | + { |
| 200 | + "type": "isDraft", |
| 201 | + "value": true |
| 202 | + }, |
| 203 | + { |
| 204 | + "type": "titleMatches", |
| 205 | + "pattern": "(?<=\\[)WIP(?=\\])" |
| 206 | + } |
| 207 | + ] |
| 208 | + }, |
199 | 209 | "hard": {
|
200 | 210 | "requires": 1,
|
201 | 211 | "conditions": [
|
202 | 212 | {
|
203 |
| - "type": "descriptionMatches", |
204 |
| - "pattern": "棘手的" |
| 213 | + "type": "titleMatches", |
| 214 | + "pattern": "(?<=\\[)P(?=\\])" |
205 | 215 | }
|
206 | 216 | ]
|
207 | 217 | },
|
|
0 commit comments