mirror of
https://github.com/github/codeql-action.git
synced 2026-10-29 17:17:15 +00:00
Update src/actions-util.ts
Co-authored-by: Henry Mercer <henrymercer@github.com>
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user