diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fcb93ad69..afa494871 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -120,7 +120,7 @@ jobs: cache: 'maven' - name: Initialize CodeQL if: ${{ !inputs.skip_code_scans }} - uses: github/codeql-action/init@68bde559dea0fdcac2102bfdf6230c5f70eb485e + uses: github/codeql-action/init@7211b7c8077ea37d8641b6271f6a365a22a5fbfa with: languages: java config-file: .github/codeql-config.yml @@ -147,7 +147,7 @@ jobs: git push --force-with-lease - name: Perform CodeQL Analysis if: ${{ !inputs.skip_code_scans }} - uses: github/codeql-action/analyze@68bde559dea0fdcac2102bfdf6230c5f70eb485e + uses: github/codeql-action/analyze@7211b7c8077ea37d8641b6271f6a365a22a5fbfa with: upload: 'never' output: codeql-results @@ -257,13 +257,13 @@ jobs: fi - name: Upload CodeQL scan results to GitHub Security tab if: ${{ !inputs.skip_code_scans && env.UPLOAD_SCAN_SARIF == 'true' }} - uses: github/codeql-action/upload-sarif@68bde559dea0fdcac2102bfdf6230c5f70eb485e + uses: github/codeql-action/upload-sarif@7211b7c8077ea37d8641b6271f6a365a22a5fbfa with: sarif_file: codeql-results category: 'codeql' - name: Upload Trivy scan results to GitHub Security tab if: ${{ !inputs.skip_code_scans && env.UPLOAD_SCAN_SARIF == 'true' }} - uses: github/codeql-action/upload-sarif@68bde559dea0fdcac2102bfdf6230c5f70eb485e + uses: github/codeql-action/upload-sarif@7211b7c8077ea37d8641b6271f6a365a22a5fbfa with: sarif_file: 'trivy-results.sarif' category: 'trivy'