Merge pull request #1970 from github/henrymercer/clean-up-init-logs

Validate workflow within new log group
This commit is contained in:
Henry Mercer
2023-10-27 09:32:26 +01:00
committed by GitHub
3 changed files with 11 additions and 3 deletions

View File

@@ -255,7 +255,11 @@ async function run() {
toolsVersion = initCodeQLResult.toolsVersion;
toolsSource = initCodeQLResult.toolsSource;
await validateWorkflow(codeql, logger);
core.startGroup("Validating workflow");
if ((await validateWorkflow(codeql, logger)) === undefined) {
logger.info("Detected no issues with the code scanning workflow.");
}
core.endGroup();
config = await initConfig(
getOptionalInput("languages"),