summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.github/workflows/ci.generate.ts2
-rw-r--r--.github/workflows/ci.yml4
2 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/ci.generate.ts b/.github/workflows/ci.generate.ts
index 33008ce92..7e5d85897 100755
--- a/.github/workflows/ci.generate.ts
+++ b/.github/workflows/ci.generate.ts
@@ -158,7 +158,7 @@ const cloneRepoStep = [{
// Use depth > 1, because sometimes we need to rebuild main and if
// other commits have landed it will become impossible to rebuild if
// the checkout is too shallow.
- "fetch-depth": 5,
+ "fetch-depth": 50,
submodules: false,
},
}];
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a8ff11c34..eecc5b5fd 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -33,7 +33,7 @@ jobs:
- name: Clone repository
uses: actions/checkout@v4
with:
- fetch-depth: 5
+ fetch-depth: 50
submodules: false
if: github.event.pull_request.draft == true
- id: check
@@ -148,7 +148,7 @@ jobs:
- name: Clone repository
uses: actions/checkout@v4
with:
- fetch-depth: 5
+ fetch-depth: 50
submodules: false
if: '!(matrix.skip)'
- name: Clone submodule ./tests/util/std