Skip to content

Commit 496521b

Browse files
Update fetch-depth in our example gh actions
1 parent 7c85c05 commit 496521b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/pages/RepoPage/CoverageOnboarding/UseFrameworkInstructions.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Checkout
3333
uses: actions/checkout@v4
3434
with:
35-
fetch-depth: 0
35+
fetch-depth: 2
3636
3737
- name: Set up Node
3838
uses: actions/setup-node@v4
@@ -70,7 +70,7 @@ jobs:
7070
- name: Checkout
7171
uses: actions/checkout@v4
7272
with:
73-
fetch-depth: 0
73+
fetch-depth: 2
7474
7575
- name: Set up Node
7676
uses: actions/setup-node@v4
@@ -108,7 +108,7 @@ jobs:
108108
- name: Checkout
109109
uses: actions/checkout@v4
110110
with:
111-
fetch-depth: 0
111+
fetch-depth: 2
112112
113113
- name: Set up Python
114114
uses: actions/setup-python@v4
@@ -146,7 +146,7 @@ jobs:
146146
- name: Checkout
147147
uses: actions/checkout@v4
148148
with:
149-
fetch-depth: 0
149+
fetch-depth: 2
150150
151151
- name: Set up Go
152152
uses: actions/setup-go@v5

src/pages/RepoPage/FailedTestsTab/GitHubActions/GitHubActions.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const JobsScript = `jobs:
3737
- name: Checkout
3838
uses: actions/checkout@v4
3939
with:
40-
fetch-depth: 0
40+
fetch-depth: 2
4141
- name: Set up Python 3.11
4242
uses: actions/setup-python@v3
4343
with:

0 commit comments

Comments
 (0)