Skip to content

Commit 3c46ae0

Browse files
Bump codeql-action to v4.36.2, group future bumps
Bump both github/codeql-action/init and .../analyze to v4.36.2 in one change. CodeQL fails when its steps run mixed versions, so the two sub-actions must move together. Dependabot split the 4.36.1 -> 4.36.2 bump into separate PRs (#200, #201), each of which left a version mismatch that failed the Analyze job; this supersedes both. Add a Dependabot group for github/codeql-action* so future bumps arrive as a single PR and the mismatch cannot recur.
1 parent d8bf890 commit 3c46ae0

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

.github/dependabot.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,12 @@ updates:
2222
commit-message:
2323
prefix: "chore"
2424
include: "scope"
25+
# Group the codeql-action sub-actions (init / analyze / upload-sarif)
26+
# into a single PR. They share one version, and CodeQL refuses to run
27+
# when its steps mix versions, so they must bump in lockstep. Separate
28+
# per-sub-action PRs each leave a version mismatch that fails CI (the
29+
# split that produced PRs #200 / #201).
30+
groups:
31+
codeql-action:
32+
patterns:
33+
- "github/codeql-action*"

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
4444

4545
- name: Initialize CodeQL
46-
uses: github/codeql-action/init@87557b9c84dde89fdd9b10e88954ac2f4248e463 # v4.36.1
46+
uses: github/codeql-action/init@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2
4747
with:
4848
languages: ${{ matrix.language }}
4949
# Reference the in-tree config so the rule-suppressions land.
@@ -56,6 +56,6 @@ jobs:
5656
queries: security-and-quality
5757

5858
- name: Perform CodeQL Analysis
59-
uses: github/codeql-action/analyze@87557b9c84dde89fdd9b10e88954ac2f4248e463 # v4.36.1
59+
uses: github/codeql-action/analyze@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2
6060
with:
6161
category: "/language:${{ matrix.language }}"

0 commit comments

Comments
 (0)