2022-10-31 00:13:09 +00:00
|
|
|
name: "Conventional PR"
|
2022-10-30 06:35:00 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request_target:
|
|
|
|
types:
|
|
|
|
- opened
|
|
|
|
- edited
|
|
|
|
- synchronize
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
main:
|
|
|
|
name: Validate Pull Request Title
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: amannn/action-semantic-pull-request@v5
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
with:
|
2022-10-31 00:13:09 +00:00
|
|
|
# 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
|
2022-10-30 06:35:00 +00:00
|
|
|
types: |
|
2022-10-31 00:13:09 +00:00
|
|
|
fix
|
|
|
|
feat
|
|
|
|
test
|
|
|
|
doc
|
|
|
|
chore
|