From a74a081e61e34b8fc38ff9cc3ac15e5cbec0cf8a Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 11 May 2023 06:34:05 +0200 Subject: [PATCH] Check for repository changes --- .github/workflows/ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8e7b11672..e0f59fbda 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -77,6 +77,18 @@ jobs: # Allow failure for coveralls coveralls || true + - name: Check for repository changes + run: | + git status + if [ -n "$(git status --porcelain)" ]; then + echo "Repository is dirty, changes detected:" + git status + git diff + exit 1 + else + echo "Repository is clean, no changes detected." + fi + - name: Backtesting (multi) run: | cp config_examples/config_bittrex.example.json config.json