Skip to content

Commit

Permalink
Merge pull request #278 from github/daverlo/setup-python-dependencies
Browse files Browse the repository at this point in the history
Use setup-python-dependencies input
  • Loading branch information
Daverlo committed Oct 27, 2020
2 parents abe6b7b + 8db7d74 commit 46110c3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion lib/init-action.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/init-action.js.map

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

5 changes: 4 additions & 1 deletion src/init-action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 46110c3

Please sign in to comment.