fix(action): qls reference

This commit is contained in:
Alvaro Muñoz
2024-02-16 15:49:29 +01:00
parent 76f245b337
commit 8ae1e26d5d
3 changed files with 4 additions and 4 deletions

View File

@@ -28707,7 +28707,7 @@ async function codeqlDatabaseAnalyze(codeql, database_path) {
codeql_output,
];
// remote pack or local pack
if (codeql.pack.startsWith("GitHubSecurityLab/")) {
if (codeql.pack.startsWith("githubsecuritylab/")) {
var suite = codeql.pack + ":" + codeql.suite;
}
else {
@@ -28779,7 +28779,7 @@ async function run() {
throw new Error("CodeQL Yaml extractor not installed");
}
// download pack
core.info(`Downloading CodeQL IaC pack '${codeql.pack}'`);
core.info(`Downloading CodeQL Actions pack '${codeql.pack}'`);
var pack_downloaded = await cql.downloadPack(codeql);
if (pack_downloaded === false) {
var action_path = path.resolve(path.join(__dirname, "..", "..", ".."));

View File

@@ -148,7 +148,7 @@ export async function codeqlDatabaseAnalyze(
];
// remote pack or local pack
if (codeql.pack.startsWith("GitHubSecurityLab/")) {
if (codeql.pack.startsWith("githubsecuritylab/")) {
var suite = codeql.pack + ":" + codeql.suite;
} else {
// assume path

View File

@@ -29,7 +29,7 @@ export async function run(): Promise<void> {
}
// download pack
core.info(`Downloading CodeQL IaC pack '${codeql.pack}'`);
core.info(`Downloading CodeQL Actions pack '${codeql.pack}'`);
var pack_downloaded = await cql.downloadPack(codeql);
if (pack_downloaded === false) {