diff --git a/.github/workflows/sglang_downstream.yaml b/.github/workflows/sglang_downstream.yaml index 1a64b36ee3f..b230868808f 100644 --- a/.github/workflows/sglang_downstream.yaml +++ b/.github/workflows/sglang_downstream.yaml @@ -125,6 +125,10 @@ jobs: -w /sglang-checkout \ --name sglang_aiter_test \ sglang_aiter_test:ci + + # The checkout is owned by the runner (non-root) but the container runs as + # root. Git >= 2.35.2 rejects cross-user repos, so mark the mount as safe. + docker exec -u root sglang_aiter_test git config --global --add safe.directory /sglang-checkout env: GITHUB_WORKSPACE: ${{ github.workspace }}