Skip to content

Commit

Permalink
Improve warning when using autobuild with multi-language builds
Browse files Browse the repository at this point in the history
  • Loading branch information
henrymercer committed Sep 13, 2022
1 parent 4cc9576 commit f32e161
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion lib/autobuild.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/autobuild.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion src/autobuild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,11 @@ export async function determineAutobuildLanguages(
" 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"
);
}

Expand Down

0 comments on commit f32e161

Please sign in to comment.