mirror of
https://github.com/github/codeql-action.git
synced 2026-01-04 13:40:23 +08:00
Add actions extractor to search path
This commit is contained in:
@@ -570,6 +570,12 @@ export async function getCodeQLForCmd(
|
||||
extraArgs.push(`--trace-process-name=${processName}`);
|
||||
}
|
||||
|
||||
if (config.languages.indexOf(Language.actions) >= 0) {
|
||||
extraArgs.push("--search-path");
|
||||
const extractorPath = path.resolve(__dirname, "../actions-extractor");
|
||||
extraArgs.push(extractorPath);
|
||||
}
|
||||
|
||||
const codeScanningConfigFile = await generateCodeScanningConfig(
|
||||
config,
|
||||
logger,
|
||||
|
||||
Reference in New Issue
Block a user