Skip to content

Commit 1aeedd0

Browse files
dmakarovLucasSte
authored andcommitted
[SOL] Fix Ci error caused by insufficient git history fetched
1 parent 68b7028 commit 1aeedd0

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
- name: checkout the source code
7777
uses: actions/checkout@v4
7878
with:
79-
fetch-depth: 2
79+
fetch-depth: 0
8080
- name: configure the PR in which the error message will be posted
8181
run: "echo \"[CI_PR_NUMBER=$num]\""
8282
env:
@@ -208,7 +208,7 @@ jobs:
208208
- name: checkout the source code
209209
uses: actions/checkout@v3
210210
with:
211-
fetch-depth: 2
211+
fetch-depth: 0
212212
- name: configure the PR in which the error message will be posted
213213
run: "echo \"[CI_PR_NUMBER=$num]\""
214214
env:
@@ -589,7 +589,7 @@ jobs:
589589
- name: checkout the source code
590590
uses: actions/checkout@v4
591591
with:
592-
fetch-depth: 2
592+
fetch-depth: 0
593593
- name: configure the PR in which the error message will be posted
594594
run: "echo \"[CI_PR_NUMBER=$num]\""
595595
env:
@@ -719,7 +719,7 @@ jobs:
719719
- name: checkout the source code
720720
uses: actions/checkout@v4
721721
with:
722-
fetch-depth: 2
722+
fetch-depth: 0
723723
- name: configure the PR in which the error message will be posted
724724
run: "echo \"[CI_PR_NUMBER=$num]\""
725725
env:
@@ -836,7 +836,7 @@ jobs:
836836
- name: checkout the source code
837837
uses: actions/checkout@v4
838838
with:
839-
fetch-depth: 2
839+
fetch-depth: 0
840840
- name: publish toolstate
841841
run: src/ci/publish_toolstate.sh
842842
shell: bash

src/ci/github-actions/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ x--expand-yaml-anchors--remove:
123123
- name: checkout the source code
124124
uses: actions/checkout@v4
125125
with:
126-
fetch-depth: 2
126+
fetch-depth: 0
127127

128128
# Rust Log Analyzer can't currently detect the PR number of a GitHub
129129
# Actions build on its own, so a hint in the log message is needed to
@@ -773,7 +773,7 @@ jobs:
773773
- name: checkout the source code
774774
uses: actions/checkout@v4
775775
with:
776-
fetch-depth: 2
776+
fetch-depth: 0
777777

778778
- name: publish toolstate
779779
run: src/ci/publish_toolstate.sh

0 commit comments

Comments
 (0)