Browse Source

general: use codespell to identify spelling mistakes

nce_cpp
Liam 3 years ago
parent
commit
6f95e7487c
  1. 3
      .codespellrc
  2. 15
      .github/workflows/codespell.yml

3
.codespellrc

@ -0,0 +1,3 @@
[codespell]
skip = ./.git,./build,./dist,./Doxyfile,./externals,./LICENSES
ignore-words-list = aci,allright,ba,deques,froms,hda,inout,lod,masia,nax,nd,pullrequests,pullrequest,te,transfered,unstall,uscaled,zink

15
.github/workflows/codespell.yml

@ -0,0 +1,15 @@
# 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: pull_request
permissions: {}
jobs:
codespell:
name: Check for spelling errors
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- uses: codespell-project/actions-codespell@master
Loading…
Cancel
Save