Update vale-linter.yaml #7
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: Vale Lint Checker | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - 'docsite/**' | |
| pull_request: | |
| branches: | |
| - '*' | |
| paths: | |
| - 'docsite/**' | |
| workflow_dispatch: | |
| jobs: | |
| prose: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Checkout repository | |
| - name: Checkout Code | |
| uses: actions/checkout@v4 | |
| # Install Vale (safe, no sudo needed) | |
| - name: Install Vale | |
| run: | | |
| curl -fsSL https://github.com/errata-ai/vale/releases/download/v3.12.0/vale_3.12.0_Linux_64-bit.tar.gz -o vale.tar.gz | |
| tar -xzf vale.tar.gz | |
| echo "$PWD" >> $GITHUB_PATH | |
| # Run Vale using config inside docsite/ | |
| - name: Run Vale Lint | |
| run: vale --config=docsite/.vale.ini docsite/ |