From d9d15b0c9e0133cdd2052170233b440285716114 Mon Sep 17 00:00:00 2001 From: Restioson Date: Mon, 28 Oct 2024 14:34:40 +0200 Subject: [PATCH] fixup! chore(ci): lint for bang commits (fixup, squash, drop, edit) --- .github/workflows/testing.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 6d9c714..32a3919 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -135,5 +135,4 @@ jobs: # - We use a -z here, which makes \0 be the line separator, because if feeding multiline text into grep, it will # exit with a status of 0 regardless of whether there is a match ( - name: Disallow bang commits - run: git log --pretty=format:%s origin/main..HEAD | bash -c ' ! grep "fixup\!|squash\!|drop\!|edit\!"' - + run: git log --pretty=format:%s origin/main..HEAD | bash -c '! grep "fixup!|squash!|drop!|edit!"'