Krolyxon
Commit 1263f23

Branches

Refs →

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`.
Author
NRK
Date
2022-07-27 08:57 +0200
Parent
dd0b3cb
Commit
1263f23970af5fa68cdd9644469b14832d125a65

+2 −4

1 file changed

  1. M .woodpecker/spell.yml +2 −4
M .woodpecker/spell.yml View
@@ -5,7 +5,5 @@ pipeline:
55 spell-check:
66 image: alpine:edge
77 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