Skip to content

Commit 1cb5277

Browse files
committed
CI: stage before we run git-clang-format again
1 parent e743eb0 commit 1cb5277

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/clang-format.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Run clang-format
2424
id: format
2525
run:
26-
while ! git clang-format origin/${{ github.base_ref }} ; do true ; done
26+
while ! git clang-format origin/${{ github.base_ref }} ; do git add . ; done
2727

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

0 commit comments

Comments
 (0)