ci: bump fetch depth to unblock canary uploads (#25716)

Current mac arm canaries are failing to upload because the existing
latest commit hash
is more that 5 commits behind and it's not in the git history.
This commit is contained in:
Bartek Iwańczuk 2024-09-19 01:37:13 +01:00 committed by GitHub
parent c3bc692842
commit fd23e8ec4f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -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,
},
}];

View File

@ -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