Export configuration information for red runs

This commit is contained in:
Henry Mercer
2023-03-07 18:03:58 +00:00
parent e4b846c482
commit d98eadb536
12 changed files with 92 additions and 19 deletions
+9
View File
@@ -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");
}