This commit is contained in:
github-actions[bot] 2024-04-08 09:27:23 +00:00
parent fcdff8b3c9
commit bcb5e6e0b8
2 changed files with 7 additions and 3 deletions

8
lib/init-action.js generated
View file

@ -274,8 +274,12 @@ async function run() {
// for the python extractor is to not perform any library extraction. For versions
// before that, you needed to set this flag to enable this behavior (supported since
// 2.13.1). Since dependency installation is no longer supported in the action, we
if (await (0, util_1.codeQlVersionAbove)(codeql, "2.16.0")) {
// do nothing
if (await (0, util_1.codeQlVersionAbove)(codeql, "2.17.1")) {
// disabled by default, no warning
}
else if (await (0, util_1.codeQlVersionAbove)(codeql, "2.16.0")) {
// disabled by default, prints warning if environment variable is not set
core.exportVariable("CODEQL_EXTRACTOR_PYTHON_DISABLE_LIBRARY_EXTRACTION", "true");
}
else if (await (0, util_1.codeQlVersionAbove)(codeql, "2.13.1")) {
core.exportVariable("CODEQL_EXTRACTOR_PYTHON_DISABLE_LIBRARY_EXTRACTION", "true");

File diff suppressed because one or more lines are too long