Read-only mirror — the public repositories of the Forgejo instance, refreshed every 10 minutes. The live instance (fg.dieschoenewolke.de) is reachable only over the VPN; clone here with https://git.dieschoenewolke.de/git/<owner>/<repo>.git.
summaryrefslogtreecommitdiff
path: root/__test__/verify-clean.sh
diff options
context:
space:
mode:
authoreric sciple <ericsciple@users.noreply.github.com>2019-12-03 10:28:59 -0500
committerGitHub <noreply@github.com>2019-12-03 10:28:59 -0500
commite404ba5989baa550f631fb1262539d1375a856b7 (patch)
tree4cc911589e7c9a4c976bc99eb4dcb886d2b2d8a8 /__test__/verify-clean.sh
parent6a11491f2eea6739d1296d604c5402cffa43a1f1 (diff)
Convert checkout to a regular action (#70)
Diffstat (limited to '__test__/verify-clean.sh')
-rwxr-xr-x__test__/verify-clean.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/__test__/verify-clean.sh b/__test__/verify-clean.sh
new file mode 100755
index 0000000..86bf9d6
--- /dev/null
+++ b/__test__/verify-clean.sh
@@ -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