diff --git a/.github/workflows/commit-check-workflow.yml b/.github/workflows/commit-check-workflow.yml index 46a1f2fc..f40d9637 100644 --- a/.github/workflows/commit-check-workflow.yml +++ b/.github/workflows/commit-check-workflow.yml @@ -48,3 +48,15 @@ jobs: - name: Check PR commit messages don't start with '!reword' run: "[ $(git log --grep '^!reword' | wc -c) -eq 0 ]" + + - name: Check PR commit messages don't start with 'fixup!' + run: "[ $(git log --grep '^fixup!' | wc -c) -eq 0 ]" + + - name: Check PR commit messages don't start with 'squash!' + run: "[ $(git log --grep '^squash!' | wc -c) -eq 0 ]" + + - name: Check PR commit messages don't start with 'amend!' + run: "[ $(git log --grep '^amend!' | wc -c) -eq 0 ]" + + - name: Check PR commit messages don't start with 'reword!' + run: "[ $(git log --grep '^reword!' | wc -c) -eq 0 ]"