Compare commits

...
Author SHA1 Message Date
Zohaib Hassnain fd95639bdd ci: refresh github/codeql-action pin to current v4
The pin was 5595ccaf..., but upstream has since moved the v4 tag to
ff2f1c62.... The Verify Action Pins workflow flags this drift on every
PR that touches any workflow file, regardless of whether that PR
changed codeql.yml or defender-for-devops.yml.

Verified the new SHA against the GitHub API directly (not just the CI
error text) and confirmed .github/scripts/verify-action-pins.sh passes
clean locally (40/40 action references OK, exit 0).
2026-08-14 22:15:50 +05:00
2 changed files with 8 additions and 8 deletions
+6 -6
View File
@@ -32,7 +32,7 @@ jobs:
# meaningful state carried over from a failed attempt. # meaningful state carried over from a failed attempt.
- name: Initialize CodeQL (attempt 1) - name: Initialize CodeQL (attempt 1)
id: codeql-init-1 id: codeql-init-1
uses: github/codeql-action/init@5595ccaf912efad79be6eef63a5619ff05969be3 # v4 uses: github/codeql-action/init@ff2f1c621b7f889edc0d3c761ac2e6a3f8cdb0dd # v4
continue-on-error: true continue-on-error: true
with: with:
languages: python languages: python
@@ -42,7 +42,7 @@ jobs:
- name: Initialize CodeQL (attempt 2) - name: Initialize CodeQL (attempt 2)
id: codeql-init-2 id: codeql-init-2
if: steps.codeql-init-1.outcome == 'failure' if: steps.codeql-init-1.outcome == 'failure'
uses: github/codeql-action/init@5595ccaf912efad79be6eef63a5619ff05969be3 # v4 uses: github/codeql-action/init@ff2f1c621b7f889edc0d3c761ac2e6a3f8cdb0dd # v4
continue-on-error: true continue-on-error: true
with: with:
languages: python languages: python
@@ -52,17 +52,17 @@ jobs:
- name: Initialize CodeQL (attempt 3) - name: Initialize CodeQL (attempt 3)
id: codeql-init-3 id: codeql-init-3
if: steps.codeql-init-2.outcome == 'failure' if: steps.codeql-init-2.outcome == 'failure'
uses: github/codeql-action/init@5595ccaf912efad79be6eef63a5619ff05969be3 # v4 uses: github/codeql-action/init@ff2f1c621b7f889edc0d3c761ac2e6a3f8cdb0dd # v4
with: with:
languages: python languages: python
queries: security-and-quality queries: security-and-quality
config-file: .github/codeql/codeql-config.yml config-file: .github/codeql/codeql-config.yml
- name: Autobuild - name: Autobuild
uses: github/codeql-action/autobuild@5595ccaf912efad79be6eef63a5619ff05969be3 # v4 uses: github/codeql-action/autobuild@ff2f1c621b7f889edc0d3c761ac2e6a3f8cdb0dd # v4
- name: Perform CodeQL Analysis - name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@5595ccaf912efad79be6eef63a5619ff05969be3 # v4 uses: github/codeql-action/analyze@ff2f1c621b7f889edc0d3c761ac2e6a3f8cdb0dd # v4
with: with:
category: "/language:python" category: "/language:python"
upload: false upload: false
@@ -72,7 +72,7 @@ jobs:
# Uploads results only when Default Setup is not active. # Uploads results only when Default Setup is not active.
# If Default Setup is still enabled, this step skips gracefully # If Default Setup is still enabled, this step skips gracefully
# instead of failing the workflow with HTTP 409. # instead of failing the workflow with HTTP 409.
uses: github/codeql-action/upload-sarif@5595ccaf912efad79be6eef63a5619ff05969be3 # v4 uses: github/codeql-action/upload-sarif@ff2f1c621b7f889edc0d3c761ac2e6a3f8cdb0dd # v4
with: with:
sarif_file: ${{ steps.codeql.outputs.sarif-output }} sarif_file: ${{ steps.codeql.outputs.sarif-output }}
category: "/language:python" category: "/language:python"
+2 -2
View File
@@ -57,7 +57,7 @@ jobs:
# avoiding the guardian.cmd/checkov exit-code bug in the MSDO wrapper. # avoiding the guardian.cmd/checkov exit-code bug in the MSDO wrapper.
tools: eslint,templateanalyzer,terrascan tools: eslint,templateanalyzer,terrascan
- name: Upload results to Security tab - name: Upload results to Security tab
uses: github/codeql-action/upload-sarif@5595ccaf912efad79be6eef63a5619ff05969be3 # v4 uses: github/codeql-action/upload-sarif@ff2f1c621b7f889edc0d3c761ac2e6a3f8cdb0dd # v4
with: with:
sarif_file: ${{ steps.msdo.outputs.sarifFile }} sarif_file: ${{ steps.msdo.outputs.sarifFile }}
@@ -82,7 +82,7 @@ jobs:
} }
- name: Upload Checkov results to Security tab - name: Upload Checkov results to Security tab
uses: github/codeql-action/upload-sarif@5595ccaf912efad79be6eef63a5619ff05969be3 # v4 uses: github/codeql-action/upload-sarif@ff2f1c621b7f889edc0d3c761ac2e6a3f8cdb0dd # v4
if: always() if: always()
with: with:
sarif_file: reports/checkov.sarif sarif_file: reports/checkov.sarif