Do not show lint failed in the UX if it happens
This commit is contained in:
parent
b1be00db57
commit
56b1ead679
3 changed files with 3 additions and 3 deletions
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))))) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue