CI: Skip later CI on reformat

Small chance a bug gets through, but this will avoid multiple runs on the
common case of reformatting users' pull requests, and related run
cancellation problems.
This commit is contained in:
Wilson Snyder 2026-06-07 16:02:29 -04:00
parent 5cb8d8291a
commit 4e49941b39
1 changed files with 2 additions and 2 deletions

View File

@ -38,11 +38,11 @@ jobs:
./configure
make venv
source .venv/bin/activate
make -j 2 format CLANGFORMAT=clang-format-18
make -j 4 format CLANGFORMAT=clang-format-18
git status
- name: Push
run: |-
if [ -n "$(git status --porcelain)" ]; then
git commit . -m "Apply 'make format'" &&
git commit . -m "Apply 'make format' [ci skip]" &&
git push origin
fi