diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9057902..f7e82ae 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,6 +29,9 @@ jobs: - name: Verify no uncommitted files run: | - git status --porcelain=v1 - '[ -z "$(git status --porcelain=v1 2>/dev/null)" ]' - shell: bash + if [ -n "$(git status --porcelain=v1 2>/dev/null)" ]; then + echo "There are uncommitted changes!" + git status --porcelain=v1 + exit 1 + fi + shell: bash