Feat(ci): add commit lint ci (#2160)

This commit is contained in:
Tianxin Dong
2021-08-25 17:00:50 +08:00
committed by GitHub
parent 60cd8ef7de
commit 2145afe4e1
2 changed files with 45 additions and 0 deletions

13
.github/workflows/commit-lint.yml vendored Normal file
View File

@@ -0,0 +1,13 @@
name: Lint Commit Messages
on: [push, pull_request]
jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v4
with:
helpURL: https://github.com/oam-dev/kubevela/blob/master/CONTRIBUTING.md#commit-conventions