From afdc0140186ac90563086c32adf358025cb86ffb Mon Sep 17 00:00:00 2001 From: Frederic Collonval Date: Sun, 14 Feb 2021 10:49:12 +0100 Subject: [PATCH] Debug git status --- .github/workflows/main.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 365d371b..46e3283f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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