aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorĐoàn Trần Công Danh <congdanhqx@gmail.com>2021-05-17 15:10:52 +0000
committerĐoàn Trần Công Danh <sgn.danh@gmail.com>2021-05-21 08:56:44 +0000
commit1f07584a663ed110710c80d3c88b23a93bf981a5 (patch)
tree54fe2d58afe327e5addd5ecc86272b295da1b779 /.github/workflows
parentf507c73f32534bc0115c85d82fcbb60650ca7ef0 (diff)
downloadvoid-packages-1f07584a663ed110710c80d3c88b23a93bf981a5.tar
void-packages-1f07584a663ed110710c80d3c88b23a93bf981a5.tar.gz
void-packages-1f07584a663ed110710c80d3c88b23a93bf981a5.tar.bz2
void-packages-1f07584a663ed110710c80d3c88b23a93bf981a5.tar.lz
void-packages-1f07584a663ed110710c80d3c88b23a93bf981a5.tar.xz
void-packages-1f07584a663ed110710c80d3c88b23a93bf981a5.tar.zst
void-packages-1f07584a663ed110710c80d3c88b23a93bf981a5.zip
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
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 1ea1da2e488..eb96a151c59 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -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: