Merge pull request #13706 from deivid-rodriguez/tweak-reviewdog

Let reviewdog use github-pr-annotation formatter
This commit is contained in:
Gaetan Craig-Riou
2025-11-14 10:44:51 +11:00
committed by GitHub
2 changed files with 3 additions and 4 deletions

View File

@@ -2,7 +2,6 @@ name: Linters
on: [pull_request]
permissions:
contents: read # to fetch code (actions/checkout)
checks: write # to post check annotations
jobs:
lint:
name: reviewdog

View File

@@ -17,7 +17,7 @@ echo "::group:: Running prettier with reviewdog 🐶 ..."
-efm="%Z[error]%r" \
-efm="%-G%r" \
-name="prettier" \
-reporter="github-pr-check" \
-reporter="github-pr-annotations" \
-filter-mode="nofilter" \
-fail-level="any" \
-level="error" \
@@ -31,7 +31,7 @@ bundle exec rubocop \
--fail-level info \
| reviewdog -f="rubocop" \
-name="rubocop" \
-reporter="github-pr-check" \
-reporter="github-pr-annotations" \
-filter-mode="nofilter" \
-level="error" \
-fail-level="any" \
@@ -45,7 +45,7 @@ bundle exec haml-lint \
--fail-level warning \
| reviewdog -f="haml-lint" \
-name="haml-lint" \
-reporter="github-pr-check" \
-reporter="github-pr-annotations" \
-filter-mode="nofilter" \
-level="error" \
-fail-level="any" \