From 97ca65c732c6b6eecb542683e73f7e033cc9620d Mon Sep 17 00:00:00 2001 From: congqixia Date: Thu, 5 Sep 2024 18:09:11 +0800 Subject: [PATCH] enhance: [skip e2e] Add git safe dir for code check env (#36009) Related to #36008 Signed-off-by: Congqi Xia --- .github/workflows/code-checker.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/code-checker.yaml b/.github/workflows/code-checker.yaml index 3e8fa1001f5dc..2a622366d6eaa 100644 --- a/.github/workflows/code-checker.yaml +++ b/.github/workflows/code-checker.yaml @@ -60,7 +60,7 @@ jobs: env: OS_NAME: 'ubuntu22.04' run: | - ./build/builder.sh /bin/bash -c "make check-proto-product && make verifiers" + ./build/builder.sh /bin/bash -c "git config --global --add safe.directory /go/src/github.com/milvus-io/milvus && make check-proto-product && make verifiers" - name: Save Caches uses: ./.github/actions/cache-save if: github.event_name != 'pull_request'