From ea63ae56ea7b0e39ee6e404f28191c49cc35f641 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 7 Aug 2026 17:50:34 +0000 Subject: [PATCH 1/2] fix(deps): bump github/codeql-action/analyze from 4.37.3 to 4.37.6 Bumps [github/codeql-action/analyze](https://github.com/github/codeql-action) from 4.37.3 to 4.37.6. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81...5595ccaf912efad79be6eef63a5619ff05969be3) --- updated-dependencies: - dependency-name: github/codeql-action/analyze dependency-version: 4.37.6 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/rg-security.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rg-security.yml b/.github/workflows/rg-security.yml index c265fce..2e28829 100644 --- a/.github/workflows/rg-security.yml +++ b/.github/workflows/rg-security.yml @@ -42,7 +42,7 @@ jobs: - uses: github/codeql-action/init@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 # v4 with: languages: ${{ inputs.codeql-languages }} - - uses: github/codeql-action/analyze@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 # v4 + - uses: github/codeql-action/analyze@5595ccaf912efad79be6eef63a5619ff05969be3 # v4 - uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 # v5.0.0 if: inputs.enable-dependency-review && github.event_name == 'pull_request' with: From a0ae3efb62ce49b482a1fdad262f3bdeb2eecead Mon Sep 17 00:00:00 2001 From: Hephaestus Date: Fri, 7 Aug 2026 23:26:25 +0000 Subject: [PATCH 2/2] fix(ci): pin all rg-security codeql-action steps to 4.37.6 Dependabot bumped only analyze to 4.37.6; the security-workflow test requires init, analyze, and upload-sarif to share one SHA pin, so the remaining steps are bumped to the same 4.37.6 pin and the test expectation updated to match. --- .github/workflows/rg-security.yml | 4 ++-- test/security-workflow.test.ts | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/rg-security.yml b/.github/workflows/rg-security.yml index 2e28829..55b279e 100644 --- a/.github/workflows/rg-security.yml +++ b/.github/workflows/rg-security.yml @@ -39,7 +39,7 @@ jobs: timeout-minutes: 20 steps: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 - - uses: github/codeql-action/init@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 # v4 + - uses: github/codeql-action/init@5595ccaf912efad79be6eef63a5619ff05969be3 # v4 with: languages: ${{ inputs.codeql-languages }} - uses: github/codeql-action/analyze@5595ccaf912efad79be6eef63a5619ff05969be3 # v4 @@ -55,7 +55,7 @@ jobs: --lockfile=${{ inputs.lockfile }} --format=sarif --output=osv-results.sarif - - uses: github/codeql-action/upload-sarif@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 # v4 + - uses: github/codeql-action/upload-sarif@5595ccaf912efad79be6eef63a5619ff05969be3 # v4 if: always() && hashFiles('osv-results.sarif') != '' with: sarif_file: osv-results.sarif diff --git a/test/security-workflow.test.ts b/test/security-workflow.test.ts index 89eb35b..1ce8476 100644 --- a/test/security-workflow.test.ts +++ b/test/security-workflow.test.ts @@ -79,9 +79,9 @@ describe("security and reusable workflows", () => { .filter((uses): uses is string => uses?.startsWith("github/codeql-action/") ?? false) .map((uses) => uses.split("@")[1]); expect(codeqlActionVersions).toEqual([ - "e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81", - "e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81", - "e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81" + "5595ccaf912efad79be6eef63a5619ff05969be3", + "5595ccaf912efad79be6eef63a5619ff05969be3", + "5595ccaf912efad79be6eef63a5619ff05969be3" ]); const codeqlSteps = rgSecurity.jobs.security.steps.filter((step: { uses?: string }) => @@ -89,7 +89,7 @@ describe("security and reusable workflows", () => { ); const codeqlVersions = codeqlSteps.map((step: { uses: string }) => step.uses.split("@")[1]); expect(codeqlVersions).toHaveLength(3); - expect(new Set(codeqlVersions)).toEqual(new Set(["e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81"])); + expect(new Set(codeqlVersions)).toEqual(new Set(["5595ccaf912efad79be6eef63a5619ff05969be3"])); const rgRelease = YAML.parse( fs.readFileSync(path.resolve(".github/workflows/rg-release.yml"), "utf8")