Skip to content

Commit 88a2033

Browse files
committed
Add typos-action
1 parent 57b4824 commit 88a2033

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

.github/workflows/typos.yml

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

_typos.toml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[files]
2+
extend-exclude = [
3+
".git/", # Version control files
4+
"achive/*", # Archive files
5+
]
6+
7+
# Match Inside a Word - Case Insensitive
8+
[default.extend-words]
9+
ue = "ue" # Nestopia UE
10+
sav = "sav" # .sav file extension
11+
kernal = "kernal" # Commodore's low-level Operating System

0 commit comments

Comments
 (0)