Skip to content

Commit

Permalink
exit if git tree isn't clean
Browse files Browse the repository at this point in the history
  • Loading branch information
MrCyjaneK committed Jul 26, 2024
1 parent d133a8d commit b61a230
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/dart_bindings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ jobs:
run:
cd impls/monero.dart
./update_bindings.sh
- name: check if git tree is clean
run:
if [ -z "$(git status --porcelain)" ]; then
exit 0
else
exit 1
fi
- name: Create or update comment
if: failure()
uses: peter-evans/create-or-update-comment@v4
Expand Down

0 comments on commit b61a230

Please sign in to comment.