Skip to content

Commit a185d53

Browse files
committed
workflows: add git safe.directory to lint
1 parent 85c0457 commit a185d53

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/lint.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,6 @@ jobs:
2222
run: tools/build.py -cl
2323

2424
- name: Run clang-tidy
25-
run: git diff -U0 origin/master | clang-tidy-diff.py -p1 -path .
25+
run: |
26+
git config --global --add safe.directory $PWD
27+
git diff -U0 origin/master | clang-tidy-diff.py -p1 -path .

0 commit comments

Comments
 (0)