enhance: [skip e2e] Add git safe dir for code check env (#36009)

Related to #36008

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
congqixia 2024-09-05 18:09:11 +08:00 committed by GitHub
parent 560e8e70b0
commit 97ca65c732
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -60,7 +60,7 @@ jobs:
env: env:
OS_NAME: 'ubuntu22.04' OS_NAME: 'ubuntu22.04'
run: | 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 - name: Save Caches
uses: ./.github/actions/cache-save uses: ./.github/actions/cache-save
if: github.event_name != 'pull_request' if: github.event_name != 'pull_request'