WIP: Do not merge. Added Vale check action for CI testing(DO NOT MERGE) #1
Workflow file for this run
This file contains hidden or 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
| --- | |
| 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 }} |