From b602c11c4a8489f80cd742ccfaf9a2fe0c8d5119 Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Sat, 3 Feb 2024 00:06:25 +0100 Subject: [PATCH] Show diffs generated by clang-format --- .github/workflows/format.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 0dda1700..4cfb5d9e 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -14,13 +14,9 @@ jobs: run: | find LEGO1 ISLE -iname '*.h' -o -iname '*.cpp' | xargs \ pipx run "clang-format>=17,<18" \ - ${{ github.event_name == 'push' && '--Werror --dry-run' || '' }} \ --style=file \ -i - - uses: stefanzweifel/git-auto-commit-action@latest - if: ${{ github.event_name == 'pull_request' }} - with: - commit_message: clang-format fixes + git diff --exit-code python-format: name: 'Python'