common: add basic commit lint
Warn if: * subject is longer than 50 characters Error if: * any lines are longer than 80 characters except it's footnotes * second line is not blank
This commit is contained in:
committed by
Đoàn Trần Công Danh
parent
f507c73f32
commit
1f07584a66
2
.github/workflows/build.yaml
vendored
2
.github/workflows/build.yaml
vendored
@@ -21,6 +21,8 @@ jobs:
|
||||
- run: common/travis/changed_templates.sh
|
||||
- run: common/travis/fetch-xtools.sh
|
||||
- run: common/travis/xlint.sh
|
||||
# GitHub Action create a merge commit, ignore it
|
||||
- run: common/scripts/lint-commits FETCH_HEAD HEAD^2
|
||||
|
||||
# Build changed packages.
|
||||
build:
|
||||
|
||||
Reference in New Issue
Block a user