diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 6bd665a0..438e6250 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -30,7 +30,7 @@ jobs: permissions: contents: write steps: - - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3 with: token: ${{ secrets.PAT }} - uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3 @@ -86,7 +86,7 @@ jobs: pull-requests: write steps: - name: Check out code into the Go module directory - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # 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@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # 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@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # 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@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3 with: ref: main - name: version @@ -162,7 +162,7 @@ jobs: needs: - create-release steps: - - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3 - name: Publish to Registry uses: elgohr/Publish-Docker-Github-Action@43dc228e327224b2eda11c8883232afd5b34943b # v5 with: diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 28fcf21c..ae188bcc 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@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # 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 409af71d..007bb3ba 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@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # 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@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # 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@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # 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 028344af..7d82136d 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@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3 - name: Install Go uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v4 with: @@ -34,7 +34,7 @@ jobs: contents: read pull-requests: write steps: - - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3 - name: golangci-lint uses: reviewdog/action-golangci-lint@94d61e3205b61acf4ddabfeb13c5f8a13eb4167b # v2 with: @@ -47,7 +47,7 @@ jobs: go: [ 1.19 ] runs-on: [self-hosted, public, linux, x64] steps: - - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3 - name: Install Go uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v4 with: @@ -55,7 +55,7 @@ jobs: - name: build run: go build - name: Clone Terragoat - vulnerable terraform - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3 with: repository: bridgecrewio/terragoat # clone https://github.com/bridgecrewio/terragoat/ fetch-depth: 0