mirror of
https://github.com/github/codeql-action.git
synced 2026-10-21 02:01:27 +00:00
Do not show lint failed in the UX if it happens
This commit is contained in:
2
lib/init-action.js
generated
2
lib/init-action.js
generated
@@ -56,7 +56,7 @@ async function run() {
|
||||
try {
|
||||
actionsUtil.prepareLocalRunEnvironment();
|
||||
const workflowErrors = await actionsUtil.getWorkflowErrors();
|
||||
if (workflowErrors.length > 0) {
|
||||
if (workflowErrors.filter(o => o.code !== 'LintFailed').length > 0) {
|
||||
core.warning(actionsUtil.formatWorkflowErrors(workflowErrors));
|
||||
}
|
||||
if (!(await actionsUtil.sendStatusReport(await actionsUtil.createStatusReportBase("init", "starting", startedAt, actionsUtil.formatWorkflowCause(workflowErrors))))) {
|
||||
|
||||
Reference in New Issue
Block a user