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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

5
.github/labeler.yml vendored
View File

@ -181,6 +181,11 @@ area/copilot:
- any-glob-to-any-file:
- content/manuals/copilot/**
ci:
- changed-files:
- any-glob-to-any-file:
- .github/workflows/**
hugo:
- changed-files:
- any-glob-to-any-file:

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 }}