From 17e59dde033aa24b56497c77ec65de3c6ccb1adc Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Fri, 22 Apr 2022 17:04:45 +0100 Subject: [PATCH] Add codespell.yml Signed-off-by: Adam Warner --- .codespellignore | 0 .github/workflows/codespell.yml | 19 +++++++++++++++++++ 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 00000000..e69de29b diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml new file mode 100644 index 00000000..14c4b946 --- /dev/null +++ b/.github/workflows/codespell.yml @@ -0,0 +1,19 @@ +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 + skip: ./scripts/vendor,./style/vendor