Enable only code-scanning

This commit is contained in:
Michael B. Gale
2026-05-12 15:46:28 +01:00
parent 312a2fee96
commit 257b3d3fc8
4 changed files with 23 additions and 13 deletions
+4 -2
View File
@@ -87589,9 +87589,11 @@ async function getAnalysisKinds(logger, features, skipCache = false) {
}
}
if (!isInTestMode() && analysisKinds.length > 1 && !await features.getValue("allow_multiple_analysis_kinds" /* AllowMultipleAnalysisKinds */)) {
throw new ConfigurationError(
"The `analysis-kinds` input is experimental and for GitHub-internal use only. Its behaviour may change at any time or be removed entirely. Specifying multiple values as input is no longer supported."
logger.error(
"The `analysis-kinds` input is experimental and for GitHub-internal use only. Its behaviour may change at any time or be removed entirely. Specifying multiple values as input is no longer supported. Continuing with only `analysis-kinds: code-scanning`."
);
cachedAnalysisKinds = ["code-scanning" /* CodeScanning */];
return cachedAnalysisKinds;
}
cachedAnalysisKinds = analysisKinds;
return cachedAnalysisKinds;