Do not warn users if a workflow cannot be read
This will still send a LintFailed message status report.
This commit is contained in:
parent
484a9ad67e
commit
4547749a2f
3 changed files with 1 additions and 3 deletions
1
lib/actions-util.js
generated
1
lib/actions-util.js
generated
|
|
@ -294,7 +294,6 @@ async function getWorkflow() {
|
|||
return yaml.safeLoad(fs.readFileSync(absolutePath, "utf-8"));
|
||||
}
|
||||
catch (e) {
|
||||
core.warning(`Could not read workflow: ${e.toString()}`);
|
||||
return undefined;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -356,7 +356,6 @@ export async function getWorkflow(): Promise<Workflow | undefined> {
|
|||
try {
|
||||
return yaml.safeLoad(fs.readFileSync(absolutePath, "utf-8"));
|
||||
} catch (e) {
|
||||
core.warning(`Could not read workflow: ${e.toString()}`);
|
||||
return undefined;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue