Skip to content

chore(ci): add CodeQL workflow with autobuild for C##35

Merged
senrecep merged 2 commits into
mainfrom
chore/codeql-autobuild
May 27, 2026
Merged

chore(ci): add CodeQL workflow with autobuild for C##35
senrecep merged 2 commits into
mainfrom
chore/codeql-autobuild

Conversation

@senrecep

Copy link
Copy Markdown
Owner

Summary

  • Add custom CodeQL workflow (.github/workflows/codeql.yml) to replace the default setup
  • Uses autobuild build mode for C# instead of none — this runs dotnet build so CodeQL can resolve type information and dependency call targets
  • Fixes low C# analysis quality warning: call target resolution was 65% (threshold: 85%)

Root Cause

The default CodeQL setup uses build-mode: none for C#, which skips the actual build step. Without a real build, CodeQL cannot resolve cross-assembly calls or fully-typed expressions, leading to degraded analysis quality.

Test plan

  • CodeQL Action runs successfully on this PR
  • language:csharp analysis quality warning is resolved (call target ≥ 85%)
  • No new security alerts introduced

🤖 Generated with Claude Code

senrecep and others added 2 commits May 27, 2026 22:42
Replaces the default CodeQL setup (build-mode: none) with a custom
workflow using autobuild, resolving low C# analysis quality warnings
(call target resolution was 65%, below the 85% threshold).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@senrecep
senrecep merged commit b4bf559 into main May 27, 2026
8 checks passed
@senrecep
senrecep deleted the chore/codeql-autobuild branch May 31, 2026 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant