From 59cffa0a59da1a6c3372a20ce656ca1770ec2526 Mon Sep 17 00:00:00 2001 From: Sagi Dayan Date: Sat, 14 Dec 2024 23:41:40 +0200 Subject: [PATCH] added spellcheck action Signed-off-by: Sagi Dayan --- .forgejo/workflows/codespell.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .forgejo/workflows/codespell.yml diff --git a/.forgejo/workflows/codespell.yml b/.forgejo/workflows/codespell.yml new file mode 100644 index 0000000..70e2e37 --- /dev/null +++ b/.forgejo/workflows/codespell.yml @@ -0,0 +1,26 @@ +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: "https://github.com/codespell-project/codespell-problem-matcher@v1" + - name: Codespell + uses: "https://github.com/codespell-project/actions-codespell@v2" + with: + check_filenames: true + check_hidden: true