From 15bf91dc1674458cfa997d019704bd2a03163952 Mon Sep 17 00:00:00 2001 From: Bilka Date: Sat, 20 Jul 2024 23:37:18 +0200 Subject: [PATCH] AO3-6763 Set github action check to fail if reviewdog finds an error (#4877) * AO3-6763 Set github action check to fail if rubocop finds an error * AO3-6763 Set github action check to fail if erb-lint finds an error --- .github/workflows/reviewdog.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml index addbd546a8..c34adc0fba 100644 --- a/.github/workflows/reviewdog.yml +++ b/.github/workflows/reviewdog.yml @@ -28,6 +28,7 @@ jobs: use_bundler: true reporter: github-pr-check skip_install: true + fail_on_error: true erb-lint: name: ERB Lint runner @@ -44,7 +45,8 @@ jobs: bundler-cache: true - name: erb-lint - uses: tk0miya/action-erblint@667687e73b44e7b7a710a1204b180f49f80ebb5e + uses: tk0miya/action-erblint@eda368e7a0d8a0e71c475bb7cc65d0d612e5148c with: use_bundler: true - reporter: github-pr-check # default + reporter: github-pr-check + fail_on_error: true