mirror of
https://gitea.com/actions/checkout.git
synced 2025-04-06 23:39:40 +00:00
Convert checkout to a regular action (#70)
This commit is contained in:
13
__test__/verify-clean.sh
Executable file
13
__test__/verify-clean.sh
Executable file
@ -0,0 +1,13 @@
|
||||
#!/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
|
Reference in New Issue
Block a user