Closed anaxite closed 4 days ago
@anaxite Could you have a look at my review ? I'm eager to be able to use this :D
@jdkato This PR seems to be stuck. Could you review it and add my add my comments if they make sense ? If required I can open a new PR and cherry-pick everything + commit my changes.
Sorry for the wait!
How would it be best to approach compatibility? I tried to keep behavior the same when using the deprecated flag.
Alternately, this could be a good candidate for a new version of the action.
Sorry for the wait!
How would it be best to approach compatibility? I tried to keep behavior the same when using the deprecated flag.
Alternately, this could be a good candidate for a new version of the action.
I think you did well with respect to compatibility. Could you accept my changes if you agree with them or explain why you don't ? This would help the maintainer to have a PR ready to be reviewed.
@SMoraisAnsys I've made changes, and fixed the README formatting while I was at it.
Alternately, this could be a good candidate for a new version of the action.
This is a good idea.
Since a lot of users install the action using @reviewdog
(instead of a specific version), I don't want to risk breaking their existing workflows by updating the default version of reviewdog.
So, when ready, I'll merge this into a new branch and put out a new tagged release.
@SMoraisAnsys If this is going to go to another branch, then how about I remove the backwards compatibility?
That's a good point and a good idea IMO.
However I'm not a maintainer so the final decision isn't mine :)
What about removing the backward compatibility in a single commit and waiting for @jdkato feedback ? If he is fine with the final state then all right ! If not, a simple git revert SHA
will do the trick.
Thank you!
Aside from that last fix, I'm in favor of keeping backwards compatibility for the time being, and it can always be changed later. Same for the -level option.
@jdkato Sorry for the ping, just want to leverage this new feature :)
You can try this out from the reviewdog20
branch now.
Update
vale-action
to usereviewdog
0.20.2:-fail-level
option as inputfail_level
main.js/ts
flow to only usefail_on_error
whenfail_on_error
is true andfail_level
is set to its default.fail_on_error
input deprecated, per reviewdog documentation.main
GitHub workflow to usefail_level
main
GitHub workflow to useactions/checkout@v4
Resolves errata-ai/vale-action#131