chore: Validate PR title (#297)

This commit is contained in:
Anton Babenko 2021-12-12 21:08:14 +01:00 committed by GitHub
commit 8c063c7824
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 74 additions and 1 deletions

17
.github/semantic.yml vendored Normal file
View file

@ -0,0 +1,17 @@
# 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