chore: Updated validation PR title types (#298)

This commit is contained in:
Anton Babenko 2021-12-12 21:41:23 +01:00 committed by GitHub
commit b8f90bd057
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 22 deletions

17
.github/semantic.yml vendored
View file

@ -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

View file

@ -26,10 +26,7 @@ jobs:
docs
ci
chore
# Configure which scopes are allowed.
scopes: |
core
ui
BREAKING CHANGE
# Configure that a scope must always be provided.
requireScope: false
# 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
# merge commit, and it's easy to commit this by mistake. Enable this option
# to also validate the commit message for one commit PRs.
validateSingleCommit: true
validateSingleCommit: false