vale: add a suggestion rule for hyphenated words #707
This file contains 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: Check editorial style | |
on: [pull_request] | |
jobs: | |
vale: | |
name: Run Vale Linter | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: errata-ai/vale-action@reviewdog | |
with: | |
reporter: github-pr-check # How results are reported | |
filter_mode: added # Consider only changes in the modified or added lines | |
fail_on_error: false # Fail the action if errors are found | |
token: ${{ secrets.GITHUB_TOKEN }} # Post review |