Skip to content

Commit 243b405

Browse files
committed
build(deps): bump codeql-action init and analyze together to v4.38.0
Dependabot split one upgrade across three PRs -- init (DeusData#2185), analyze (DeusData#2187) and upload-sarif (DeusData#2186) -- but init and analyze share a configuration file and CodeQL refuses to read one written by a different version: Loaded a configuration file for version '4.38.0', but running version '4.37.9' So DeusData#2185 and DeusData#2187 each go red on their own and neither can reach a green required check, which means they cannot be merged one after the other either: whichever lands first leaves the pair mismatched. The action also warns about it directly -- "Not all workflow steps that use github/codeql-action actions use the same version". Both refs in codeql.yml therefore move in one commit, to the same pinned SHA b96794f015dfd88f77b49b1c93e0fa7110f94c63 that both bot PRs target. scorecard.yml's upload-sarif is deliberately not touched here: it runs in a separate workflow that shares no configuration with init/analyze, which is why DeusData#2186 is green on its own and can land as its own PR. Supersedes DeusData#2185 and DeusData#2187. Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
1 parent f1e5113 commit 243b405

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/workflows/codeql.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
run: sudo apt-get update && sudo apt-get install -y zlib1g-dev
3030

3131
- name: Initialize CodeQL
32-
uses: github/codeql-action/init@cdf488f595d80d6e07e03d4674febd5ab45fa938 # v4.37.9
32+
uses: github/codeql-action/init@b96794f015dfd88f77b49b1c93e0fa7110f94c63 # v4.38.0
3333
with:
3434
languages: c-cpp
3535
build-mode: manual
@@ -38,6 +38,6 @@ jobs:
3838
run: scripts/build.sh
3939

4040
- name: Perform CodeQL Analysis
41-
uses: github/codeql-action/analyze@cdf488f595d80d6e07e03d4674febd5ab45fa938 # v4.37.9
41+
uses: github/codeql-action/analyze@b96794f015dfd88f77b49b1c93e0fa7110f94c63 # v4.38.0
4242
with:
4343
category: "/language:c-cpp"

0 commit comments

Comments
 (0)