-
-
Notifications
You must be signed in to change notification settings - Fork 237
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
npm-groovy-lint is raising a false positive error on GitHub Actions #1872
Comments
This issue has been automatically marked as stale because it has not had recent activity. If you think this issue should stay open, please remove the |
Let me know if you need me to create a sample repo for this issue. |
@tylervz it is an expected behavior to fail if issues are found by npm-groovy-lint, even if they are at info level I'll make an update allowing you to override such behavior and make than only issues with level "error" makes MegaLinter fail No need to make a sample repo, I'm also the creator and maintainer of npm-groovy-lint ^^ |
* Remove default npm-groovy-lint extra arguments Fixes #1872 * [MegaLinter] Apply linters fixes Co-authored-by: nvuillam <nvuillam@users.noreply.github.com>
Describe the bug
npm-groovy-lint
is reporting it found 1 error when it linted the Groovy files on our branch in the GitHub Actions MegaLinter workflow, but when we expand the report for details it shows that no rules of the "Error" severity were actually broken. I would expectnpm-groovy-lint
Info and Warning statements to not result in an error, causing the MegaLinter job to fail on GitHub actions.The full MegaLinter log of the npm-groovy-lint run can be found here:
ERROR-GROOVY_NPM_GROOVY_LINT.log
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I would expect
npm-groovy-lint
Info and Warning statements to not result in an error, causing the MegaLinter job to fail on GitHub actions.The text was updated successfully, but these errors were encountered: