diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 841594e0f4..3ad64fe854 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1373,7 +1373,7 @@ jobs: id: attest_main if: github.ref == 'refs/heads/main' continue-on-error: true - uses: actions/attest@daf44fb950173508f38bd2406030372c1d1162b1 # v3.0.0 + uses: actions/attest@7667f588f2f73a90cea6c7ac70e78266c4f76616 # v3.1.0 with: subject-name: "ghcr.io/coder/coder-preview:main" predicate-type: "https://slsa.dev/provenance/v1" @@ -1410,7 +1410,7 @@ jobs: id: attest_latest if: github.ref == 'refs/heads/main' continue-on-error: true - uses: actions/attest@daf44fb950173508f38bd2406030372c1d1162b1 # v3.0.0 + uses: actions/attest@7667f588f2f73a90cea6c7ac70e78266c4f76616 # v3.1.0 with: subject-name: "ghcr.io/coder/coder-preview:latest" predicate-type: "https://slsa.dev/provenance/v1" @@ -1447,7 +1447,7 @@ jobs: id: attest_version if: github.ref == 'refs/heads/main' continue-on-error: true - uses: actions/attest@daf44fb950173508f38bd2406030372c1d1162b1 # v3.0.0 + uses: actions/attest@7667f588f2f73a90cea6c7ac70e78266c4f76616 # v3.1.0 with: subject-name: "ghcr.io/coder/coder-preview:${{ steps.build-docker.outputs.tag }}" predicate-type: "https://slsa.dev/provenance/v1" diff --git a/.github/workflows/dogfood.yaml b/.github/workflows/dogfood.yaml index 8a63715f1a..59a84806c9 100644 --- a/.github/workflows/dogfood.yaml +++ b/.github/workflows/dogfood.yaml @@ -78,7 +78,7 @@ jobs: uses: depot/setup-action@b0b1ea4f69e92ebf5dea3f8713a1b0c37b2126a5 # v1.6.0 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1 + uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0 - name: Login to DockerHub if: github.ref == 'refs/heads/main' diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2deb391bf6..3aaaee70bd 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -454,7 +454,7 @@ jobs: id: attest_base if: ${{ !inputs.dry_run && steps.image-base-tag.outputs.tag != '' }} continue-on-error: true - uses: actions/attest@daf44fb950173508f38bd2406030372c1d1162b1 # v3.0.0 + uses: actions/attest@7667f588f2f73a90cea6c7ac70e78266c4f76616 # v3.1.0 with: subject-name: ${{ steps.image-base-tag.outputs.tag }} predicate-type: "https://slsa.dev/provenance/v1" @@ -570,7 +570,7 @@ jobs: id: attest_main if: ${{ !inputs.dry_run }} continue-on-error: true - uses: actions/attest@daf44fb950173508f38bd2406030372c1d1162b1 # v3.0.0 + uses: actions/attest@7667f588f2f73a90cea6c7ac70e78266c4f76616 # v3.1.0 with: subject-name: ${{ steps.build_docker.outputs.multiarch_image }} predicate-type: "https://slsa.dev/provenance/v1" @@ -614,7 +614,7 @@ jobs: id: attest_latest if: ${{ !inputs.dry_run && steps.build_docker.outputs.created_latest_tag == 'true' }} continue-on-error: true - uses: actions/attest@daf44fb950173508f38bd2406030372c1d1162b1 # v3.0.0 + uses: actions/attest@7667f588f2f73a90cea6c7ac70e78266c4f76616 # v3.1.0 with: subject-name: ${{ steps.latest_tag.outputs.tag }} predicate-type: "https://slsa.dev/provenance/v1" diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index d926ed70fd..bf81c92ef6 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -47,6 +47,6 @@ jobs: # Upload the results to GitHub's code scanning dashboard. - name: "Upload to code-scanning" - uses: github/codeql-action/upload-sarif@fe4161a26a8629af62121b670040955b330f9af2 # v3.29.5 + uses: github/codeql-action/upload-sarif@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v3.29.5 with: sarif_file: results.sarif diff --git a/.github/workflows/security.yaml b/.github/workflows/security.yaml index f3caa5ffe4..0c713f9805 100644 --- a/.github/workflows/security.yaml +++ b/.github/workflows/security.yaml @@ -40,7 +40,7 @@ jobs: uses: ./.github/actions/setup-go - name: Initialize CodeQL - uses: github/codeql-action/init@fe4161a26a8629af62121b670040955b330f9af2 # v3.29.5 + uses: github/codeql-action/init@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v3.29.5 with: languages: go, javascript @@ -50,7 +50,7 @@ jobs: rm Makefile - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@fe4161a26a8629af62121b670040955b330f9af2 # v3.29.5 + uses: github/codeql-action/analyze@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v3.29.5 - name: Send Slack notification on failure if: ${{ failure() }} @@ -154,7 +154,7 @@ jobs: severity: "CRITICAL,HIGH" - name: Upload Trivy scan results to GitHub Security tab - uses: github/codeql-action/upload-sarif@fe4161a26a8629af62121b670040955b330f9af2 # v3.29.5 + uses: github/codeql-action/upload-sarif@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v3.29.5 with: sarif_file: trivy-results.sarif category: "Trivy"