Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Checkout ${{ github.event.repository.name }}
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
fetch-depth: 0
fetch-depth: 1
ref: ${{ inputs.git-tag }}

- name: Read build CTK version
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build-wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ jobs:
- name: Checkout ${{ github.event.repository.name }}
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
# Treeless clone: setuptools-scm needs the commit graph (`git describe`)
# but not historical blobs.
fetch-depth: 0
filter: blob:none

- name: Install latest rapidsai/sccache
if: ${{ startsWith(inputs.host-platform, 'linux') }}
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
fetch-depth: 0
fetch-depth: 1
- name: Get CUDA build versions
id: get-vars
run: |
Expand Down Expand Up @@ -106,7 +106,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
# Treeless clone: commit graph is needed for `git merge-base` and
# `git diff --name-only` below, but historical blobs aren't.
fetch-depth: 0
filter: blob:none

# copy-pr-bot pushes every PR (whether it targets main or a backport
# branch such as 12.9.x) to pull-request/<N>, so the base branch
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/cleanup-pr-previews.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v6.0.3
with:
# Fetch all history and branches for worktree operations
# Treeless clone: `git worktree add gh-pages` needs the commit graph,
# but historical blobs aren't required.
fetch-depth: 0
filter: blob:none

- name: Configure git identity
run: |
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ jobs:
- name: Checkout ${{ github.event.repository.name }}
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
# Treeless clone: setuptools-scm needs the commit graph (`git describe`)
# but not historical blobs.
fetch-depth: 0
filter: blob:none

- name: Fix workspace ownership
run: |
Expand Down Expand Up @@ -198,7 +201,10 @@ jobs:
- name: Checkout ${{ github.event.repository.name }}
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
# Treeless clone: setuptools-scm needs the commit graph (`git describe`)
# but not historical blobs.
fetch-depth: 0
filter: blob:none

- name: Set up Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
Expand Down Expand Up @@ -269,7 +275,7 @@ jobs:
- name: Checkout ${{ github.event.repository.name }}
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
fetch-depth: 0
fetch-depth: 1

- name: Setup proxy cache
uses: nv-gha-runners/setup-proxy-cache@main
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/release-cuda-pathfinder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ jobs:

- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
fetch-depth: 0
# lookup-run-id resolves the git tag to a SHA; we need tags but not history.
fetch-depth: 1
fetch-tags: true
# Resolve only the exact tag ref; checkout fails if the tag does not exist.
ref: refs/tags/${{ steps.vars.outputs.tag }}

Expand Down Expand Up @@ -161,7 +163,7 @@ jobs:
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
fetch-depth: 0
fetch-depth: 1
ref: ${{ needs.prepare.outputs.tag }}

- name: Create source archive
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Checkout Source
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
fetch-depth: 0
fetch-depth: 1
ref: ${{ inputs.git-tag }}

- name: Create Release Directory
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ jobs:
- name: Checkout Source
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
# fetch-depth: 0 is required so the lookup-run-id script can access all git tags
fetch-depth: 0
# lookup-run-id resolves the git tag to a SHA; we need tags but not history.
fetch-depth: 1
fetch-tags: true

- name: Determine Run ID
id: lookup-run-id
Expand All @@ -62,7 +63,7 @@ jobs:
- name: Checkout Source
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
fetch-depth: 0
fetch-depth: 1

- name: Check or create draft release for the tag
env:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test-sdist-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ jobs:
- name: Checkout ${{ github.event.repository.name }}
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
# Treeless clone: setuptools-scm (invoked via `python -m build`) needs
# the commit graph (`git describe`) but not historical blobs.
fetch-depth: 0
filter: blob:none

- name: Set up Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test-sdist-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ jobs:
- name: Checkout ${{ github.event.repository.name }}
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
# Treeless clone: setuptools-scm (invoked via `python -m build`) needs
# the commit graph (`git describe`) but not historical blobs.
fetch-depth: 0
filter: blob:none

- name: Set up Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
Expand Down
Loading