Update src/actions-util.ts

Co-authored-by: Henry Mercer <henrymercer@github.com>
This commit is contained in:
Michael B. Gale
2025-08-06 10:38:05 +01:00
parent 72770345eb
commit 9fb8f2d0c2
3 changed files with 9 additions and 3 deletions

View File

@@ -411,7 +411,10 @@ export function isAnalyzingPullRequest(): boolean {
return getPullRequestBranches() !== undefined;
}
// A mapping from old categories to new ones.
/**
* A workaround for code quality to map category names from old default setup workflows
* to ones that the code quality service expects.
*/
const qualityCategoryMapping: Record<string, string> = {
"c#": "csharp",
cpp: "c-cpp",