Skip to content

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

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) #1

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 apt-get install -y asciidoctor
- uses: errata-ai/[email protected]
with:
version: 3.12.0
filter_mode: diff_context
vale_flags: "--no-exit --minAlertLevel=error"
fail_on_error: false
reporter: github-pr-annotations
token: ${{ secrets.VALE_GITHUB_TOKEN }}