From b080d20525aaeaf2c9daa6a27ed290b281902c30 Mon Sep 17 00:00:00 2001 From: Mateusz Gozdek Date: Tue, 29 Mar 2022 10:52:07 +0200 Subject: [PATCH] Add codespell GitHub Action Folllow up to #1961 to prevent common typos to be added to the repo. Signed-off-by: Mateusz Gozdek --- .codespellignore | 3 +++ .github/workflows/codespell.yml | 14 ++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 .codespellignore create mode 100644 .github/workflows/codespell.yml diff --git a/.codespellignore b/.codespellignore new file mode 100644 index 00000000..07e680c6 --- /dev/null +++ b/.codespellignore @@ -0,0 +1,3 @@ +aks +creat +chage diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml new file mode 100644 index 00000000..3abc21ee --- /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 + ignore_words_file: .codespellignore + check_filenames: true + check_hidden: true