File tree Expand file tree Collapse file tree
cuda_pathfinder/docs/source Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4747 - name : Checkout ${{ github.event.repository.name }}
4848 uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
4949 with :
50- fetch-depth : 0
50+ fetch-depth : 1
5151 ref : ${{ inputs.git-tag }}
5252
5353 - name : Read build CTK version
Original file line number Diff line number Diff line change 4242 - name : Checkout ${{ github.event.repository.name }}
4343 uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
4444 with :
45+ # Treeless clone: setuptools-scm needs the commit graph (`git describe`)
46+ # but not historical blobs.
4547 fetch-depth : 0
48+ filter : blob:none
4649
4750 - name : Install latest rapidsai/sccache
4851 if : ${{ startsWith(inputs.host-platform, 'linux') }}
Original file line number Diff line number Diff line change 3535 - name : Checkout repository
3636 uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
3737 with :
38- fetch-depth : 0
38+ fetch-depth : 1
3939 - name : Get CUDA build versions
4040 id : get-vars
4141 run : |
@@ -106,7 +106,10 @@ jobs:
106106 - name : Checkout repository
107107 uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
108108 with :
109+ # Treeless clone: commit graph is needed for `git merge-base` and
110+ # `git diff --name-only` below, but historical blobs aren't.
109111 fetch-depth : 0
112+ filter : blob:none
110113
111114 # copy-pr-bot pushes every PR (whether it targets main or a backport
112115 # branch such as 12.9.x) to pull-request/<N>, so the base branch
Original file line number Diff line number Diff line change 3030 - name : Checkout repository
3131 uses : actions/checkout@v6.0.3
3232 with :
33- # Fetch all history and branches for worktree operations
33+ # Treeless clone: `git worktree add gh-pages` needs the commit graph,
34+ # but historical blobs aren't required.
3435 fetch-depth : 0
36+ filter : blob:none
3537
3638 - name : Configure git identity
3739 run : |
Original file line number Diff line number Diff line change 6666 - name : Checkout ${{ github.event.repository.name }}
6767 uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
6868 with :
69+ # Treeless clone: setuptools-scm needs the commit graph (`git describe`)
70+ # but not historical blobs.
6971 fetch-depth : 0
72+ filter : blob:none
7073
7174 - name : Fix workspace ownership
7275 run : |
@@ -198,7 +201,10 @@ jobs:
198201 - name : Checkout ${{ github.event.repository.name }}
199202 uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
200203 with :
204+ # Treeless clone: setuptools-scm needs the commit graph (`git describe`)
205+ # but not historical blobs.
201206 fetch-depth : 0
207+ filter : blob:none
202208
203209 - name : Set up Python
204210 uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
@@ -269,7 +275,7 @@ jobs:
269275 - name : Checkout ${{ github.event.repository.name }}
270276 uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
271277 with :
272- fetch-depth : 0
278+ fetch-depth : 1
273279
274280 - name : Setup proxy cache
275281 uses : nv-gha-runners/setup-proxy-cache@main
Original file line number Diff line number Diff line change 6161
6262 - uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
6363 with :
64- fetch-depth : 0
64+ # lookup-run-id resolves the git tag to a SHA; we need tags but not history.
65+ fetch-depth : 1
66+ fetch-tags : true
6567 # Resolve only the exact tag ref; checkout fails if the tag does not exist.
6668 ref : refs/tags/${{ steps.vars.outputs.tag }}
6769
@@ -161,7 +163,7 @@ jobs:
161163 steps :
162164 - uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
163165 with :
164- fetch-depth : 0
166+ fetch-depth : 1
165167 ref : ${{ needs.prepare.outputs.tag }}
166168
167169 - name : Create source archive
Original file line number Diff line number Diff line change 4343 - name : Checkout Source
4444 uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
4545 with :
46- fetch-depth : 0
46+ fetch-depth : 1
4747 ref : ${{ inputs.git-tag }}
4848
4949 - name : Create Release Directory
Original file line number Diff line number Diff line change 4343 - name : Checkout Source
4444 uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
4545 with :
46- # fetch-depth: 0 is required so the lookup-run-id script can access all git tags
47- fetch-depth : 0
46+ # lookup-run-id resolves the git tag to a SHA; we need tags but not history.
47+ fetch-depth : 1
48+ fetch-tags : true
4849
4950 - name : Determine Run ID
5051 id : lookup-run-id
6263 - name : Checkout Source
6364 uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
6465 with :
65- fetch-depth : 0
66+ fetch-depth : 1
6667
6768 - name : Check or create draft release for the tag
6869 env :
Original file line number Diff line number Diff line change 2828 - name : Checkout ${{ github.event.repository.name }}
2929 uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
3030 with :
31+ # Treeless clone: setuptools-scm (invoked via `python -m build`) needs
32+ # the commit graph (`git describe`) but not historical blobs.
3133 fetch-depth : 0
34+ filter : blob:none
3235
3336 - name : Set up Python
3437 uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
Original file line number Diff line number Diff line change 3434 - name : Checkout ${{ github.event.repository.name }}
3535 uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
3636 with :
37+ # Treeless clone: setuptools-scm (invoked via `python -m build`) needs
38+ # the commit graph (`git describe`) but not historical blobs.
3739 fetch-depth : 0
40+ filter : blob:none
3841
3942 - name : Set up Python
4043 uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
You can’t perform that action at this time.
0 commit comments