Skip to content

Add .NET/C# instructions to multi-language workflows#16155

Merged
pelikhan merged 3 commits intogithub:mainfrom
ViktorHofer:dotnet-workflow-instructions
Feb 16, 2026
Merged

Add .NET/C# instructions to multi-language workflows#16155
pelikhan merged 3 commits intogithub:mainfrom
ViktorHofer:dotnet-workflow-instructions

Conversation

@ViktorHofer
Copy link
Contributor

Fixes #16152

Copilot AI review requested due to automatic review settings February 16, 2026 16:49
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates several agent workflow prompts/pattern docs to better support .NET/C# repositories, so multi-language workflows behave more correctly out of the box (per issue #16152).

Changes:

  • Expanded “test file” pattern matching to include common C# test filenames in metrics/counting instructions.
  • Included .csproj as a recognized build/dependency manifest in workflow heuristics.
  • Added .NET/C# development and validation commands (e.g., dotnet test, dotnet build) to the Code Simplifier workflow guidance.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
.github/workflows/shared/metrics-patterns.md Extends test-file patterns used for LOC/test metrics to include C# tests.
.github/workflows/repository-quality-improver.md Updates test counting and security grep includes to account for C# files.
.github/workflows/repo-audit-analyzer.md Treats *.csproj as a build/test indicator alongside other ecosystem manifests.
.github/workflows/pr-triage-agent.md Updates PR categorization heuristics to recognize C# tests and project files.
.github/workflows/copilot-pr-merged-report.md Adds C# test file patterns to reporting instructions/templates.
.github/workflows/code-simplifier.md Adds .NET/C# coding standards guidance and dotnet CLI validation steps.
.github/workflows/bot-detection.md Extends “dependency manifests” risk scoring to include .NET manifest files.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

ViktorHofer and others added 2 commits February 16, 2026 17:57
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@ViktorHofer
Copy link
Contributor Author

Thanks for approving @pelikhan. Feel free to merge. I won't push any further commits.

@pelikhan pelikhan merged commit bb3a3b3 into github:main Feb 16, 2026
52 checks passed
@ViktorHofer ViktorHofer deleted the dotnet-workflow-instructions branch February 16, 2026 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add .NET instructions to workflows

2 participants