name: Docs lint on: pull_request: types: [opened, synchronize, reopened] jobs: vale: name: vale action runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: errata-ai/vale-action@reviewdog with: files: '["README.md", "docs"]' env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}