Merge pull request #2582 from github/dbartol/actions-extractor

Temporarily include the Actions extractor with the Action
This commit is contained in:
Dave Bartolomeo 2024-11-08 11:55:35 -05:00 committed by GitHub
commit f43e2e0027
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 139 additions and 1 deletions

View file

@ -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,