diff options
| -rw-r--r-- | .codespellrc | 3 | ||||
| -rw-r--r-- | .github/workflows/codespell.yml | 15 |
2 files changed, 18 insertions, 0 deletions
diff --git a/.codespellrc b/.codespellrc new file mode 100644 index 000000000..acef5478f --- /dev/null +++ b/.codespellrc | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | [codespell] | ||
| 2 | skip = ./.git,./build,./dist,./Doxyfile,./externals,./LICENSES | ||
| 3 | ignore-words-list = aci,allright,ba,deques,froms,hda,inout,lod,masia,nax,nd,pullrequests,pullrequest,te,transfered,unstall,uscaled,zink | ||
diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml new file mode 100644 index 000000000..4667b2424 --- /dev/null +++ b/.github/workflows/codespell.yml | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | # GitHub Action to automate the identification of common misspellings in text files. | ||
| 2 | # https://github.com/codespell-project/actions-codespell | ||
| 3 | # https://github.com/codespell-project/codespell | ||
| 4 | name: codespell | ||
| 5 | on: pull_request | ||
| 6 | permissions: {} | ||
| 7 | jobs: | ||
| 8 | codespell: | ||
| 9 | name: Check for spelling errors | ||
| 10 | runs-on: ubuntu-latest | ||
| 11 | steps: | ||
| 12 | - uses: actions/checkout@v3 | ||
| 13 | with: | ||
| 14 | persist-credentials: false | ||
| 15 | - uses: codespell-project/actions-codespell@master | ||