Add a log in the OK case
This commit is contained in:
parent
06662f546c
commit
95c219819d
3 changed files with 7 additions and 3 deletions
4
lib/init-action.js
generated
4
lib/init-action.js
generated
|
|
@ -133,7 +133,9 @@ async function run() {
|
|||
toolsVersion = initCodeQLResult.toolsVersion;
|
||||
toolsSource = initCodeQLResult.toolsSource;
|
||||
core.startGroup("Validating workflow");
|
||||
await (0, workflow_1.validateWorkflow)(codeql, logger);
|
||||
if ((await (0, workflow_1.validateWorkflow)(codeql, logger)) === undefined) {
|
||||
logger.info("Detected no issues with the code scanning workflow.");
|
||||
}
|
||||
core.endGroup();
|
||||
config = await (0, init_1.initConfig)((0, actions_util_1.getOptionalInput)("languages"), (0, actions_util_1.getOptionalInput)("queries"), (0, actions_util_1.getOptionalInput)("packs"), registriesInput, (0, actions_util_1.getOptionalInput)("config-file"), (0, actions_util_1.getOptionalInput)("db-location"), (0, actions_util_1.getOptionalInput)("config"), getTrapCachingEnabled(),
|
||||
// Debug mode is enabled if:
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -256,7 +256,9 @@ async function run() {
|
|||
toolsSource = initCodeQLResult.toolsSource;
|
||||
|
||||
core.startGroup("Validating workflow");
|
||||
await validateWorkflow(codeql, logger);
|
||||
if ((await validateWorkflow(codeql, logger)) === undefined) {
|
||||
logger.info("Detected no issues with the code scanning workflow.");
|
||||
}
|
||||
core.endGroup();
|
||||
|
||||
config = await initConfig(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue