make the uncommitted files message easier to understand

This commit is contained in:
E. Lynette Rayle
2025-05-28 22:30:43 +00:00
parent 343ae9cc50
commit 8826bd4af6
+6 -3
View File
@@ -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