mirror of https://github.com/docker/docs.git
ci(vale): only report warnings and errors (#23238)
Only fail vale test on warnings and errors on PRs.
This commit is contained in:
parent
6c350982dc
commit
2fd23a4dda
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue