-
Notifications
You must be signed in to change notification settings - Fork 1
/
.commitlinter.yaml
27 lines (27 loc) · 1.29 KB
/
.commitlinter.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
# https://github.com/masahiro331/go-commitlinter#custom-rules
skip_prefixes:
- 'Merge branch '
- 'BREAKING: '
type_rules:
- type: feat
description: for a new feature for the user, not a new feature for build script.
- type: fix
description: for a bug fix for the user, not a fix to a build script.
- type: perf
description: for performance improvements.
- type: docs
description: for changes to the documentation.
- type: style
description: for formatting changes, missing semicolons, etc.
- type: refactor
description: for refactoring production code, e.g. renaming a variable.
- type: test
description: for adding missing tests, refactoring tests; no production code change.
- type: build
description: for updating build configuration, development tools or other changes irrelevant to the user.
- type: chore
description: for updates that do not apply to the above, such as dependency updates.
reference: https://github.com/aquasecurity/trivy/blob/main/CONTRIBUTING.md#pull-requests
style_doc: The type and scope should always be lowercase.
scope_doc: The <scope> can be empty (e.g. if the change is a global or difficult to assign to a single component), in which case the parentheses are omitted.
subject_doc: The first letter of <subject> should be lowercase.