ci(gh-actions): add commitlint
for PR
This commit is contained in:
parent
004ab6c56a
commit
dd264e793c
1 changed files with 11 additions and 0 deletions
11
.github/workflows/commitlint.yml
vendored
Normal file
11
.github/workflows/commitlint.yml
vendored
Normal file
|
@ -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 a new issue