From 594fc6d2bb036bd59685bbf2a139f16b878dcfd7 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 3 Aug 2023 16:46:40 -0400 Subject: [PATCH] github: actions: add codespell master on push and PRs --- .github/workflows/codespell.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 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..76f3ab0d --- /dev/null +++ b/.github/workflows/codespell.yml @@ -0,0 +1,26 @@ +--- +name: Codespell + +on: + push: + branches: [master] + pull_request: + branches: [master] + +permissions: + contents: read + +jobs: + codespell: + name: Check for spelling errors + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Codespell + uses: codespell-project/actions-codespell@v2 + with: + check_filenames: true + skip: ".git,*.pdf,*.svg" + ignore_words_list: uptodate