diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 7cbad6c..11cf731 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -137,4 +137,4 @@ jobs: - name: Disallow bang commits run: | git log --pretty=format:%s origin/main..HEAD | grep "fixup!|squash!|drop!|edit!" - if [ $? -ne 1 ]; then echo "Found bang commit (or error) - rebase required before merge"; exit 1; fi + if [ $? -eq 0 ]; then echo "Found bang commit (or error) - rebase required before merge"; exit 1; fi