Skip to content

Commit 1d1ee46

Browse files
authored
chore(ci): fix error in clang-tidy-differential with diffs in multiple files (#7685)
* chore(ci): output modified file list without newlines Signed-off-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com> * chore(ci): test diffs Signed-off-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com> * chore(ci): test diffs Signed-off-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com> * chore(ci): revert test diff Signed-off-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com> * chore(ci): revert test diff Signed-off-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com> --------- Signed-off-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com>
1 parent d20d901 commit 1d1ee46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/clang-tidy-differential.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Get modified files
3939
id: get-modified-files
4040
run: |
41-
echo "changed_files=$(git diff --name-only "origin/${{ github.base_ref }}"...HEAD | grep -E '\.(cpp|hpp)$' || true)" >> $GITHUB_OUTPUT
41+
echo "changed_files=$(git diff --name-only "origin/${{ github.base_ref }}"...HEAD | grep -E '\.(cpp|hpp)$' | tr '\n' ' ' || true)" >> $GITHUB_OUTPUT
4242
shell: bash
4343

4444
- name: Run clang-tidy

0 commit comments

Comments
 (0)