Skip to content

Commit d704289

Browse files
committed
ci: add support to check for spelling
1 parent 51063ed commit d704289

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.github/workflows/spelling.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Spelling
2+
3+
permissions:
4+
contents: read
5+
6+
on: [pull_request]
7+
8+
env:
9+
CLICOLOR: 1
10+
11+
jobs:
12+
spelling:
13+
name: Spell Check with Typos
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout Actions Repository
17+
uses: actions/checkout@v4
18+
- name: Spell Check Repo
19+
uses: crate-ci/[email protected]

_typos.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[files]
2+
extend-exclude = [
3+
"**.cassette.yaml",
4+
"**.go"
5+
]
6+
7+
[default.extend-words]
8+
pn = "pn"
9+
thi = "thi"

0 commit comments

Comments
 (0)