ci: push fix commits to pr

This commit is contained in:
Anonymous Maarten 2024-02-02 23:55:08 +01:00
parent 78d0491bed
commit 78baa384d5

View File

@ -14,10 +14,13 @@ jobs:
run: |
find LEGO1 ISLE -iname '*.h' -o -iname '*.cpp' | xargs \
pipx run "clang-format>=17,<18" \
--Werror \
--dry-run \
${{ 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
python-format:
name: 'Python'