From f957ca8a352c06dd8ffea976a9e0cf5ee9f5dd88 Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Fri, 22 Apr 2022 17:20:49 +0100 Subject: [PATCH] Add codespell Signed-off-by: Adam Warner --- .codespellignore | 0 .github/workflows/codespell.yml | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 .codespellignore create mode 100644 .github/workflows/codespell.yml diff --git a/.codespellignore b/.codespellignore new file mode 100644 index 0000000..e69de29 diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml new file mode 100644 index 0000000..3239ca5 --- /dev/null +++ b/.github/workflows/codespell.yml @@ -0,0 +1,18 @@ +name: Codespell +on: + pull_request: + types: [opened, synchronize, reopened, ready_for_review] + +jobs: + spell-check: + if: github.event.pull_request.draft == false + runs-on: ubuntu-latest + steps: + - + name: Checkout repository + uses: actions/checkout@v3 + - + name: Spell-Checking + uses: codespell-project/actions-codespell@master + with: + ignore_words_file: .codespellignore