Add github workflow for codespell

Yaroslav Halchenko created

Change summary

.github/workflows/codespell.yml | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)

Detailed changes

.github/workflows/codespell.yml 🔗

@@ -0,0 +1,19 @@
+---
+name: Codespell
+
+on:
+  push:
+    branches: [master]
+  pull_request:
+    branches: [master]
+
+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@v1