Skip to content

Update vale-docs-linter.yml #4

Update vale-docs-linter.yml

Update vale-docs-linter.yml #4

name: Check docs with Vale linter
on:
pull_request:
types: [opened, synchronize]
jobs:
vale:
name: Vale linter
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: errata-ai/vale-action@reviewdog
with:
files: all
# added, diff_context, file, nofilter
filter_mode: added
# github-pr-check, github-pr-review, github-check
reporter: github-pr-check
fail_on_error: false
env:
# Required, set by GitHub actions automatically:
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}