diff --git a/.github/workflows/builder_go_slsa3.yml b/.github/workflows/builder_go_slsa3.yml index be1ebf797..c0f81619b 100644 --- a/.github/workflows/builder_go_slsa3.yml +++ b/.github/workflows/builder_go_slsa3.yml @@ -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 }}" @@ -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. @@ -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. diff --git a/.github/workflows/generator_generic_slsa3.yml b/.github/workflows/generator_generic_slsa3.yml index 9952e9aad..4e5889b3d 100644 --- a/.github/workflows/generator_generic_slsa3.yml +++ b/.github/workflows/generator_generic_slsa3.yml @@ -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 }}"