Skip to content

Commit

Permalink
✨ Do not fetch all branches (slsa-framework#300)
Browse files Browse the repository at this point in the history
* updates

* updates

* updates
  • Loading branch information
laurentsimon authored Jun 14, 2022
1 parent 6286fdf commit aeb433e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/builder_go_slsa3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
- name: Checkout the repository
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v2.3.4
with:
fetch-depth: 0
fetch-depth: 1
persist-credentials: false
repository: "${{ needs.detect-env.outputs.repository }}"
ref: "${{ needs.detect-env.outputs.ref }}"
Expand Down Expand Up @@ -168,7 +168,7 @@ jobs:
- name: Checkout the repository
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v2.3.4
with:
fetch-depth: 0
fetch-depth: 1
persist-credentials: false

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

# Code needed (not tested) if go-vesion is made optional.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/generator_generic_slsa3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
- name: Checkout the repository
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.3.4
with:
fetch-depth: 0
fetch-depth: 1
repository: "${{ needs.detect-env.outputs.repository }}"
ref: "${{ needs.detect-env.outputs.ref }}"

Expand Down

0 comments on commit aeb433e

Please sign in to comment.