Merge branch 'main' into robertbrignull/toolcache-query-safety

This commit is contained in:
Robert 2021-03-16 15:29:47 +00:00
commit 5004a54ed3
3 changed files with 10 additions and 1 deletions

5
lib/codeql.js generated
View file

@ -54,6 +54,11 @@ function getCodeQLActionRepository(mode, logger) {
if (mode !== "actions") {
return CODEQL_DEFAULT_ACTION_REPOSITORY;
}
else {
return getActionsCodeQLActionRepository(logger);
}
}
function getActionsCodeQLActionRepository(logger) {
if (process.env["GITHUB_ACTION_REPOSITORY"] !== undefined) {
return process.env["GITHUB_ACTION_REPOSITORY"];
}