Add codespell

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
Adam Warner 2022-04-22 17:37:57 +01:00
parent 93e7daddc1
commit 59b3ae999f
No known key found for this signature in database
GPG Key ID: 872950F3ECF2B173
2 changed files with 18 additions and 0 deletions

0
.codespellignore Normal file
View File

18
.github/workflows/codespell.yml vendored Normal file
View File

@ -0,0 +1,18 @@
name: Codespell
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
jobs:
spell-check:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
-
name: Checkout repository
uses: actions/checkout@v3
-
name: Spell-Checking
uses: codespell-project/actions-codespell@master
with:
ignore_words_file: .codespellignore