Add .NET/C# instructions to multi-language workflows#16155
Merged
pelikhan merged 3 commits intogithub:mainfrom Feb 16, 2026
Merged
Add .NET/C# instructions to multi-language workflows#16155pelikhan merged 3 commits intogithub:mainfrom
pelikhan merged 3 commits intogithub:mainfrom
Conversation
Contributor
There was a problem hiding this comment.
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
.csprojas 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.
pelikhan
approved these changes
Feb 16, 2026
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Contributor
Author
|
Thanks for approving @pelikhan. Feel free to merge. I won't push any further commits. |
This was referenced Feb 16, 2026
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.
Fixes #16152