Skip to content

Commit 5ced266

Browse files
Add fetch-depth to desktop-e2e workflow
Due to a bug in the `actions/checkout@v4` workflow, `git fetch` fails when the workflow was triggered by a tag: actions/checkout#1467
1 parent 4794a49 commit 5ced266

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: .github/workflows/desktop-e2e.yml

+3
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ jobs:
7272
uses: actions/checkout@v4
7373
with:
7474
fetch-tags: true
75+
fetch-depth: 1
7576
- name: Run end-to-end tests
7677
shell: bash -ieo pipefail {0}
7778
run: |
@@ -142,6 +143,7 @@ jobs:
142143
uses: actions/checkout@v4
143144
with:
144145
fetch-tags: true
146+
fetch-depth: 1
145147
- name: Run end-to-end tests
146148
shell: bash -ieo pipefail {0}
147149
run: |
@@ -212,6 +214,7 @@ jobs:
212214
uses: actions/checkout@v4
213215
with:
214216
fetch-tags: true
217+
fetch-depth: 1
215218
- name: Run end-to-end tests
216219
shell: bash -ieo pipefail {0}
217220
run: |

0 commit comments

Comments
 (0)