diff --git a/.github/workflows/reusable-integrity.yml b/.github/workflows/reusable-integrity.yml index c9d9ab3..8a2a07a 100644 --- a/.github/workflows/reusable-integrity.yml +++ b/.github/workflows/reusable-integrity.yml @@ -88,9 +88,9 @@ jobs: - name: "Look for multiple space characters in the middle of the line 🐌" run: | - # Exclude docblocks + # Exclude comment lines and docblocks ! git grep --perl-regexp --line-number -I \ - -e '(?!^#)\S\s\s' --and --not -e ' \* @' \ + -e '\S\s\s' --and --not -e '^(#|//)' --and --not -e ' \* @' \ -- ':!:*.lock' ':!:*.md' ':!:.github/**.yml' - # Move TODO-s into GitHub issues!