git.iko.soy/typeable/pandoc
on master help sign in
CI: another attempt to fix line-length check.
commitfe000134a86d6ee287e6c01f8ab70d9f99a7c9ed authorJohn MacFarlane <jgm@berkeley.edu> dateMon 25 May 2020, 09:50 (6 years ago) parentfdf3481
1 file changed+1−2
.github/workflows/ci.yml+1−2
.github/workflows/ci.yml+1−2
@@ -61,8 +61,7 @@ jobs:
6161 - name: Check commit message
6262 run: |
6363 # Get last commit message
64− git log -1 --pretty=format:"%s" --no-merges | grep -c "^[^#].{78}"
65− if [ $? -eq 0 ]; then
64+ if git log -1 --pretty=format:"%s" --no-merges | grep -E -c "^[^#].{78}"; then
6665 echo "Last commit log contains a line with more than 78 characters."
6766 exit 1
6867 else