diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index b92611a31..cbb18160c 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -122,11 +122,11 @@ jobs: - name: Check out the repository uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c - name: Initialize CodeQL - uses: github/codeql-action/init@3ebbd71c74ef574dbc558c82f70e52732c8b44fe + uses: github/codeql-action/init@17573ee1cc1b9d061760f3a006fc4aac4f944fd5 with: languages: go - name: Run CodeQL variant analysis - uses: github/codeql-action/analyze@3ebbd71c74ef574dbc558c82f70e52732c8b44fe + uses: github/codeql-action/analyze@17573ee1cc1b9d061760f3a006fc4aac4f944fd5 - name: Show CodeQL scan SARIF report if: always() run: cat ../results/go.sarif @@ -149,7 +149,7 @@ jobs: run: cat ${{ steps.scan.outputs.sarif }} - name: Upload Anchore scan SARIF report if: always() - uses: github/codeql-action/upload-sarif@3ebbd71c74ef574dbc558c82f70e52732c8b44fe + uses: github/codeql-action/upload-sarif@17573ee1cc1b9d061760f3a006fc4aac4f944fd5 with: sarif_file: ${{ steps.scan.outputs.sarif }} diff --git a/.github/workflows/report.yml b/.github/workflows/report.yml index b83e8eb74..b8f09a1e2 100644 --- a/.github/workflows/report.yml +++ b/.github/workflows/report.yml @@ -38,11 +38,11 @@ jobs: - name: Check out the repository uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c - name: Initialize CodeQL - uses: github/codeql-action/init@3ebbd71c74ef574dbc558c82f70e52732c8b44fe + uses: github/codeql-action/init@17573ee1cc1b9d061760f3a006fc4aac4f944fd5 with: languages: go - name: Run CodeQL variant analysis - uses: github/codeql-action/analyze@3ebbd71c74ef574dbc558c82f70e52732c8b44fe + uses: github/codeql-action/analyze@17573ee1cc1b9d061760f3a006fc4aac4f944fd5 - name: Show CodeQL scan SARIF report if: always() run: cat ../results/go.sarif @@ -65,6 +65,6 @@ jobs: - name: Show Anchore scan SARIF report run: cat ${{ steps.scan.outputs.sarif }} - name: Upload Anchore scan SARIF report - uses: github/codeql-action/upload-sarif@3ebbd71c74ef574dbc558c82f70e52732c8b44fe + uses: github/codeql-action/upload-sarif@17573ee1cc1b9d061760f3a006fc4aac4f944fd5 with: sarif_file: ${{ steps.scan.outputs.sarif }}