[FEAT]: Add codespell to CI and pre-commit hooks (#344)

Add codespell to pre-commit hook/CI and fix typos
This commit is contained in:
Jeremy Felder
2024-01-22 14:27:52 +02:00
committed by GitHub
parent 45f6db666b
commit 69af0bef91
21 changed files with 62 additions and 28 deletions

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

@@ -0,0 +1,20 @@
name: Check Spelling
on:
pull_request:
branches:
- main
- dev
jobs:
spelling-checker:
name: Check Spelling
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: codespell-project/actions-codespell@v2
with:
# https://github.com/codespell-project/actions-codespell?tab=readme-ov-file#parameter-skip
skip: ./**/target,./**/build
# https://github.com/codespell-project/actions-codespell?tab=readme-ov-file#parameter-ignore_words_file
ignore_words_file: .codespellignore