Skip to content

Commit b285149

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

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,11 @@ 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)
89+
shallow-submodules: "true" # Fetch submodules at only the latest commit
8990
- id: filter
9091
run: |
92+
git log
9193
# This step prevents subsequent steps from running if only documentation was changed
9294
if [[ "${{ github.event_name }}" == "pull_request" ]]; then
9395
git fetch origin ${{ github.base_ref }}

0 commit comments

Comments
 (0)