zeniba-nsxiv/.woodpecker/spell.yml
NRK 1263f23970 [ci]: use git ls-files for spellchecking (#345)
excluding the `.png` icons.

this also fixes the wrong `.patch` and `.diff` extensions checks.
no clue why we were trying to find `.patch` and `.diff` to begin with.

i think i probably copy pasted the command i tested on nsxiv-extra repo
or somewhere else without changing the extensions to `.c` and `.h`.

Reviewed-on: https://codeberg.org/nsxiv/nsxiv/pulls/345
2022-07-27 08:57:50 +02:00

10 lines
303 B
YAML

branches: master
# NOTE: codespell not available on stable alpine, use edge
pipeline:
spell-check:
image: alpine:edge
commands: |
apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing py3-codespell git >/dev/null
git ls-files | sed '/\.png$/d' | xargs codespell