From 8d6a3712a0c94df3cececa6a2d2425d103cba572 Mon Sep 17 00:00:00 2001 From: Mister-X- <3520734+Mister-X-@users.noreply.github.com> Date: Tue, 7 Mar 2023 15:01:34 -0600 Subject: [PATCH 1/2] Add codespell CI --- .github/workflows/codespell.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/codespell.yml diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml new file mode 100644 index 000000000..d749fc872 --- /dev/null +++ b/.github/workflows/codespell.yml @@ -0,0 +1,24 @@ +name: Codespell + +on: + workflow_dispatch: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + codespell: + name: Codespell spell checker + runs-on: ubuntu-22.04 + + steps: + - uses: actions/checkout@v3 + with: + submodules: 'recursive' + + - name: Install codespell + run: sudo apt update -y && sudo apt install -y codespell + + - name: Run codespell + run: codespell From 46e467a680a108a55e365917c9778e0814c6eac1 Mon Sep 17 00:00:00 2001 From: Mister-X- <3520734+Mister-X-@users.noreply.github.com> Date: Tue, 7 Mar 2023 15:02:24 -0600 Subject: [PATCH 2/2] Add codespellrc Words and files to ignore --- .codespellrc | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .codespellrc diff --git a/.codespellrc b/.codespellrc new file mode 100644 index 000000000..f2aa32cdf --- /dev/null +++ b/.codespellrc @@ -0,0 +1,3 @@ +[codespell] +skip = ./boost,*.js +ignore-words-list = ba,ba,ue,te,hsi,cace,iterm,ot,nd \ No newline at end of file