aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorMartin Pärtel <martin.partel@gmail.com>2023-11-27 19:28:00 +0200
committerGitHub <noreply@github.com>2023-11-27 19:28:00 +0200
commit47f4cac457c3583548c0d7dba402568a1e0871b8 (patch)
treed1154d31d6419094601c5e0b41cdc1084cf28589 /.github/workflows
parent5e7ddd09888a7825aeb4ecf4da69bdf52af76bb2 (diff)
parent4e4c9a75b1fd4ea42e645d87152fa5028c0d80d1 (diff)
downloadbindfs-47f4cac457c3583548c0d7dba402568a1e0871b8.tar.gz
Merge pull request #151 from hartwork/codespell-ci
Make CI reject spelling errors using codespell + fix five typos
Diffstat (limited to '.github/workflows')
-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