[CI] Fail linting step on errors (#1307)

This commit is contained in:
Amir Zarrinkafsh 2020-09-04 14:06:10 +10:00 committed by GitHub
parent 3c861922a6
commit 8dfe5c7d70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ env:
steps: steps:
- label: ":service_dog: Linting" - label: ":service_dog: Linting"
command: "reviewdog -reporter=github-check" command: "reviewdog -reporter=github-check -fail-on-error"
retry: retry:
automatic: true automatic: true
if: build.branch !~ /^(v[0-9]+\.[0-9]+\.[0-9]+)$\$/ if: build.branch !~ /^(v[0-9]+\.[0-9]+\.[0-9]+)$\$/