Add GitHub Action to check spelling (#3591)

Signed-off-by: Aaron Raimist <aaron@raim.ist>
This commit is contained in:
Aaron Raimist 2021-12-28 10:17:49 -06:00 committed by GitHub
parent d2fd90579b
commit 01cd41de68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
37 changed files with 74 additions and 47 deletions

12
.github/_typos.toml vendored Normal file
View file

@ -0,0 +1,12 @@
[files]
extend-exclude = ["/themes", "/attic", "/data-definitions", "*.css", "package-lock.json"]
[default]
check-filename = true
[default.extend-identifiers]
au1ba7o = "au1ba7o"
[default.extend-words]
Appy = "Appy"
fo = "fo"

15
.github/workflows/spell-check.yaml vendored Normal file
View file

@ -0,0 +1,15 @@
name: Spell Check
on: [pull_request]
jobs:
run:
name: Spell Check with Typos
runs-on: ubuntu-latest
steps:
- name: Checkout Actions Repository
uses: actions/checkout@v2
- name: Check spelling of proposals
uses: crate-ci/typos@master
with:
config: ${{github.workspace}}/.github/_typos.toml