diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml index 989e2ae2..2a4de4ff 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/black.yml @@ -27,7 +27,7 @@ jobs: - name: Fail if changes were made run: | - if git diff --quiet; then + if git diff --quiet; == 1 then run: | echo "Black formatting applied changes. Please format with black." exit 1