Dog meet food (#1545)
* Dog meet food
Start dogfooding ourselves
* Make us more diligent and simplify skipping hidden files
* Add a name to our action
diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml
index 49cfd10..5b4968a 100644
--- a/.github/workflows/codespell.yml
+++ b/.github/workflows/codespell.yml
@@ -1,13 +1,16 @@
# 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]
jobs:
codespell:
+ name: Check for spelling errors
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- - uses: actions/setup-python@v1
- - run: pip install codespell
- # When using this Action in other repos, the --skip option below can be removed
- - run: codespell --skip=./.*,./codespell_lib/data,./example/code.c,test_basic.py,*.pyc
+ - 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: ./codespell_lib/data,./example/code.c,test_basic.py,*.pyc