Check for repository changes

This commit is contained in:
Matthias
2023-05-11 06:34:05 +02:00
parent deeca484d8
commit a74a081e61

View File

@@ -77,6 +77,18 @@ jobs:
# Allow failure for coveralls # Allow failure for coveralls
coveralls || true 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) - name: Backtesting (multi)
run: | run: |
cp config_examples/config_bittrex.example.json config.json cp config_examples/config_bittrex.example.json config.json