aboutsummaryrefslogtreecommitdiffstats
path: root/etc/woodpecker/spell.yml
diff options
context:
space:
mode:
Diffstat (limited to 'etc/woodpecker/spell.yml')
-rw-r--r--etc/woodpecker/spell.yml9
1 files changed, 6 insertions, 3 deletions
diff --git a/etc/woodpecker/spell.yml b/etc/woodpecker/spell.yml
index a6b71d8..78ce57f 100644
--- a/etc/woodpecker/spell.yml
+++ b/etc/woodpecker/spell.yml
@@ -1,10 +1,13 @@
-branches: master
+when:
+ branch: master
-# NOTE: codespell not available on stable alpine, use edge
-pipeline:
+# NOTE: codespell not available on stable alpine, grab it from pip
+steps:
spell-check:
image: alpine:edge
commands: |
apk add --no-cache python3 py3-pip git
+ python3 -m venv ~/py3-venv
+ . ~/py3-venv/bin/activate
pip install codespell
git ls-files | sed '/\.png$/d' | xargs codespell