diff --git a/.github/workflows/check-code-quality.yml b/.github/workflows/check-code-quality.yml index aa960c5..4cd039c 100644 --- a/.github/workflows/check-code-quality.yml +++ b/.github/workflows/check-code-quality.yml @@ -72,10 +72,9 @@ jobs: - name: If needed raise error run: | - if [[ `git status --porcelain --untracked-files=no` ]]; then + if [[ `git status --porcelain --untracked-files=no --ignore-submodules=dirty` ]]; then echo "Formatting not correct! See below the files which need to be reformatted!" - git status --porcelain --untracked-files=no - git diff + git status --porcelain --untracked-files=no --ignore-submodules=dirty exit 1 fi