From 96cf5d0b4b2124d30ee4228c0a7e5f6ea7bb0751 Mon Sep 17 00:00:00 2001 From: Alex Pyrgiotis Date: Mon, 19 Feb 2024 15:11:47 +0200 Subject: [PATCH] ci: Improve commit message lint Improve the commit message check, by logging only the commit title, and doing away with the extra spaces. --- .github/workflows/check_push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check_push.yml b/.github/workflows/check_push.yml index a0b4edf..dfb01fc 100644 --- a/.github/workflows/check_push.yml +++ b/.github/workflows/check_push.yml @@ -16,4 +16,4 @@ jobs: run: | git fetch origin git status - git log origin/main..HEAD | grep -ie '^ fixup\|^ wip' && exit 1 || true + git log --pretty=format:%s origin/main..HEAD | grep -ie '^fixup\|^wip' && exit 1 || true