Skip to content

Fix CodeQL C# analysis to run on Windows#312

Merged
shibayan merged 2 commits intoshibayan-patch-1from
copilot/sub-pr-309-another-one
Mar 6, 2026
Merged

Fix CodeQL C# analysis to run on Windows#312
shibayan merged 2 commits intoshibayan-patch-1from
copilot/sub-pr-309-another-one

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 6, 2026

The CodeQL workflow ran C# analysis on ubuntu-latest, causing autobuild to fail since the project is a WPF app targeting net10.0-windows.

Changes

  • .github/workflows/codeql.yml: Added os to each matrix entry and switched runs-on to ${{ matrix.os }}
    • actionsubuntu-latest
    • csharpwindows-latest
matrix:
  include:
  - language: actions
    build-mode: none
    os: ubuntu-latest
  - language: csharp
    build-mode: autobuild
    os: windows-latest

💡 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.

Co-authored-by: shibayan <1356444+shibayan@users.noreply.github.com>
Copilot AI changed the title [WIP] Update CodeQL workflow for clarity improvements Fix CodeQL C# analysis to run on Windows Mar 6, 2026
@shibayan shibayan marked this pull request as ready for review March 6, 2026 07:43
@shibayan shibayan merged commit 52aba2c into shibayan-patch-1 Mar 6, 2026
@shibayan shibayan deleted the copilot/sub-pr-309-another-one branch March 6, 2026 07:43
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>
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.

2 participants