-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
Action fails even if fail_on_error is false #89
Comments
Any workaround for this? Thanks! |
I have a fix for this, but don't have the rights to create a PR. |
@jeromecambon - Thank you for raising this issue. I am also reproducing this problem too in a GitHub action. The issue occurs regardless of whether I use Here's an extract of the YAML configuration that reproduces the issue:
jdkato - Some context: We are implementing Vale as a pilot test in one project, and during the initial introduction of the Vale inter to the git workflow, we would like to ensure that a PR is not blocked, regardless of whether there are errors, warnings, or suggestions. Is there a workaround for this issue to prevent the build failure? Thank you. |
Hi all, we've recently been working on a vale gh action install in our docs as well, and were running into the same issue described here. I may have found a temporary workaround: Theory:
doesn't have anything to with vale or the vale config itself. Rather, in each of these cases, Vale is spitting out more annotations than the the allowed limit for GH actions, which is causing it fail, regardless of other configs like Tests:
Result: Conclusion: Further investigations:
|
I'd be curious to see if this workaround works for other folks, and also hear @jdkato 's take on this. PS I absolutely love vale, this is such a cool tool |
Thank you @ElPaisano for your update 😃 |
@ElPaisano, thanks for looking into this. I think you're right about this case: the The question then becomes how do we avoid this, even for repos that have a lot of alerts to show? I don't have a ton of time currently to look into this, but some ideas I'd like to pursue are:
|
@jdkato Any news on this one? Thanks! |
A new release should be out sometime next week. |
Sorry for the delay here -- I haven't had time to get the release finished yet. The good news is that a combination of changes (filtering order, moving away from Docker, etc.) have resulted in about a 50% improvement in performance. |
@jdkato is this something you're still planning to release a fix for? thanks! |
I'm giving the vale-action the following parameters:
However, I still have the action to fail if reviewdog fails:
Whatever reviewdog is returning, Vale action should not fail if fail_on_error is false.
The text was updated successfully, but these errors were encountered: