Skip to content

vale-update-8

vale-update-8 #4

Workflow file for this run

name: PR Linting with Vale
on: [pull_request]
jobs:
vale:
name: Linting with Vale
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install Asciidoctor
run: sudo apt-get install -y asciidoctor
- uses: errata-ai/vale-action@reviewdog
with:
filter_mode: diff_context
vale_flags: "--no-exit --minAlertLevel=suggestion --glob=*.adoc"
reporter: github-pr-review
fail_on_error: true
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}}
REVIEWDOG_GITHUB_API_TOKEN: ${{secrets.GITHUB_TOKEN}}