Skip to content

Commit

Permalink
ci: add errata-ai/vale-action for spellchecking
Browse files Browse the repository at this point in the history
  • Loading branch information
chuckadams committed Dec 22, 2024
1 parent 5cdbe02 commit aa31b84
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Spellcheck
on: [pull_request]

jobs:
vale:
name: Spellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: errata-ai/[email protected]

6 changes: 6 additions & 0 deletions .vale.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
StylesPath = .vale
MinAlertLevel = suggestion
Vocab = AspirePress, Technical, Misc

[*.md]
BasedOnStyles = Vale
3 changes: 3 additions & 0 deletions .vale/config/vocabularies/AspirePress/accept.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
AspirePress
ClassicPress
WordPress
1 change: 1 addition & 0 deletions .vale/config/vocabularies/Misc/accept.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
hominem
3 changes: 3 additions & 0 deletions .vale/config/vocabularies/Technical/accept.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(?i)css
(?i)nginx
(?i)webpack

0 comments on commit aa31b84

Please sign in to comment.