From 82fb577bc63758ab3d20243db92574f042ae6ae3 Mon Sep 17 00:00:00 2001 From: Jan Romann Date: Fri, 17 May 2024 13:54:50 +0200 Subject: [PATCH] fixup! ci: prevent accidental merge of fixup! commits --- .github/workflows/check-commit.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-commit.yaml b/.github/workflows/check-commit.yaml index 77ef6a03..3d1fc914 100644 --- a/.github/workflows/check-commit.yaml +++ b/.github/workflows/check-commit.yaml @@ -14,5 +14,5 @@ jobs: run: | git fetch origin git status - git log main..HEAD - git --pretty=format:%s log main..HEAD | grep -ie '^fixup!' && exit 1 || true + git log origin/main..HEAD + git --pretty=format:%s log origin/main..HEAD | grep -ie '^fixup!' && exit 1 || true