mirror of
https://github.com/github/codeql.git
synced 2026-05-04 13:15:21 +02:00
fix(action): qls reference
This commit is contained in:
4
.github/action/dist/index.js
vendored
4
.github/action/dist/index.js
vendored
@@ -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, "..", "..", ".."));
|
||||
|
||||
2
.github/action/src/codeql.ts
vendored
2
.github/action/src/codeql.ts
vendored
@@ -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
|
||||
|
||||
2
.github/action/src/index.ts
vendored
2
.github/action/src/index.ts
vendored
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user