mirror of https://github.com/waku-org/js-waku.git
chore: add conventional commit check for PRs
By splitting the repo in multiple packages, it is going to be more difficult to manually maintain a changelog. Using conventional commit, we can automatically generate the changelog from PR titles.
This commit is contained in:
parent
2af5b3db44
commit
54ee144c5e
|
@ -0,0 +1,24 @@
|
||||||
|
name: "Semantic PR"
|
||||||
|
|
||||||
|
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:
|
||||||
|
types: |
|
||||||
|
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
|
Loading…
Reference in New Issue