-
-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Warning causes workflow to fail when fail_on_error
is true
#84
Comments
Warnings should indeed result in a Can you share your |
Thanks for the response @jdkato. Here's my config setup
workflow name: Vale Lint
on:
pull_request:
jobs:
prose:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Vale
uses: errata-ai/vale-action@e9cd17e2bb87ed772b939286b7b141d7ba64ed54
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
with:
fail_on_error: true Then the warning was for starting a paragraph with "but". Which is defined like so: extends: existence
message: "Do not start a paragraph with a 'but'."
level: warning
scope: paragraph
action:
name: remove
tokens:
- ^But |
I'm encountering this too - I've reproduced it at https://github.com/afscrome/vale-test/actions/runs/3349416267/jobs/5549402510 . Whilst there are no error annotations, there are errors in the "Filtered Findings". I wonder if those are resulting in the final error status? From my testing, the problem seems to have nothing to do with |
While it's possible that I'm misconfiguring reviewdog, it seems that this isn't easy to get right:
|
Based on the docs, I would only expect the workflow to fail if there was an error. I'm seeing it fail when there is only a Warning. Is this the expected behaviour?
According to the reviewdog docs, a Warning should result in a "neutral" GitHub Status.
The text was updated successfully, but these errors were encountered: