From bfd55156f26df7d790ba45f9533b98f63856d72a Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sat, 13 Aug 2022 00:32:20 +0000 Subject: [PATCH] Update github-actions to 3c52f7b --- .github/actions/generate-builder/action.yml | 4 ++-- .../secure-download-artifact/action.yml | 2 +- .../actions/secure-upload-artifact/action.yml | 2 +- .github/workflows/builder_go_slsa3.yml | 20 +++++++++---------- .../workflows/generator_container_slsa3.yml | 4 ++-- .github/workflows/generator_generic_slsa3.yml | 6 +++--- 6 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/actions/generate-builder/action.yml b/.github/actions/generate-builder/action.yml index ee3c8f8ef8..237d5bffe2 100644 --- a/.github/actions/generate-builder/action.yml +++ b/.github/actions/generate-builder/action.yml @@ -34,7 +34,7 @@ runs: using: "composite" steps: - name: Checkout the Go builder repository - uses: slsa-framework/slsa-github-generator/.github/actions/checkout-go@bd5d98277f41bbe5ef9f7a4fd7e0031c9b8aef68 + uses: slsa-framework/slsa-github-generator/.github/actions/checkout-go@3c52f7b84f05b35edc1869347f5b160ba88238f0 with: repository: "${{ inputs.repository }}" ref: "${{ inputs.ref }}" @@ -62,7 +62,7 @@ runs: run: ./.github/actions/generate-builder/generate-builder.sh - name: Compute sha256 of builder - uses: slsa-framework/slsa-github-generator/.github/actions/compute-sha256@bd5d98277f41bbe5ef9f7a4fd7e0031c9b8aef68 + uses: slsa-framework/slsa-github-generator/.github/actions/compute-sha256@3c52f7b84f05b35edc1869347f5b160ba88238f0 id: compute with: path: "${{ inputs.binary }}" diff --git a/.github/actions/secure-download-artifact/action.yml b/.github/actions/secure-download-artifact/action.yml index aa862566a5..16839b33fb 100644 --- a/.github/actions/secure-download-artifact/action.yml +++ b/.github/actions/secure-download-artifact/action.yml @@ -36,7 +36,7 @@ runs: - name: Compute the hash id: compute - uses: slsa-framework/slsa-github-generator/.github/actions/compute-sha256@bd5d98277f41bbe5ef9f7a4fd7e0031c9b8aef68 + uses: slsa-framework/slsa-github-generator/.github/actions/compute-sha256@3c52f7b84f05b35edc1869347f5b160ba88238f0 with: path: "${{ inputs.path }}" diff --git a/.github/actions/secure-upload-artifact/action.yml b/.github/actions/secure-upload-artifact/action.yml index 3fa9061cd5..7768e10e36 100644 --- a/.github/actions/secure-upload-artifact/action.yml +++ b/.github/actions/secure-upload-artifact/action.yml @@ -18,7 +18,7 @@ runs: steps: - name: Compute binary hash id: compute-digest - uses: slsa-framework/slsa-github-generator/.github/actions/compute-sha256@bd5d98277f41bbe5ef9f7a4fd7e0031c9b8aef68 + uses: slsa-framework/slsa-github-generator/.github/actions/compute-sha256@3c52f7b84f05b35edc1869347f5b160ba88238f0 with: path: "${{ inputs.path }}" diff --git a/.github/workflows/builder_go_slsa3.yml b/.github/workflows/builder_go_slsa3.yml index b5fb8f8857..65218fca3a 100644 --- a/.github/workflows/builder_go_slsa3.yml +++ b/.github/workflows/builder_go_slsa3.yml @@ -68,7 +68,7 @@ jobs: steps: - name: Generate random 16-byte value (32-char hex encoded) id: rng - uses: slsa-framework/slsa-github-generator/.github/actions/rng@bd5d98277f41bbe5ef9f7a4fd7e0031c9b8aef68 + uses: slsa-framework/slsa-github-generator/.github/actions/rng@3c52f7b84f05b35edc1869347f5b160ba88238f0 detect-env: outputs: @@ -95,7 +95,7 @@ jobs: steps: - name: Generate builder id: generate - uses: slsa-framework/slsa-github-generator/.github/actions/generate-builder@bd5d98277f41bbe5ef9f7a4fd7e0031c9b8aef68 + uses: slsa-framework/slsa-github-generator/.github/actions/generate-builder@3c52f7b84f05b35edc1869347f5b160ba88238f0 with: repository: "${{ needs.detect-env.outputs.repository }}" ref: "${{ needs.detect-env.outputs.ref }}" @@ -128,12 +128,12 @@ jobs: needs: [builder, rng] steps: - name: Checkout the Go repository - uses: slsa-framework/slsa-github-generator/.github/actions/checkout-go@bd5d98277f41bbe5ef9f7a4fd7e0031c9b8aef68 + uses: slsa-framework/slsa-github-generator/.github/actions/checkout-go@3c52f7b84f05b35edc1869347f5b160ba88238f0 with: go-version: ${{ inputs.go-version }} - name: Download builder - uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@bd5d98277f41bbe5ef9f7a4fd7e0031c9b8aef68 + uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@3c52f7b84f05b35edc1869347f5b160ba88238f0 with: name: "${{ env.BUILDER_BINARY }}-${{ needs.rng.outputs.value }}" path: "${{ env.BUILDER_BINARY }}" @@ -166,12 +166,12 @@ jobs: needs: [builder, build-dry, rng] steps: - name: Checkout the Go repository - uses: slsa-framework/slsa-github-generator/.github/actions/checkout-go@bd5d98277f41bbe5ef9f7a4fd7e0031c9b8aef68 + uses: slsa-framework/slsa-github-generator/.github/actions/checkout-go@3c52f7b84f05b35edc1869347f5b160ba88238f0 with: go-version: ${{ inputs.go-version }} - name: Download builder - uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@bd5d98277f41bbe5ef9f7a4fd7e0031c9b8aef68 + uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@3c52f7b84f05b35edc1869347f5b160ba88238f0 with: name: "${{ env.BUILDER_BINARY }}-${{ needs.rng.outputs.value }}" path: "${{ env.BUILDER_BINARY }}" @@ -217,7 +217,7 @@ jobs: - name: Upload generated binary id: upload - uses: slsa-framework/slsa-github-generator/.github/actions/secure-upload-artifact@bd5d98277f41bbe5ef9f7a4fd7e0031c9b8aef68 + uses: slsa-framework/slsa-github-generator/.github/actions/secure-upload-artifact@3c52f7b84f05b35edc1869347f5b160ba88238f0 with: name: "${{ needs.build-dry.outputs.go-binary-name }}" path: "${{ needs.build-dry.outputs.go-binary-name }}" @@ -238,7 +238,7 @@ jobs: go-provenance-sha256: ${{ steps.sign-prov.outputs.signed-provenance-sha256 }} steps: - name: Download builder - uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@bd5d98277f41bbe5ef9f7a4fd7e0031c9b8aef68 + uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@3c52f7b84f05b35edc1869347f5b160ba88238f0 with: name: "${{ env.BUILDER_BINARY }}-${{ needs.rng.outputs.value }}" path: "${{ env.BUILDER_BINARY }}" @@ -290,14 +290,14 @@ jobs: if: startsWith(github.ref, 'refs/tags/') && inputs.upload-assets == true steps: - name: Download binary - uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@bd5d98277f41bbe5ef9f7a4fd7e0031c9b8aef68 + uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@3c52f7b84f05b35edc1869347f5b160ba88238f0 with: name: "${{ needs.build-dry.outputs.go-binary-name }}" path: "${{ needs.build-dry.outputs.go-binary-name }}" sha256: "${{ needs.build.outputs.go-binary-sha256 }}" - name: Download provenance - uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@bd5d98277f41bbe5ef9f7a4fd7e0031c9b8aef68 + uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@3c52f7b84f05b35edc1869347f5b160ba88238f0 with: name: "${{ needs.provenance.outputs.go-provenance-name }}" path: "${{ needs.provenance.outputs.go-provenance-name }}" diff --git a/.github/workflows/generator_container_slsa3.yml b/.github/workflows/generator_container_slsa3.yml index 8a94f5353c..8d0668bf86 100644 --- a/.github/workflows/generator_container_slsa3.yml +++ b/.github/workflows/generator_container_slsa3.yml @@ -57,7 +57,7 @@ jobs: steps: - name: Detect the generator ref id: detect - uses: slsa-framework/slsa-github-generator/.github/actions/detect-workflow@bd5d98277f41bbe5ef9f7a4fd7e0031c9b8aef68 + uses: slsa-framework/slsa-github-generator/.github/actions/detect-workflow@3c52f7b84f05b35edc1869347f5b160ba88238f0 # generator builds the generator binary and runs it to generate SLSA # provenance. @@ -81,7 +81,7 @@ jobs: packages: write steps: - name: Generate builder - uses: slsa-framework/slsa-github-generator/.github/actions/generate-builder@bd5d98277f41bbe5ef9f7a4fd7e0031c9b8aef68 + uses: slsa-framework/slsa-github-generator/.github/actions/generate-builder@3c52f7b84f05b35edc1869347f5b160ba88238f0 with: repository: "${{ needs.detect-env.outputs.repository }}" ref: "${{ needs.detect-env.outputs.ref }}" diff --git a/.github/workflows/generator_generic_slsa3.yml b/.github/workflows/generator_generic_slsa3.yml index b7454f19b9..d532ba15f3 100644 --- a/.github/workflows/generator_generic_slsa3.yml +++ b/.github/workflows/generator_generic_slsa3.yml @@ -69,7 +69,7 @@ jobs: steps: - name: Detect the generator ref id: detect - uses: slsa-framework/slsa-github-generator/.github/actions/detect-workflow@bd5d98277f41bbe5ef9f7a4fd7e0031c9b8aef68 + uses: slsa-framework/slsa-github-generator/.github/actions/detect-workflow@3c52f7b84f05b35edc1869347f5b160ba88238f0 # generator builds the generator binary and runs it to generate SLSA # provenance. @@ -93,7 +93,7 @@ jobs: actions: read steps: - name: Generate builder - uses: slsa-framework/slsa-github-generator/.github/actions/generate-builder@bd5d98277f41bbe5ef9f7a4fd7e0031c9b8aef68 + uses: slsa-framework/slsa-github-generator/.github/actions/generate-builder@3c52f7b84f05b35edc1869347f5b160ba88238f0 with: repository: "${{ needs.detect-env.outputs.repository }}" ref: "${{ needs.detect-env.outputs.ref }}" @@ -148,7 +148,7 @@ jobs: if: startsWith(github.ref, 'refs/tags/') && inputs.upload-assets == true steps: - name: Download the provenance - uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@bd5d98277f41bbe5ef9f7a4fd7e0031c9b8aef68 + uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@3c52f7b84f05b35edc1869347f5b160ba88238f0 with: name: "${{ inputs.attestation-name }}" path: "${{ inputs.attestation-name }}"