diff --git a/.github/workflows/ci-pixi-source-test.yml b/.github/workflows/ci-pixi-source-test.yml index e512f7c8ebd..ba869dd0d0e 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 }}