From 50f7b767c97f36ba7887d3d98d9c21e3ea5decaf Mon Sep 17 00:00:00 2001 From: NRK Date: Mon, 27 Jun 2022 10:47:14 +0200 Subject: [ci]: check for typos via codespell (#326) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit also fix any found issues. Reviewed-on: https://codeberg.org/nsxiv/nsxiv/pulls/326 Reviewed-by: Berke Kocaoğlu --- .woodpecker/spell.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .woodpecker/spell.yml (limited to '.woodpecker') diff --git a/.woodpecker/spell.yml b/.woodpecker/spell.yml new file mode 100644 index 0000000..2c080ac --- /dev/null +++ b/.woodpecker/spell.yml @@ -0,0 +1,11 @@ +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 >/dev/null + find . \( -name '*.patch' -o -name '*.diff' -o -name '*.md' \) -print | \ + xargs -I{} codespell {} + codespell nsxiv.1 config.mk Makefile -- cgit v1.2.3