Skip to content

WIP: Do not merge. Added Vale check action for CI testing(DO NOT MERGE) #3

WIP: Do not merge. Added Vale check action for CI testing(DO NOT MERGE)

WIP: Do not merge. Added Vale check action for CI testing(DO NOT MERGE) #3

Workflow file for this run

---
name: Lint with Vale on pull requests
on:
pull_request:
paths:
- '**.adoc'
- '**.md'
- 'content/learn/**'
- 'content/patterns/**'
- 'content/contribute/**'
- 'modules/**'
- 'README.md'
jobs:
vale-lint:
name: Linting with Vale
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Install Asciidoctor
run: sudo DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends --no-upgrade asciidoctor
- uses: errata-ai/[email protected]
with:
version: 3.12.0
filter_mode: diff_context
fail_on_error: false
vale_flags: "--no-exit --minAlertLevel=error --glob=*.{adoc,md} ./content/learn/ ./content/patterns/ ./content/contribute/ ./modules/ README.md"
reporter: github-pr-annotations
token: ${{ secrets.VALE_GITHUB_TOKEN }}