From 36b70b8916369c18d135a6635dec448ee75222e9 Mon Sep 17 00:00:00 2001 From: Vaibhav Thakkar Date: Wed, 3 Jan 2024 19:04:04 +0530 Subject: [PATCH] Fix git workspace access in clang-tidy github action --- .github/workflows/clang-tidy-review.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/clang-tidy-review.yml b/.github/workflows/clang-tidy-review.yml index da7f6a249..4d3273481 100644 --- a/.github/workflows/clang-tidy-review.yml +++ b/.github/workflows/clang-tidy-review.yml @@ -32,6 +32,7 @@ jobs: cmake_command: > pip install cmake lit && cmake --version && + git config --global --add safe.directory /github/workspace && cmake . -B build -DLLVM_DIR="$GITHUB_WORKSPACE/llvm" -DClang_DIR="$GITHUB_WORKSPACE/llvm" -DCMAKE_BUILD_TYPE="Release"