Skip to content

Commit aeb433e

Browse files
authored
✨ Do not fetch all branches (slsa-framework#300)
* updates * updates * updates
1 parent 6286fdf commit aeb433e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/builder_go_slsa3.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
- name: Checkout the repository
9797
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v2.3.4
9898
with:
99-
fetch-depth: 0
99+
fetch-depth: 1
100100
persist-credentials: false
101101
repository: "${{ needs.detect-env.outputs.repository }}"
102102
ref: "${{ needs.detect-env.outputs.ref }}"
@@ -168,7 +168,7 @@ jobs:
168168
- name: Checkout the repository
169169
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v2.3.4
170170
with:
171-
fetch-depth: 0
171+
fetch-depth: 1
172172
persist-credentials: false
173173

174174
# Code needed (not tested) if go-vesion is made optional.
@@ -228,7 +228,7 @@ jobs:
228228
- name: Checkout the repository
229229
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v2.3.4
230230
with:
231-
fetch-depth: 0
231+
fetch-depth: 1
232232
persist-credentials: false
233233

234234
# Code needed (not tested) if go-vesion is made optional.

.github/workflows/generator_generic_slsa3.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
- name: Checkout the repository
6868
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.3.4
6969
with:
70-
fetch-depth: 0
70+
fetch-depth: 1
7171
repository: "${{ needs.detect-env.outputs.repository }}"
7272
ref: "${{ needs.detect-env.outputs.ref }}"
7373

0 commit comments

Comments
 (0)