aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/codespell.yml12
-rw-r--r--Makefile8
2 files changed, 12 insertions, 8 deletions
diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml
index 19ae6f34d..e39755dbd 100644
--- a/.github/workflows/codespell.yml
+++ b/.github/workflows/codespell.yml
@@ -2,13 +2,13 @@ name: Codespell
2 2
3on: 3on:
4 push: 4 push:
5 paths: 5 paths-ignore:
6 - 'src/**' 6 - 'm4/**'
7 - 'test/**' 7 - COPYING
8 pull_request: 8 pull_request:
9 paths: 9 paths-ignore:
10 - 'src/**' 10 - 'm4/**'
11 - 'test/**' 11 - COPYING
12 12
13permissions: # added using https://github.com/step-security/secure-workflows 13permissions: # added using https://github.com/step-security/secure-workflows
14 contents: read 14 contents: read
diff --git a/Makefile b/Makefile
index 7bbdcbfd3..c04d721cf 100644
--- a/Makefile
+++ b/Makefile
@@ -366,12 +366,16 @@ cppcheck: clean
366scan-build: clean 366scan-build: clean
367 scan-build $(MAKE) 367 scan-build $(MAKE)
368 368
369# TODO: Old codespell versions (such as v2.1.0 in CI) have issues with
370# contrib/syscalls.sh
369.PHONY: codespell 371.PHONY: codespell
370codespell: 372codespell:
371 @printf 'Running %s...\n' $@ 373 @printf 'Running %s...\n' $@
372 @codespell --ignore-regex "UE|creat|doas|ether|isplay|shotcut" \ 374 @codespell --ignore-regex 'UE|als|chage|creat|doas|ether|isplay|readby|[Ss]hotcut' \
373 -S *.gz,*.o,*.so \ 375 -S *.gz,*.o,*.so \
374 src test 376 -S COPYING,m4 \
377 -S ./contrib/syscalls.sh \
378 .
375 379
376.PHONY: print-env 380.PHONY: print-env
377print-env: 381print-env: