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.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml
new file mode 100644
index 0000000..8789c12
--- /dev/null
+++ b/.github/workflows/codespell.yml
@@ -0,0 +1,23 @@
+# Copyright (c) 2023 Sebastian Pipping <sebastian@pipping.org>
+# Licensed under GPL v2 or later
+
+name: Enforce codespell-clean spelling
+
+on:
+ pull_request:
+ push:
+ schedule:
+ - cron: '0 3 * * 5' # Every Friday at 3am
+ workflow_dispatch:
+
+# Minimum permissions for security
+permissions:
+ contents: read
+
+jobs:
+ codespell:
+ name: Enforce codespell-clean spelling
+ runs-on: ubuntu-22.04
+ steps:
+ - uses: actions/checkout@v4
+ - uses: codespell-project/actions-codespell@v2.0