From 15e9ff35eab273d3221ec588c77ebf3c04174d41 Mon Sep 17 00:00:00 2001 From: Mateusz Gozdek Date: Tue, 3 May 2022 09:56:19 +0200 Subject: [PATCH] Add codespell GitHub Action To limit number of typos added to the project. Refs #2279 Signed-off-by: Mateusz Gozdek --- .codespellignore | 5 +++++ .github/workflows/codespell.yml | 14 ++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 .codespellignore create mode 100644 .github/workflows/codespell.yml diff --git a/.codespellignore b/.codespellignore new file mode 100644 index 00000000000..4035b2f9655 --- /dev/null +++ b/.codespellignore @@ -0,0 +1,5 @@ +aks +witht +geting +ot +intepreted diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml new file mode 100644 index 00000000000..36b7a29329e --- /dev/null +++ b/.github/workflows/codespell.yml @@ -0,0 +1,14 @@ +name: Codespell +on: + pull_request: +jobs: + codespell: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: codespell-project/actions-codespell@master + with: + skip: .git,_artifacts,*.sum + ignore_words_file: .codespellignore + check_filenames: true + check_hidden: true