Skip to content

Commit 4575212

Browse files
committed
Use setup-python-dependencies input
1 parent fb7d0f7 commit 4575212

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

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)