mirror of
https://github.com/ivuorinen/gh-action-readme.git
synced 2026-02-07 02:46:37 +00:00
ci: update cosign to v2.4.0 and add semantic commit validation (#69)
This commit is contained in:
29
.commitlintrc.json
Normal file
29
.commitlintrc.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"extends": ["@commitlint/config-conventional"],
|
||||
"rules": {
|
||||
"type-enum": [
|
||||
2,
|
||||
"always",
|
||||
[
|
||||
"feat",
|
||||
"fix",
|
||||
"docs",
|
||||
"style",
|
||||
"refactor",
|
||||
"perf",
|
||||
"test",
|
||||
"chore",
|
||||
"ci",
|
||||
"build",
|
||||
"revert"
|
||||
]
|
||||
],
|
||||
"type-case": [2, "always", "lower-case"],
|
||||
"type-empty": [2, "never"],
|
||||
"subject-empty": [2, "never"],
|
||||
"subject-full-stop": [2, "never", "."],
|
||||
"header-max-length": [2, "always", 72],
|
||||
"body-leading-blank": [1, "always"],
|
||||
"footer-leading-blank": [1, "always"]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user