From 8c0c29dac9fc0c4f5ba5c65a6eac13e00371d5c1 Mon Sep 17 00:00:00 2001 From: Restioson Date: Mon, 28 Oct 2024 14:17:46 +0200 Subject: [PATCH] fixup! chore(ci): lint for bang commits (fixup, squash, drop, edit) --- .github/workflows/testing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 8add0f2..06d6141 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -135,4 +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: bash -c "! git log --pretty=format:%s origin/main..HEAD | grep 'fixup!|squash!|drop!|edit!'" \ No newline at end of file + run: bash -c "git log --pretty=format:%s origin/main..HEAD | ! grep 'fixup!|squash!|drop!|edit!'"