ci(gh-actions): add `commitlint` for PR

This commit is contained in:
Cotes Chung 2022-03-01 23:23:50 +08:00
parent 004ab6c56a
commit dd264e793c
No known key found for this signature in database
GPG Key ID: 0D9E54843167A808
1 changed files with 11 additions and 0 deletions

11
.github/workflows/commitlint.yml vendored Normal file
View 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