aboutsummaryrefslogtreecommitdiffstats
path: root/.github/checkdiff.sh
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2026-01-17 16:27:41 -0500
committerGitHub <noreply@github.com>2026-01-17 16:27:41 -0500
commit059ae5d44c49a7b97226bc9d17cb573c637226d8 (patch)
tree9050d4e8ef903cd3387c0f73e7d10b0db51d61fe /.github/checkdiff.sh
parentDo not compile tools with LTO (diff)
downloadpokeyellow-059ae5d44c49a7b97226bc9d17cb573c637226d8.tar.gz
pokeyellow-059ae5d44c49a7b97226bc9d17cb573c637226d8.tar.xz
pokeyellow-059ae5d44c49a7b97226bc9d17cb573c637226d8.zip
Fix CI for Linux and add CI for macOS (#567)
Diffstat (limited to '.github/checkdiff.sh')
-rwxr-xr-x.github/checkdiff.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/checkdiff.sh b/.github/checkdiff.sh
new file mode 100755
index 00000000..430aba4d
--- /dev/null
+++ b/.github/checkdiff.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+set -e
+
+if ! git diff-index --quiet HEAD --; then
+ echo 'Uncommitted changes detected:'
+ git diff-index HEAD --
+ return 1
+fi