diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 4f05634b..0dda1700 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -14,7 +14,7 @@ jobs: run: | find LEGO1 ISLE -iname '*.h' -o -iname '*.cpp' | xargs \ pipx run "clang-format>=17,<18" \ - ${{ github.event_name == 'push' && '--Werror --dry-run' }} \ + ${{ github.event_name == 'push' && '--Werror --dry-run' || '' }} \ --style=file \ -i - uses: stefanzweifel/git-auto-commit-action@latest