Improve warning when using autobuild with multi-language builds
This commit is contained in:
parent
4cc95769d4
commit
f32e161cdd
3 changed files with 9 additions and 3 deletions
4
lib/autobuild.js
generated
4
lib/autobuild.js
generated
|
|
@ -84,7 +84,9 @@ async function determineAutobuildLanguages(config, featureFlags, logger) {
|
|||
if (autobuildLanguagesWithoutGo.length > 1) {
|
||||
logger.warning(`We will only automatically build ${languages.join(" and ")} code. If you wish to scan ${autobuildLanguagesWithoutGo
|
||||
.slice(1)
|
||||
.join(" and ")}, you must replace this call with custom build steps.`);
|
||||
.join(" and ")}, you must replace the autobuild step of your workflow with custom build steps. ` +
|
||||
"For more information, see " +
|
||||
"https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language");
|
||||
}
|
||||
return languages;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue