Skip to content

Commit 252ecea

Browse files
committed
codeql: Run driver queries, not all cpp queries
Otherwise conflicts and errors in the run Signed-off-by: Daniel Schaefer <dhs@frame.work>
1 parent 81bb4f5 commit 252ecea

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/codeql/codeql-config.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# CodeQL configuration for WHCP Windows 11 25H2 certification
2+
# See: https://learn.microsoft.com/en-us/windows-hardware/drivers/devtest/static-tools-and-codeql
3+
disable-default-queries: true
4+
packs:
5+
- microsoft/windows-drivers@1.8.0:windows-driver-suites/recommended.qls
6+
- microsoft/cpp-queries@0.0.4

.github/workflows/codeql.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,9 @@ jobs:
1919
uses: github/codeql-action/init@v4
2020
with:
2121
languages: cpp
22-
# Versions for WHCP Windows 11 25H2 certification
23-
# See: https://learn.microsoft.com/en-us/windows-hardware/drivers/devtest/static-tools-and-codeql
22+
# Pin CodeQL CLI version for WHCP Windows 11 25H2 certification
2423
tools: https://github.com/github/codeql-action/releases/download/codeql-bundle-v2.20.1/codeql-bundle-win64.tar.gz
25-
packs: +microsoft/windows-drivers@1.8.0,microsoft/cpp-queries@0.0.4
24+
config-file: .github/codeql/codeql-config.yml
2625

2726
- name: Add MSBuild to PATH
2827
uses: microsoft/setup-msbuild@v2

0 commit comments

Comments
 (0)