Skip to content

Commit d34e8ef

Browse files
authored
Merge pull request #4 from aspirepress/chuck/ci/vale-action
2 parents 5cdbe02 + cbba935 commit d34e8ef

File tree

7 files changed

+54
-2
lines changed

7 files changed

+54
-2
lines changed

.github/workflows/spellcheck.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Spellcheck
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: [ main ]
7+
8+
jobs:
9+
vale:
10+
name: Spellcheck
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
16+
- name: Spellcheck
17+
uses: errata-ai/[email protected]
18+
with:
19+
version: latest
20+
files: all
21+
debug: false
22+
reporter: github-check # https://github.com/reviewdog/reviewdog#reporters
23+
fail_on_error: true
24+
level: error
25+
filter_mode: added

.vale.ini

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# https://vale.sh/docs/topics/config/
2+
StylesPath = .vale
3+
MinAlertLevel = suggestion
4+
5+
# https://vale.sh/docs/topics/vocab/
6+
Vocab = AspirePress, Technical, Misc
7+
8+
[*.md]
9+
BasedOnStyles = Vale
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# accept.txt - words considered acceptable spellings
2+
#
3+
# lines beginning with '#' are ignored.
4+
# each line is one word or regex, and is case-sensitive.
5+
# prefix with (?i) to make case-insensitive.
6+
7+
AspirePress
8+
ClassicPress
9+
WordPress
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# reject.txt - words always considered to be spelling errors
2+
#
3+
# lines beginning with '#' are ignored.
4+
# each line is one word or regex, and is case-sensitive.
5+
# prefix with (?i) to make case-insensitive.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
hominem
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
(?i)css
2+
(?i)nginx
3+
(?i)webpack

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Governance
22

3-
Governance documentation for AspirePress. You can view this documentation at
4-
[AspirePress Governance](https://governance.aspirepress.org).
3+
Governance documentation for AspirePress. You can view this documentation at
4+
[AspirePress Governance](https://governance.aspirepress.org).

0 commit comments

Comments
 (0)