1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-06-07 16:17:50 +00:00

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

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