Переглянути джерело

chore: Add semantic checker config

Check should fail for commits that don't follow convention semantics

[skip ci]
version-14
gavin 5 роки тому
committed by Gavin D'souza
джерело
коміт
c9ce7a6afe
1 змінених файлів з 13 додано та 0 видалено
  1. +13
    -0
      .github/semantic.yml

+ 13
- 0
.github/semantic.yml Переглянути файл

@@ -0,0 +1,13 @@
# Always validate the PR title AND all the commits
titleAndCommits: true

# Allow use of Merge commits (eg on github: "Merge branch 'master' into feature/ride-unicorns")
# this is only relevant when using commitsOnly: true (or titleAndCommits: true)
allowMergeCommits: true

# Allow use of Revert commits (eg on github: "Revert "feat: ride unicorns"")
# this is only relevant when using commitsOnly: true (or titleAndCommits: true)
allowRevertCommits: true

# For allowed PR types: https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json
# Tool Reference: https://github.com/zeke/semantic-pull-requests

Завантаження…
Відмінити
Зберегти