Skip to content

Commit 80393ad

Browse files
committed
ci: specify C# language for CodeQL analysis
Overrides automatic language detection in CodeQL workflow to analyze only C#. Excludes C/C++ code requiring separate build configurations.
1 parent 16d31ab commit 80393ad

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ jobs:
7070
# Initializes the CodeQL tools for scanning.
7171
- name: Initialize CodeQL
7272
uses: github/codeql-action/init@5d5cd550d3e189c569da8f16ea8de2d821c9bf7a # v3.31.2
73+
with:
74+
# Override automatic language detection to only analyze C#
75+
# C/C++ code in Yubico.NativeShims is built separately (requires CMake/vcpkg)
76+
languages: ['csharp']
7377

7478
# Build the project
7579
- name: Build Yubico.NET.SDK.sln

0 commit comments

Comments
 (0)