diff --git a/.github/workflows/format-check.yml b/.github/workflows/format-check.yml index 55a485b25..acf57f058 100644 --- a/.github/workflows/format-check.yml +++ b/.github/workflows/format-check.yml @@ -56,5 +56,5 @@ jobs: - name: Fail on format changes run: | - git status --porcelain - if [[ `git status --porcelain` ]]; then echo "detected format changes!" & exit 1; fi \ No newline at end of file + git ls-files -m + if [[ `git ls-files -m` ]]; then echo "Detected formatting errors!" & exit 1; fi \ No newline at end of file