Do not warn users if a workflow cannot be read

This will still send a LintFailed message status report.
This commit is contained in:
Simon Engledew
2021-01-21 15:51:42 +00:00
parent 484a9ad67e
commit 4547749a2f
3 changed files with 1 additions and 3 deletions

View File

@@ -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;
}
}