Use setup-python-dependencies input

This commit is contained in:
David Verdeguer 2020-10-27 10:06:17 +01:00
parent fb7d0f72e5
commit 4575212a76
3 changed files with 7 additions and 3 deletions

View file

@ -119,7 +119,10 @@ async function run() {
logger
);
if (config.languages.includes(Language.python)) {
if (
config.languages.includes(Language.python) &&
actionsUtil.getRequiredInput("setup-python-dependencies") === "true"
) {
try {
await installPythonDeps(codeql, logger);
} catch (err) {