From 4942b206ac87c07fbf29a712699589999aa926cf Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 24 Jul 2026 18:43:58 +0000 Subject: [PATCH] Update github/codeql-action action to v4 --- .github/workflows/anchore-analysis.yml | 2 +- .github/workflows/checkmarx-analysis.yml | 2 +- .github/workflows/codacy-analysis.yml | 2 +- .github/workflows/codeql-analysis.yml | 6 +++--- .github/workflows/fortify-analysis.yml | 2 +- .github/workflows/prisma-analysis.yml | 2 +- .github/workflows/semgrep-analysis.yml | 2 +- .github/workflows/shiftleft-analysis.yml | 2 +- .github/workflows/snyk_container-analysis.yml | 2 +- .github/workflows/snyk_infrastructure-analysis.yml | 2 +- .github/workflows/trivy-analysis.yml | 2 +- .github/workflows/veracode-analysis.yml | 2 +- .github/workflows/xanitizer-analysis.yml | 2 +- 13 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/anchore-analysis.yml b/.github/workflows/anchore-analysis.yml index 3cd6669..f115a8e 100644 --- a/.github/workflows/anchore-analysis.yml +++ b/.github/workflows/anchore-analysis.yml @@ -22,6 +22,6 @@ jobs: image: "localbuild/testimage:latest" acs-report-enable: true - name: Upload Anchore Scan Report - uses: github/codeql-action/upload-sarif@v3 + uses: github/codeql-action/upload-sarif@v4 with: sarif_file: results.sarif diff --git a/.github/workflows/checkmarx-analysis.yml b/.github/workflows/checkmarx-analysis.yml index 8e43fdf..372cf65 100644 --- a/.github/workflows/checkmarx-analysis.yml +++ b/.github/workflows/checkmarx-analysis.yml @@ -35,6 +35,6 @@ jobs: checkmarx_client_secret: ${{ secrets.CHECKMARX_CLIENT_SECRET }} # Upload the Report for CodeQL/Security Alerts - name: Upload SARIF file - uses: github/codeql-action/upload-sarif@v3 + uses: github/codeql-action/upload-sarif@v4 with: sarif_file: cx.sarif diff --git a/.github/workflows/codacy-analysis.yml b/.github/workflows/codacy-analysis.yml index 663f8df..ef0fef9 100644 --- a/.github/workflows/codacy-analysis.yml +++ b/.github/workflows/codacy-analysis.yml @@ -43,6 +43,6 @@ jobs: # Upload the SARIF file generated in the previous step - name: Upload SARIF results file - uses: github/codeql-action/upload-sarif@v3 + uses: github/codeql-action/upload-sarif@v4 with: sarif_file: results.sarif diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index f0d160d..06bddb7 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -41,7 +41,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v3 + uses: github/codeql-action/init@v4 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -52,7 +52,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v3 + uses: github/codeql-action/autobuild@v4 # â„šī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -66,4 +66,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 + uses: github/codeql-action/analyze@v4 diff --git a/.github/workflows/fortify-analysis.yml b/.github/workflows/fortify-analysis.yml index 381619d..67245ce 100644 --- a/.github/workflows/fortify-analysis.yml +++ b/.github/workflows/fortify-analysis.yml @@ -91,6 +91,6 @@ jobs: # Import Fortify on Demand results to GitHub Security Code Scanning - name: Import Results - uses: github/codeql-action/upload-sarif@v3 + uses: github/codeql-action/upload-sarif@v4 with: sarif_file: ./sarif/output.sarif diff --git a/.github/workflows/prisma-analysis.yml b/.github/workflows/prisma-analysis.yml index abe5cba..ed9fe14 100644 --- a/.github/workflows/prisma-analysis.yml +++ b/.github/workflows/prisma-analysis.yml @@ -39,7 +39,7 @@ jobs: # The service need to know the type of IaC being scanned template_type: 'CFT' - name: Upload SARIF file - uses: github/codeql-action/upload-sarif@v3 + uses: github/codeql-action/upload-sarif@v4 # Results are generated only on a success or failure # this is required since GitHub by default won't run the next step # when the previous one has failed. diff --git a/.github/workflows/semgrep-analysis.yml b/.github/workflows/semgrep-analysis.yml index 3229b42..3fef4cd 100644 --- a/.github/workflows/semgrep-analysis.yml +++ b/.github/workflows/semgrep-analysis.yml @@ -33,7 +33,7 @@ jobs: # Upload SARIF file generated in previous step - name: Upload SARIF file - uses: github/codeql-action/upload-sarif@v3 + uses: github/codeql-action/upload-sarif@v4 with: sarif_file: semgrep.sarif if: always() diff --git a/.github/workflows/shiftleft-analysis.yml b/.github/workflows/shiftleft-analysis.yml index 8160b4b..d35dd72 100644 --- a/.github/workflows/shiftleft-analysis.yml +++ b/.github/workflows/shiftleft-analysis.yml @@ -33,6 +33,6 @@ jobs: # type: python - name: Upload report - uses: github/codeql-action/upload-sarif@v3 + uses: github/codeql-action/upload-sarif@v4 with: sarif_file: reports diff --git a/.github/workflows/snyk_container-analysis.yml b/.github/workflows/snyk_container-analysis.yml index aad770e..7fc2324 100644 --- a/.github/workflows/snyk_container-analysis.yml +++ b/.github/workflows/snyk_container-analysis.yml @@ -31,6 +31,6 @@ jobs: image: your/image-to-test args: --file=Dockerfile - name: Upload result to GitHub Code Scanning - uses: github/codeql-action/upload-sarif@v3 + uses: github/codeql-action/upload-sarif@v4 with: sarif_file: snyk.sarif diff --git a/.github/workflows/snyk_infrastructure-analysis.yml b/.github/workflows/snyk_infrastructure-analysis.yml index f2a95be..0a0678a 100644 --- a/.github/workflows/snyk_infrastructure-analysis.yml +++ b/.github/workflows/snyk_infrastructure-analysis.yml @@ -39,6 +39,6 @@ jobs: # or `main.tf` for a Terraform configuration file file: your-file-to-test.yaml - name: Upload result to GitHub Code Scanning - uses: github/codeql-action/upload-sarif@v3 + uses: github/codeql-action/upload-sarif@v4 with: sarif_file: snyk.sarif diff --git a/.github/workflows/trivy-analysis.yml b/.github/workflows/trivy-analysis.yml index 36fe680..2070184 100644 --- a/.github/workflows/trivy-analysis.yml +++ b/.github/workflows/trivy-analysis.yml @@ -27,6 +27,6 @@ jobs: severity: 'CRITICAL,HIGH' - name: Upload Trivy scan results to GitHub Security tab - uses: github/codeql-action/upload-sarif@v3 + uses: github/codeql-action/upload-sarif@v4 with: sarif_file: 'trivy-results.sarif' diff --git a/.github/workflows/veracode-analysis.yml b/.github/workflows/veracode-analysis.yml index 00eadec..c267b2f 100644 --- a/.github/workflows/veracode-analysis.yml +++ b/.github/workflows/veracode-analysis.yml @@ -55,7 +55,7 @@ jobs: uses: veracode/veracode-pipeline-scan-results-to-sarif@master with: pipeline-results-json: results.json - - uses: github/codeql-action/upload-sarif@v3 + - uses: github/codeql-action/upload-sarif@v4 with: # Path to SARIF file relative to the root of the repository sarif_file: veracode-results.sarif diff --git a/.github/workflows/xanitizer-analysis.yml b/.github/workflows/xanitizer-analysis.yml index a7f3623..45c8e08 100644 --- a/.github/workflows/xanitizer-analysis.yml +++ b/.github/workflows/xanitizer-analysis.yml @@ -83,6 +83,6 @@ jobs: *-Findings-List.sarif # Uploads the findings into the GitHub code scanning alert section using the upload-sarif action - - uses: github/codeql-action/upload-sarif@v3 + - uses: github/codeql-action/upload-sarif@v4 with: sarif_file: Xanitizer-Findings-List.sarif