[CI] Add git safe repo (#7501)

### What this PR does / why we need it?
Add git safe repo to avoid dubious ownership error

- vLLM version: v0.17.0
- vLLM main:
8b6325758c
---------
Signed-off-by: wangli <wangli858794774@gmail.com>
This commit is contained in:
Li Wang
2026-03-20 16:40:24 +08:00
committed by GitHub
parent a16c99141b
commit 6ad74e8c80
4 changed files with 10 additions and 0 deletions

View File

@@ -56,6 +56,7 @@ jobs:
pip config set global.trusted-host cache-service.nginx-pypi-cache.svc.cluster.local
apt-get update -y
apt install git -y
git config --global --add safe.directory /__w/vllm-ascend/vllm-ascend
- name: Install system dependencies
run: |
@@ -161,6 +162,7 @@ jobs:
pip config set global.trusted-host cache-service.nginx-pypi-cache.svc.cluster.local
apt-get update -y
apt install git -y
git config --global --add safe.directory /__w/vllm-ascend/vllm-ascend
- name: Install system dependencies
run: |
@@ -263,6 +265,7 @@ jobs:
pip config set global.trusted-host cache-service.nginx-pypi-cache.svc.cluster.local
apt-get update -y
apt install git -y
git config --global --add safe.directory /__w/vllm-ascend/vllm-ascend
- name: Install system dependencies
run: |
@@ -365,6 +368,7 @@ jobs:
pip config set global.trusted-host cache-service.nginx-pypi-cache.svc.cluster.local
apt-get update -y
apt install git -y
git config --global --add safe.directory /__w/vllm-ascend/vllm-ascend
- name: Install system dependencies
run: |
@@ -486,6 +490,7 @@ jobs:
pip config set global.trusted-host cache-service.nginx-pypi-cache.svc.cluster.local
apt-get update -y
apt install git -y
git config --global --add safe.directory /__w/vllm-ascend/vllm-ascend
- name: Install system dependencies
run: |
@@ -581,6 +586,7 @@ jobs:
pip config set global.trusted-host cache-service.nginx-pypi-cache.svc.cluster.local
apt-get update -y
apt install git -y
git config --global --add safe.directory /__w/vllm-ascend/vllm-ascend
- name: Checkout vllm-project/vllm-ascend repo
uses: actions/checkout@v6
@@ -655,6 +661,7 @@ jobs:
pip config set global.trusted-host cache-service.nginx-pypi-cache.svc.cluster.local
apt-get update -y
apt install git -y
git config --global --add safe.directory /__w/vllm-ascend/vllm-ascend
- name: Checkout vllm-project/vllm-ascend repo
uses: actions/checkout@v6