Skip to content

Commit 209556d

Browse files
committed
[CI] Fix commit range validated by this job
Signed-off-by: Alexey Bader <[email protected]>
1 parent b44e73b commit 209556d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/clang-format.yml

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

2323
- name: Run clang-format for the patch
2424
run: |
25-
git diff -U0 --no-color origin/${{github.base_ref}}...HEAD | ./clang/tools/clang-format/clang-format-diff.py -p1 -binary clang-format-9 > ./clang-format.patch
25+
git diff -U0 --no-color origin/${{github.base_ref}}..HEAD | ./clang/tools/clang-format/clang-format-diff.py -p1 -binary clang-format-9 > ./clang-format.patch
2626
2727
# Add patch with formatting fixes to CI job artifacts
2828
- uses: actions/upload-artifact@v1

0 commit comments

Comments
 (0)