From f02cbfdc927df3e848d45dea994bd6fecf1038d7 Mon Sep 17 00:00:00 2001 From: Orsiris de Jong Date: Sat, 8 Mar 2025 14:14:21 +0100 Subject: [PATCH] Add codespell --- .github/workflows/codespell.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 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 0000000..541844a --- /dev/null +++ b/.github/workflows/codespell.yml @@ -0,0 +1,25 @@ +# Codespell configuration is within .codespellrc +--- + 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@v4 + - name: Annotate locations with typos + uses: codespell-project/codespell-problem-matcher@v1 + - name: Codespell + uses: codespell-project/actions-codespell@v2