ci(gh-actions): add `commitlint` for PR
This commit is contained in:
parent
004ab6c56a
commit
dd264e793c
|
@ -0,0 +1,11 @@
|
|||
name: Lint Commit Messages
|
||||
on: pull_request
|
||||
|
||||
jobs:
|
||||
commitlint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: wagoid/commitlint-github-action@v4
|
Loading…
Reference in New Issue