Skip to content

Commit

Permalink
Debug git status
Browse files Browse the repository at this point in the history
  • Loading branch information
fcollonval committed Feb 14, 2021
1 parent 1106626 commit 6698460
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,12 @@ jobs:
- name: Check compliance with template
run: |
python scripts/upgrade_extensions.py
- run: if [[ $(git status --porcelain=v1 2>/dev/null | wc -l) > 0 ]]; then exit 1; fi
- run: |
git status --porcelain=v1 1> git_status.log
cat git_status.log
IS_DIRTY=$(wc -l git_status.log)
echo $IS_DIRTY
if [[ ${IS_DIRTY} > 0 ]]; then exit 1; fi
shell: bash
- name: Bootstrap the jlpm deps
run: jlpm
Expand Down

0 comments on commit 6698460

Please sign in to comment.