diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-09-19 01:37:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-19 00:37:13 +0000 |
commit | fd23e8ec4f815f273a348d528edbc3bf65a21b5f (patch) | |
tree | 4ee1b9f3639a7ffd2b40305b5c05766bf32c9c3a /.github | |
parent | c3bc692842d0198a4878f823c1026c1f905cb7e5 (diff) |
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.
Diffstat (limited to '.github')
-rwxr-xr-x | .github/workflows/ci.generate.ts | 2 | ||||
-rw-r--r-- | .github/workflows/ci.yml | 4 |
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 |