From f0048c4c40e3a3d7e9d0b43f76bccbf103f8cfe8 Mon Sep 17 00:00:00 2001 From: "hashicorp-tsccr[bot]" <129506189+hashicorp-tsccr[bot]@users.noreply.github.com> Date: Wed, 8 Jan 2025 14:45:14 -0500 Subject: [PATCH] SEC-090: Automated trusted workflow pinning (2025-01-07) (#997) Result of tsccr-helper -log-level=info gha update -latest .github/ Co-authored-by: hashicorp-tsccr[bot] --- .github/actions/integration-test/action.yml | 6 +++--- .github/workflows/build.yaml | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/actions/integration-test/action.yml b/.github/actions/integration-test/action.yml index 452a29dc..b12fe0ec 100644 --- a/.github/actions/integration-test/action.yml +++ b/.github/actions/integration-test/action.yml @@ -62,7 +62,7 @@ runs: with: go-version-file: .go-version - name: Create Kind Cluster - uses: helm/kind-action@0025e74a8c7512023d06dc019c617aa3cf561fde # v1.10.0 + uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0 with: cluster_name: ${{ inputs.kind-cluster-name }} config: test/integration/kind/config.yaml @@ -117,13 +117,13 @@ runs: make $make_target VERSION=${{ inputs.version }} INTEGRATION_TESTS_PARALLEL=true SUPPRESS_TF_OUTPUT=true EXPORT_KIND_LOGS_ROOT=${{ steps.create_kind_export_log_root.outputs.log_root }} - name: Store kind cluster logs if: success() - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 + uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0 with: name: ${{ steps.create_kind_export_log_root.outputs.log_artifact_name }} path: ${{ steps.create_kind_export_log_root.outputs.log_root }} - name: Store kind cluster logs failure if: failure() - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 + uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0 with: name: ${{ steps.create_kind_export_log_root.outputs.log_artifact_name }}-failed path: ${{ steps.create_kind_export_log_root.outputs.log_root }} diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 8c73ed35..e19760f4 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -108,7 +108,7 @@ jobs: version: ${{ needs.get-product-version.outputs.product-version }} product: ${{ env.PKG_NAME }} repositoryOwner: "hashicorp" - - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 + - uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0 with: name: metadata.json path: ${{ steps.generate-metadata-file.outputs.filepath }} @@ -149,7 +149,7 @@ jobs: echo "path=${ZIP_FILE}" >> $GITHUB_OUTPUT echo "name=$(basename ${ZIP_FILE})" >> $GITHUB_OUTPUT - name: Upload binary - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 + uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0 with: name: ${{ steps.build-binary.outputs.name }} path: ${{ steps.build-binary.outputs.path }} @@ -317,7 +317,7 @@ jobs: run: | docker load --input ${{ github.event.repository.name }}_release-default_linux_amd64_${{ needs.get-product-version.outputs.product-version }}_${{ github.sha }}.docker.tar - name: Install kind - uses: helm/kind-action@0025e74a8c7512023d06dc019c617aa3cf561fde # v1.10.0 + uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0 with: version: "v0.25.0" install_only: true @@ -369,7 +369,7 @@ jobs: run: | docker load --input ${{ github.event.repository.name }}_release-default_linux_amd64_${{ needs.get-product-version.outputs.product-version }}_${{ github.sha }}.docker.tar - name: Install kind - uses: helm/kind-action@0025e74a8c7512023d06dc019c617aa3cf561fde # v1.10.0 + uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0 with: version: "v0.25.0" install_only: true