From 4f2caccbe9f177d47c0347b04095ebf8555bafe3 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Wed, 6 Dec 2023 14:02:03 -0500 Subject: [PATCH] Add github action to codespell main on push and PRs Signed-off-by: Yaroslav Halchenko --- .github/workflows/codespell.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 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 0000000000..4a42998d85 --- /dev/null +++ b/.github/workflows/codespell.yml @@ -0,0 +1,23 @@ +--- +name: Codespell + +on: + push: + branches: [main] + pull_request: + branches: [main] + +permissions: + contents: read + +jobs: + codespell: + name: Check for spelling errors + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Codespell + # uses configuration within .codespellrc file + uses: codespell-project/actions-codespell@v2