| # GitHub Action to automate the identification of common misspellings in text files. | |
| # https://github.com/codespell-project/actions-codespell | |
| # https://github.com/codespell-project/codespell | |
| name: codespell | |
| on: [push, pull_request] | |
| permissions: {} | |
| jobs: | |
| codespell: | |
| name: Check for spelling errors | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| persist-credentials: false | |
| - uses: codespell-project/actions-codespell@master | |
| with: | |
| check_filenames: true | |
| # When using this Action in other repos, the --skip option below can be removed | |
| skip: "./.git,./codespell_lib/data,./example/code.c,test_basic.py,./codespell_lib/tests/data,*.pyc,README.rst,pyproject-codespell.precommit-toml" |