]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
ci: add codespell action
authorEmil Velikov <emil.l.velikov@gmail.com>
Fri, 16 Aug 2024 13:45:53 +0000 (14:45 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Fri, 16 Aug 2024 22:05:43 +0000 (17:05 -0500)
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/76
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
.github/workflows/codespell.yml [new file with mode: 0644]

diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml
new file mode 100644 (file)
index 0000000..3600600
--- /dev/null
@@ -0,0 +1,16 @@
+name: Check spelling with codespell
+
+on:
+  push:
+    branches: [master, ci-test]
+  pull_request:
+    branches: [master]
+
+jobs:
+  spellcheck:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v4
+      - uses: codespell-project/actions-codespell@v2
+        with:
+          ignore_words_file: .codespellignore