vale-action: Fail job if there are any suggestions/warnings/errors
I’m a perfectionist so would like the action to be very strict such that I can change if I push a mistake. Is it possible to do this without changing the level: error
in all the config files?
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 3
- Comments: 24 (9 by maintainers)
@dipinknair it’s been a while since I’ve actively used
vale
, but the action I use is here https://github.com/paddyroddy/.github/blob/main/actions/latex/vale/action.yml, and an example use of that action is https://github.com/paddyroddy/phd-thesis/blob/d76e6a6377b236e85a48c2f2c736a5602c48b4dd/.github/workflows/deploy.yml#L23-L30. This gives this kind of output https://github.com/paddyroddy/phd-thesis/runs/23382522815.This is now possible by using the new reviewdog-based action with
fail_on_error: true
:Yes but I would like the whole job to fail in this instance i.e. I should get an email which I don’t