mirror of
https://github.com/github/codeql-action.git
synced 2026-04-23 23:38:53 +00:00
Export configuration information for red runs
This commit is contained in:
@@ -2066,3 +2066,12 @@ export async function wrapEnvironment(
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the path to the code scanning configuration generated by the CLI.
|
||||
*
|
||||
* This will not exist if the configuration is being parsed in the Action.
|
||||
*/
|
||||
export function getGeneratedCodeScanningConfigPath(config: Config): string {
|
||||
return path.resolve(config.tempDir, "user-config.yaml");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user