ci(vale): only report warnings and errors (#23238)

Only fail vale test on warnings and errors on PRs.
This commit is contained in:
Arthur
2025-08-13 11:01:42 +02:00
committed by GitHub
parent 6c350982dc
commit 2fd23a4dda
2 changed files with 6 additions and 1 deletions

View File

@@ -105,6 +105,6 @@ jobs:
name: Run reviewdog for vale
if: ${{ matrix.target == 'vale' && github.event_name == 'pull_request' }}
run: |
cat ./tmp/vale.out | reviewdog -f=rdjsonl -name=vale -reporter=github-pr-annotations -fail-on-error=false -filter-mode=added -level=info
cat ./tmp/vale.out | reviewdog -f=rdjsonl -name=vale -reporter=github-pr-annotations -fail-on-error=false -filter-mode=added -level=info -fail-level=warning
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}