forked from cakephp/cakephp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.varci.yml
44 lines (39 loc) · 1.22 KB
/
.varci.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
ruleset:
label_defects:
name: "Label defects"
events: [ issues, pull_request ]
label: Defect
when:
- action = "opened"
- body matches "/\[\s?x\s?\] bug/"
label_enhancements:
name: "Label enhancements"
events: [ issues, pull_request ]
label: Enhancement
when:
- action = "opened"
- body matches "/\[\s?x\s?\] enhancement/"
label_rfcs:
name: "Label RFCs"
events: [ issues ]
label: RFC
when:
- action = "opened"
- body matches "/\[\s?x\s?\] feature\-discussion/"
remove_invalid:
name: "Remove invalid tag when issue re-opened"
events: [ issues, pull_request ]
label: -Invalid
when:
- action = "reopened"
- filter(labels, "name") has "Invalid"
request_missing_version:
name: "Request missing version"
events: [ issues ]
label: "On hold"
when:
- action = "opened" or action = "re-opened"
- body matches "/\[x\] bug/"
- 'not(body matches "/CakePHP Version: v?(\d+\.)?(\d+\.)?(\*|\d+)/")'
- 'not(body matches "/CakePHP Version: [0-9a-f]{5,40}/")'
comment: '{{ user.login }}, please include the CakePHP version number you are using in your description. It helps us debug your issue.'