add spellchecking with codespell

Signed-off-by: Martin Schurz <Martin.Schurz@t-systems.com>
This commit is contained in:
Martin Schurz 2023-04-14 23:34:05 +02:00
parent 4a21ec0234
commit edcada16e4

21
.github/workflows/codespell.yml vendored Normal file
View file

@ -0,0 +1,21 @@
---
name: Codespell - Spellcheck
on: # yamllint disable-line rule:truthy
push:
branches: [master]
pull_request:
branches: [master]
jobs:
ansible-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Codespell
# replace "master" with any valid ref
uses: codespell-project/actions-codespell@v1
with:
check_filenames: true