mirror of
https://github.com/github/codeql-action.git
synced 2025-12-27 17:50:07 +08:00
Fix runInterpretResultsFor using the wrong AnalysisConfig for category fix
This commit is contained in:
@@ -780,7 +780,7 @@ export async function runQueries(
|
||||
// If this is a Code Quality analysis, correct the category to one
|
||||
// accepted by the Code Quality backend.
|
||||
let category = automationDetailsId;
|
||||
if (dbAnalysisConfig.kind === analyses.AnalysisKind.CodeQuality) {
|
||||
if (analysis.kind === analyses.AnalysisKind.CodeQuality) {
|
||||
category = fixCodeQualityCategory(logger, automationDetailsId);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user