]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
Add github action to codespell master on push and PRs
authorYaroslav Halchenko <debian@onerussian.com>
Fri, 22 Dec 2023 00:14:49 +0000 (19:14 -0500)
committerYaroslav Halchenko <debian@onerussian.com>
Fri, 22 Dec 2023 00:14:49 +0000 (19:14 -0500)
.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..7373aff
--- /dev/null
@@ -0,0 +1,22 @@
+---
+name: Codespell
+
+on:
+  push:
+    branches: [master]
+  pull_request:
+    branches: [master]
+
+permissions:
+  contents: read
+
+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@v2