Skip to content

Commit

Permalink
ignore dirty submodules
Browse files Browse the repository at this point in the history
Signed-off-by: Martijn Govers <[email protected]>
  • Loading branch information
mgovers committed Aug 20, 2024
1 parent 01c3d17 commit d0ef701
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/check-code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d0ef701

Please sign in to comment.