Skip to content
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

Add an option to convert warnings to errors #229

Closed
marekdedic opened this issue Jan 2, 2025 · 4 comments · Fixed by #238
Closed

Add an option to convert warnings to errors #229

marekdedic opened this issue Jan 2, 2025 · 4 comments · Fixed by #238
Labels
enhancement New feature or request

Comments

@marekdedic
Copy link

Hi,
since I am using this in an automated way, I'd like to be able to enforce a kind of strict mode, where the action fails if there are any errors or warnings, could that be added as an option?

@swissspidy
Copy link
Member

We recently added severity levels in the plugin, which we can expose in the GitHub Action as well to make this possible. Makes sense to me 👍

@swissspidy swissspidy added the enhancement New feature or request label Jan 2, 2025
@swissspidy
Copy link
Member

In addition to that, I think I'd still need to change the exit code accordingly to make it truly strict.

@ernilambar
Copy link
Member

I would also 👍 this. I was looking for error-severity and warning-severity option just recently.

@swissspidy
Copy link
Member

#238 should fix this, haven't tested it yet though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants