Fix CodeQL workflow: add setup-dotnet for C# autobuild on Windows#310
Merged
shibayan merged 3 commits intoshibayan-patch-1from Mar 6, 2026
Merged
Fix CodeQL workflow: add setup-dotnet for C# autobuild on Windows#310shibayan merged 3 commits intoshibayan-patch-1from
shibayan merged 3 commits intoshibayan-patch-1from
Conversation
Co-authored-by: shibayan <1356444+shibayan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Refactor CodeQL workflow for clarity improvements
Fix CodeQL workflow: add setup-dotnet for C# autobuild on Windows
Mar 6, 2026
shibayan
added a commit
that referenced
this pull request
Mar 6, 2026
* Refactor CodeQL workflow for improved clarity Updated CodeQL workflow to include autobuild mode and removed unnecessary comments. * Fix CodeQL C# analysis to run on Windows (#312) * Initial plan * Fix CodeQL workflow to use windows-latest for C# analysis Co-authored-by: shibayan <1356444+shibayan@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: shibayan <1356444+shibayan@users.noreply.github.com> * Pin codeql.yml actions to full commit SHAs (#311) * Initial plan * Pin codeql.yml actions to full commit SHAs for supply chain hardening Co-authored-by: shibayan <1356444+shibayan@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: shibayan <1356444+shibayan@users.noreply.github.com> * Fix CodeQL workflow: add setup-dotnet for C# autobuild on Windows (#310) * Initial plan * Add setup-dotnet step to CodeQL workflow for C# autobuild Co-authored-by: shibayan <1356444+shibayan@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: shibayan <1356444+shibayan@users.noreply.github.com> Co-authored-by: Tatsuro Shibamura <me@shibayan.jp> --------- Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: shibayan <1356444+shibayan@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The CodeQL workflow was missing a .NET SDK setup step, causing C# autobuild to fail on a fresh runner. The project targets
net10.0-windows(WPF), which also requires a Windows runner.Changes
runs-onupdated to selectwindows-latestforcsharpmatrix entryactions/setup-dotnetstep gated tomatrix.language == 'csharp', using sharedDOTNET_VERSION: 10.0.xenv varactions/checkoutandactions/setup-dotnetpinned to full commit SHAs, consistent withbuild.ymlandpublish.yml💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.