mirror of
https://github.com/tofuutils/pre-commit-opentofu.git
synced 2025-10-15 17:38:54 +02:00
chore: Updated validation PR title types (#298)
This commit is contained in:
parent
8c063c7824
commit
b8f90bd057
2 changed files with 2 additions and 22 deletions
17
.github/semantic.yml
vendored
17
.github/semantic.yml
vendored
|
|
@ -1,17 +0,0 @@
|
||||||
# Disable validation, and skip status check creation
|
|
||||||
enabled: true
|
|
||||||
# Always validate the PR title, and ignore the commits
|
|
||||||
titleOnly: true
|
|
||||||
# Always validate all commits, and ignore the PR title
|
|
||||||
commitsOnly: false
|
|
||||||
# Always validate the PR title AND all the commits
|
|
||||||
titleAndCommits: false
|
|
||||||
# By default types specified in commitizen/conventional-commit-types is used.
|
|
||||||
# See: https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json
|
|
||||||
# You can override the valid types
|
|
||||||
types:
|
|
||||||
- feat
|
|
||||||
- fix
|
|
||||||
- docs
|
|
||||||
- ci
|
|
||||||
- chore
|
|
||||||
7
.github/workflows/pr-title.yml
vendored
7
.github/workflows/pr-title.yml
vendored
|
|
@ -26,10 +26,7 @@ jobs:
|
||||||
docs
|
docs
|
||||||
ci
|
ci
|
||||||
chore
|
chore
|
||||||
# Configure which scopes are allowed.
|
BREAKING CHANGE
|
||||||
scopes: |
|
|
||||||
core
|
|
||||||
ui
|
|
||||||
# Configure that a scope must always be provided.
|
# Configure that a scope must always be provided.
|
||||||
requireScope: false
|
requireScope: false
|
||||||
# Configure additional validation for the subject based on a regex.
|
# Configure additional validation for the subject based on a regex.
|
||||||
|
|
@ -53,4 +50,4 @@ jobs:
|
||||||
# will suggest using that commit message instead of the PR title for the
|
# will suggest using that commit message instead of the PR title for the
|
||||||
# merge commit, and it's easy to commit this by mistake. Enable this option
|
# merge commit, and it's easy to commit this by mistake. Enable this option
|
||||||
# to also validate the commit message for one commit PRs.
|
# to also validate the commit message for one commit PRs.
|
||||||
validateSingleCommit: true
|
validateSingleCommit: false
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue