aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/codespell.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/codespell.yml')
-rw-r--r--.github/workflows/codespell.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml
new file mode 100644
index 00000000..5e8da009
--- /dev/null
+++ b/.github/workflows/codespell.yml
@@ -0,0 +1,28 @@
+# 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@v6
+ - name: Codespell
+ uses: codespell-project/actions-codespell@v2
+ with:
+ # This is regenerated from commit history
+ # we cannot rewrite commit history, and I'd rather not correct it
+ # every time
+ exclude_file: CHANGELOG.md