mirror of
https://github.com/github/codeql-action
synced 2026-12-04 13:59:31 +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:
3 files changed
+1
-3
No files matched your search
Generated
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user