diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index f55b906d..c047576a 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -30,7 +30,7 @@ jobs: permissions: contents: write steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v3 with: token: ${{ secrets.PAT }} - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3 @@ -86,7 +86,7 @@ jobs: pull-requests: write steps: - name: Check out code into the Go module directory - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v3 - name: golangci-lint uses: reviewdog/action-golangci-lint@94d61e3205b61acf4ddabfeb13c5f8a13eb4167b # v2 with: @@ -96,7 +96,7 @@ jobs: integration-tests: runs-on: [self-hosted, public, linux, x64] steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v3 - name: Install Go uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v4 with: @@ -104,7 +104,7 @@ jobs: - name: build run: go build - name: Clone Terragoat - vulnerable terraform - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v3 with: repository: bridgecrewio/terragoat # clone https://github.com/bridgecrewio/terragoat/ fetch-depth: 0 @@ -130,7 +130,7 @@ jobs: steps: - name: Wait for coverage to update run: sleep 10s - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v3 with: ref: main - name: version @@ -162,7 +162,7 @@ jobs: needs: - create-release steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v3 - name: Publish to Registry uses: elgohr/Publish-Docker-Github-Action@d0321869e187cfd3124343ea2b39b1db31f89685 # v5 with: diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 783c390a..e942087b 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -34,7 +34,7 @@ jobs: security-events: write steps: - name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v3 - name: Set up Go uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v4 with: diff --git a/.github/workflows/security-shared.yml b/.github/workflows/security-shared.yml index 503d8594..d02c5363 100644 --- a/.github/workflows/security-shared.yml +++ b/.github/workflows/security-shared.yml @@ -16,7 +16,7 @@ jobs: env: GO111MODULE: on steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v3 with: ref: ${{ github.event.pull_request.head.sha }} - name: Run Gosec Security Scanner @@ -26,7 +26,7 @@ jobs: trufflehog-secrets: runs-on: [self-hosted, public, linux, x64] steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v3 with: ref: ${{ github.event.pull_request.head.sha }} - name: detect secrets @@ -36,7 +36,7 @@ jobs: checkov-secrets: runs-on: [self-hosted, public, linux, x64] steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v3 with: ref: ${{ github.event.pull_request.head.sha }} - name: Scan for secrets diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index a4d1ee4c..53aebcca 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -15,7 +15,7 @@ jobs: go: [ 1.19 ] runs-on: ubuntu-latest steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v3 - name: Install Go uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v4 with: @@ -38,7 +38,7 @@ jobs: run: env - name: print hostname run: hostname - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v3 - name: golangci-lint uses: reviewdog/action-golangci-lint@94d61e3205b61acf4ddabfeb13c5f8a13eb4167b # v2 with: @@ -51,7 +51,7 @@ jobs: go: [ 1.19 ] runs-on: [self-hosted, public, linux, x64] steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v3 - name: Install Go uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v4 with: @@ -59,7 +59,7 @@ jobs: - name: build run: go build - name: Clone Terragoat - vulnerable terraform - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v3 with: repository: bridgecrewio/terragoat # clone https://github.com/bridgecrewio/terragoat/ fetch-depth: 0