From c0ccce9a2b8597c472e6b6e2a20a4515e4e4ad7c Mon Sep 17 00:00:00 2001 From: Rob Parolin Date: Mon, 30 Nov 2026 07:19:02 -0700 Subject: [PATCH] ci: trust the checkout before the CCCL submodule step The nightly pixi source-test GPU job runs as root in a container, so raw git commands fail with "detected dubious ownership" until safe.directory is set. The submodule checkout added in #3392 ran before that step, so the job has failed at checkout since 2026-11-07 (#3102). Move the safe.directory step ahead of the submodule checkout, matching the ordering coverage.yml already uses. Co-Authored-By: Claude Fable 5.2 --- .github/workflows/ci-pixi-source-test.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-pixi-source-test.yml b/.github/workflows/ci-pixi-source-test.yml index e512f7c8ebd4..ba869dd0d0ec 100644 --- a/.github/workflows/ci-pixi-source-test.yml +++ b/.github/workflows/ci-pixi-source-test.yml @@ -313,15 +313,17 @@ jobs: # Fetch CCCL separately: checkout's filter does not apply to submodules. submodules: false + - name: Trust the checkout for container source builds + # checkout's temporary Git configuration does not reach later steps, + # so this must precede every later git command, including the + # submodule checkout. + run: git config --global --add safe.directory "$GITHUB_WORKSPACE" + - name: Checkout CCCL submodule run: | git submodule sync --recursive git submodule update --init --force --depth=1 --filter=blob:none --recursive - - name: Trust the checkout for container source builds - # checkout's temporary Git configuration does not reach later steps. - run: git config --global --add safe.directory "$GITHUB_WORKSPACE" - - name: Prepare selected CUDA environment env: CUDA_ENV: ${{ matrix.bindings-package.cuda_variant }}