Skip to content

Commit 7b77064

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

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ 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: |
9191
# This step prevents subsequent steps from running if only documentation was changed

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- uses: actions/checkout@v4
4545
with:
4646
submodules: "recursive"
47-
fetch-depth: "0"
47+
fetch-depth: "1" # Fetch only the latest commit (shallow clone)
4848
- name: Setup
4949
uses: ./.github/actions/common-setup
5050
with:

0 commit comments

Comments
 (0)