forked from siderolabs/conform
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(policy): Make Conventional commit description configurable
The max length for the description in a conventional commit was hardcoded to 72 characters. This change makes it configurable. When no value is provided in the yaml, a default of 72 is used to keep backwards compatibility. Signed-off-by: Wouter Dullaert <wouter.dullaert@gmail.com>
- Loading branch information
1 parent
59f365a
commit d97b22c
Showing
2 changed files
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,6 +53,7 @@ policies: | |
- "type" | ||
scopes: | ||
- "scope" | ||
descriptionLength: 72 | ||
- type: license | ||
spec: | ||
skipPaths: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters