Skip to content

Commit f32e161

Browse files
committed
Improve warning when using autobuild with multi-language builds
1 parent 4cc9576 commit f32e161

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

lib/autobuild.js

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/autobuild.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/autobuild.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,11 @@ export async function determineAutobuildLanguages(
8585
" and "
8686
)} code. If you wish to scan ${autobuildLanguagesWithoutGo
8787
.slice(1)
88-
.join(" and ")}, you must replace this call with custom build steps.`
88+
.join(
89+
" and "
90+
)}, you must replace the autobuild step of your workflow with custom build steps. ` +
91+
"For more information, see " +
92+
"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"
8993
);
9094
}
9195

0 commit comments

Comments
 (0)