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
# If updating this file, please also review `docs/release-process.md`,
# `CONTRIBUTING.md`, and `.github/workflows/pr_title.yml` and update the
# summary of these rules in those files accordingly.
rules:
# Body may be empty
body-empty:
level: ignore
# Description must not be empty
description-empty:
level: error
# Description must start with a capital letter and must not end with a period or space
description-format:
level: error
format: ^[A-Z0-9].*[^. ]$
# Description should be <70 chars
description-max-length:
level: warning
length: 70
# Scope is not allowed. Unlike c2pa-rs (a monorepo with several crates
# to disambiguate), c2patool is a single crate, so a scope would never
# carry useful information.
scope:
level: error
optional: false
options:
# Subject line should exist
subject-empty:
level: error
# Type must be one of these options
type:
level: error
options:
- build
- chore
- ci
- docs
- feat
- fix
- perf
- refactor
- revert
- style
- test
- update