mirror of
https://github.com/github/codeql-action.git
synced 2026-10-30 17:39:50 +00: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:
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
Reference in New Issue
Block a user