Skip to content

Commit 46110c3

Browse files
authored
Merge pull request #278 from github/daverlo/setup-python-dependencies
Use setup-python-dependencies input
2 parents abe6b7b + 8db7d74 commit 46110c3

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

lib/init-action.js

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

lib/init-action.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/init-action.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,10 @@ async function run() {
119119
logger
120120
);
121121

122-
if (config.languages.includes(Language.python)) {
122+
if (
123+
config.languages.includes(Language.python) &&
124+
actionsUtil.getRequiredInput("setup-python-dependencies") === "true"
125+
) {
123126
try {
124127
await installPythonDeps(codeql, logger);
125128
} catch (err) {

0 commit comments

Comments
 (0)