mirror of
https://github.com/github/codeql-action.git
synced 2026-01-02 04:30:14 +08:00
Do not warn users if a workflow cannot be read
This will still send a LintFailed message status report.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user