nsxiv1263f23
[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`.
+2 −4
1 file changed
- M .woodpecker/spell.yml +2 −4
| @@ -5,7 +5,5 @@ pipeline: | |||
| 5 | 5 | spell-check: | |
| 6 | 6 | image: alpine:edge | |
| 7 | 7 | commands: | | |
| 8 | − | apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing py3-codespell >/dev/null | |
| 9 | − | find . \( -name '*.patch' -o -name '*.diff' -o -name '*.md' \) -print | \ | |
| 10 | − | xargs -I{} codespell {} | |
| 11 | − | codespell nsxiv.1 config.mk Makefile | |
| 8 | + | apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing py3-codespell git >/dev/null | |
| 9 | + | git ls-files | sed '/\.png$/d' | xargs codespell | |