-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.zappr.yaml
64 lines (64 loc) · 1.41 KB
/
.zappr.yaml
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
# https://zappr.readthedocs.io/en/latest/setup
autobranch:
pattern: '{number}-{title}'
length: 60
approvals:
minimum: 1 # PR needs at least 1 approval for compliant reasons
pattern: "^(:\\+1:|👍|approved)$" # write a comment to the PR with "approved" or ":+1"
ignore: pr_opener
veto:
pattern: "^(:\\-1:|👎|rejected)$" # write a comment to the PR with "rejected" or ":-1"
from:
orgs:
- AlexRogalskiy
collaborators: true
specification:
title:
minimum-length:
enabled: true
length: 8
body:
minimum-length:
enabled: true
length: 8
contains-url: true
contains-issue-number: true
template:
differs-from-body: true
commit:
message:
patterns:
# see CONTRIBUTING.md
- "^(feat|fix|docs|style|refactor|perf|test|chore)\\([a-zA-Z0-9-._]+\\):.{3,}"
pull-request:
labels:
additional: true
# autobranch:
# pattern: '{number}-{title}'
# length: 60
# commit:
# message:
# patterns:
# - '#[0-9]+'
# approvals:
# minimum: 2
# ignore: none
# pattern: "^(:\\+1:|F44D)$"
# veto:
# pattern: "^(:\\-1:|F44E)$"
# specification:
# title:
# minimum-length:
# enabled: true
# length: 8
# body:
# minimum-length:
# enabled: true
# length: 8
# contains-url: true
# contains-issue-number: true
# template:
# differs-from-body: true
# pull-request:
# labels:
# additional: true