Skip to content

Commit eef32f9

Browse files
committed
CI: run git-clang-format until there are no more changes
That might format more code at once, but should avoid a CI loop.
1 parent df490b9 commit eef32f9

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/clang-format.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@ jobs:
2222

2323
- name: Run clang-format
2424
id: format
25-
run: 'git clang-format origin/${{ github.base_ref }} || :'
25+
run:
26+
while ! git clang-format origin/${{ github.base_ref }}
27+
do
28+
true
29+
done
2630

2731
- name: Commit to the PR branch
2832
uses: stefanzweifel/git-auto-commit-action@v5

0 commit comments

Comments
 (0)