Skip to content

Commit 3b5fbbf

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 d7d25e1 commit 3b5fbbf

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/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,9 @@ jobs:
6565
uses: github/codeql-action/init@v4
6666
with:
6767
languages: cpp
68-
# Pin versions for WHCP Windows 11 25H2 certification
69-
# See: https://learn.microsoft.com/en-us/windows-hardware/drivers/devtest/static-tools-and-codeql
68+
# Pin CodeQL CLI version for WHCP Windows 11 25H2 certification
7069
tools: https://github.com/github/codeql-action/releases/download/codeql-bundle-v2.20.1/codeql-bundle-win64.tar.gz
71-
packs: +microsoft/windows-drivers@1.8.0,microsoft/cpp-queries@0.0.4
70+
config-file: .github/codeql/codeql-config.yml
7271

7372
- name: Setup NuGet
7473
uses: NuGet/setup-nuget@v2

0 commit comments

Comments
 (0)