diff --git a/.github/workflows/check-commit.yaml b/.github/workflows/check-commit.yaml index 5e891774..2540f91b 100644 --- a/.github/workflows/check-commit.yaml +++ b/.github/workflows/check-commit.yaml @@ -12,4 +12,6 @@ jobs: ref: ${{ github.ref }} fetch-depth: 0 - name: Check for fixup! commits - run: git log main..HEAD | grep -ie '^ fixup!' && exit 1 || true + run: | + git log main..HEAD + git log origin/main..HEAD | grep -ie '^ fixup!' && exit 1 || true