Skip to content

Commit 243d475

Browse files
dmakarovLucasSte
authored andcommitted
[SOL] Fix Ci error caused by insufficient git history fetched
1 parent d304f36 commit 243d475

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
@@ -97,7 +97,7 @@ jobs:
9797
- name: checkout the source code
9898
uses: actions/checkout@v4
9999
with:
100-
fetch-depth: 2
100+
fetch-depth: 0
101101
- name: configure the PR in which the error message will be posted
102102
run: "echo \"[CI_PR_NUMBER=$num]\""
103103
env:
@@ -204,7 +204,7 @@ jobs:
204204
- name: checkout the source code
205205
uses: actions/checkout@v3
206206
with:
207-
fetch-depth: 2
207+
fetch-depth: 0
208208
- name: configure the PR in which the error message will be posted
209209
run: "echo \"[CI_PR_NUMBER=$num]\""
210210
env:
@@ -585,7 +585,7 @@ jobs:
585585
- name: checkout the source code
586586
uses: actions/checkout@v4
587587
with:
588-
fetch-depth: 2
588+
fetch-depth: 0
589589
- name: configure the PR in which the error message will be posted
590590
run: "echo \"[CI_PR_NUMBER=$num]\""
591591
env:
@@ -715,7 +715,7 @@ jobs:
715715
- name: checkout the source code
716716
uses: actions/checkout@v4
717717
with:
718-
fetch-depth: 2
718+
fetch-depth: 0
719719
- name: configure the PR in which the error message will be posted
720720
run: "echo \"[CI_PR_NUMBER=$num]\""
721721
env:
@@ -832,7 +832,7 @@ jobs:
832832
- name: checkout the source code
833833
uses: actions/checkout@v4
834834
with:
835-
fetch-depth: 2
835+
fetch-depth: 0
836836
- name: publish toolstate
837837
run: src/ci/publish_toolstate.sh
838838
shell: bash

src/ci/github-actions/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ x--expand-yaml-anchors--remove:
142142
- name: checkout the source code
143143
uses: actions/checkout@v4
144144
with:
145-
fetch-depth: 2
145+
fetch-depth: 0
146146

147147
# Rust Log Analyzer can't currently detect the PR number of a GitHub
148148
# Actions build on its own, so a hint in the log message is needed to
@@ -792,7 +792,7 @@ jobs:
792792
- name: checkout the source code
793793
uses: actions/checkout@v4
794794
with:
795-
fetch-depth: 2
795+
fetch-depth: 0
796796

797797
- name: publish toolstate
798798
run: src/ci/publish_toolstate.sh

0 commit comments

Comments
 (0)