Skip to content

Commit 2805006

Browse files
committed
Do not perform deep checkout of submodules
Fixes #5465
1 parent 9580e31 commit 2805006

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,10 @@ jobs:
8585
- uses: actions/checkout@v4
8686
with:
8787
submodules: "recursive"
88-
fetch-depth: "0"
88+
fetch-depth: "1" # Fetch only the latest commit (shallow clone)
8989
- id: filter
9090
run: |
91+
git log
9192
# This step prevents subsequent steps from running if only documentation was changed
9293
if [[ "${{ github.event_name }}" == "pull_request" ]]; then
9394
git fetch origin ${{ github.base_ref }}

0 commit comments

Comments
 (0)