-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.totem.yml
43 lines (42 loc) · 1.16 KB
/
.totem.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
settings:
pr_comment_report:
enabled: True
delete_previous: True
show_empty_sections: False
show_message: True
show_details: True
show_successful: False
console_report:
show_empty_sections: False
show_message: True
show_details: True
show_successful: False
local_console_report:
show_empty_sections: False
show_message: True
show_details: True
show_successful: True
checks:
branch_name:
pattern: ^[\w\d\-]+$
pattern_descr: Branch name must include lowercase characters, digits and dashes, e.g. `update-something`
failure_level: error
pr_title:
pattern: ^[A-Z].+$
pattern_descr: PR title must start with a capitalized word, e.g. `Update PyGithub dependency`
failure_level: error
pr_body_checklist:
failure_level: error
commit_message:
subject:
min_length: 10
max_length: 50
pattern: ^[A-Z].+(?<!\.)$
pattern_descr: Commit message subject must start with a capital letter and must not finish with a dot
body:
max_line_length: 72
ignore_urls: True
smart_require:
min_changes: 100
min_body_lines: 1
failure_level: error