1
0
mirror of https://github.com/actions/checkout.git synced 2026-03-01 08:31:03 +08:00
checkout/__test__/verify-clean.sh
2025-01-06 19:20:51 +01:00

15 lines
354 B
Bash
Executable File

#!/bin/bash
if [[ "$(git -C ./basic status --porcelain)" != "" ]]; then
echo ----------------------------------------
echo git status
echo ----------------------------------------
git status
echo ----------------------------------------
echo git diff
echo ----------------------------------------
git diff
exit 1
fi