From 2382f69648af29bf3097e7c93ffc16ff9055c443 Mon Sep 17 00:00:00 2001 From: Peter Newman Date: Wed, 9 Dec 2020 21:06:05 +0000 Subject: [PATCH 1/2] Add a codespell check --- .github/workflows/codespell.yml | 17 +++++++++++++++++ 1 file changed, 17 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 00000000..273caec9 --- /dev/null +++ b/.github/workflows/codespell.yml @@ -0,0 +1,17 @@ +# 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: codespell-project/actions-codespell@master + with: + check_filenames: true + skip: ./.git,./dist/translations + ignore_words_list: "sculpter" + only_warn: 1 From 738a4bc8f5358a2e4878a7a6b81c55ffb156b6ad Mon Sep 17 00:00:00 2001 From: Peter Newman Date: Wed, 9 Dec 2020 21:15:22 +0000 Subject: [PATCH 2/2] Ignore some more words --- .github/workflows/codespell.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index 273caec9..b977a797 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -13,5 +13,5 @@ jobs: with: check_filenames: true skip: ./.git,./dist/translations - ignore_words_list: "sculpter" + ignore_words_list: "auxilary,casette,cemetary,chancel,extentions,faiway,generat,goverment,guerilla,kindergarden,pavillion,sculpter,storys" only_warn: 1