Style guide compliance checks and boilerplate templates #1
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 | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| - release | |
| jobs: | |
| vale: | |
| name: Lint prose (ts-docs) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Run Vale | |
| uses: errata-ai/vale-action@v2 | |
| with: | |
| # CI config: ts-docs rules only, error level gate. | |
| # Does not run vale sync — no package downloads needed. | |
| config: .vale-ci.ini | |
| # Check only files changed in this PR. | |
| files: changed | |
| # Fail the build on errors (merge conflict markers, | |
| # unfilled placeholders). Warnings are reported but | |
| # do not block the PR. | |
| fail_on_error: true | |
| reporter: github-pr-review | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |