Set up linting via Vale #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: pull_request | |
name: Vale Lint | |
jobs: | |
vale: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Set up Quarto | |
uses: quarto-dev/quarto-actions/setup@v2 | |
- name: Render to generate HTML | |
uses: quarto-dev/quarto-actions/render@v2 | |
- name: Lint HTML with vale | |
uses: errata-ai/vale-action@reviewdog | |
with: | |
files: _site/ | |
fail_on_error: true | |
token: ${{secrets.GITHUB_TOKEN}} |