From a0938d15d9dc22db94666c9dec99cedb8d01e71b Mon Sep 17 00:00:00 2001 From: Jan Romann Date: Fri, 17 May 2024 14:34:32 +0200 Subject: [PATCH] fixup! ci: prevent accidental merge of fixup! commits --- .github/workflows/check-commit.yaml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/check-commit.yaml b/.github/workflows/check-commit.yaml index 5ae29471..93f8b578 100644 --- a/.github/workflows/check-commit.yaml +++ b/.github/workflows/check-commit.yaml @@ -12,8 +12,4 @@ jobs: ref: ${{ github.ref }} fetch-depth: 0 - name: Check for fixup! commits - run: | - git fetch origin - git status - git log origin/main..HEAD - git log origin/main..HEAD | grep -ie '^ fixup!' && exit 1 || true + run: git log origin/main..HEAD | grep -ie '^ fixup!' && exit 1 || true