chore: fix conventional commit setup

This commit is contained in:
fryorcraken.eth 2022-10-31 11:13:09 +11:00
parent 052925e8e8
commit e902231873
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 11 additions and 6 deletions

View File

@ -1,4 +1,4 @@
name: "Semantic PR" name: "Conventional PR"
on: on:
pull_request_target: pull_request_target:
@ -16,9 +16,14 @@ jobs:
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
# fix: bug fix on prod code
# feat: new feature on prod code
# test: only modify test or test utils
# doc: only modify docs/comments
# chore: anything else
types: | types: |
fix # Bug fix on prod code fix
feat # New feature on prod code feat
test # Only modify test or test utils test
doc # Only modify docs/comments doc
chore # Anything else chore