-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Run linters" check passes despite linting errors #31
Comments
That's the expected behavior. That's why the build step is called "Run linters" in the example workflow. IMO it would be confusing if two checks would fail because of one linting error. Users might also go look at the "Run linters" step to see why it failed, which wouldn't contain the information they're looking for (the linting errors). |
While I see your point about not wanting to be confusing for users, it should be possible output a message to help users see that that one or more of the lint checks failed and point them to look at those checks. I think a lot of users of this action would benefit from having a way to prevent other jobs from running if linting fails. If that is not something you want to provide in this action that is of course up to you. I know I would really appreciate if you would share your preferred method for achieving this in your own workflows. |
Hi, I'm trying to use a workflow with a lint job and a build job. The build job is set to need the lint to complete successfully to begin so that I don't waste time building if linting returned issues. When linting though, that step is marked successfully completed even if the linters found issues. Is this expected behaviour? Shouldn't the step be marked fail if the linter returns issues?
The text was updated successfully, but these errors were encountered: