Merge branch 'main' into henrymercer/zstd-stream
This commit is contained in:
commit
5f519a326a
15 changed files with 115 additions and 7 deletions
|
|
@ -612,6 +612,24 @@ async function run() {
|
|||
);
|
||||
}
|
||||
|
||||
if (
|
||||
await codeql.supportsFeature(
|
||||
ToolsFeature.PythonDefaultIsToNotExtractStdlib,
|
||||
)
|
||||
) {
|
||||
// We are in the case where the default has switched to not extracting the stdlib.
|
||||
if (
|
||||
!(await features.getValue(
|
||||
Feature.CodeqlActionPythonDefaultIsToNotExtractStdlib,
|
||||
codeql,
|
||||
))
|
||||
) {
|
||||
// We are in a situation where the feature flag is not rolled out,
|
||||
// so we need to suppress the new default behavior.
|
||||
core.exportVariable("CODEQL_EXTRACTOR_PYTHON_EXTRACT_STDLIB", "true");
|
||||
}
|
||||
}
|
||||
|
||||
const sourceRoot = path.resolve(
|
||||
getRequiredEnvParam("GITHUB_WORKSPACE"),
|
||||
getOptionalInput("source-root") || "",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue