diff options
-rw-r--r-- | .github/workflows/codespell.yml | 12 | ||||
-rw-r--r-- | Makefile | 8 |
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 | ||
3 | on: | 3 | on: |
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 | ||
13 | permissions: # added using https://github.com/step-security/secure-workflows | 13 | permissions: # added using https://github.com/step-security/secure-workflows |
14 | contents: read | 14 | contents: read |
@@ -366,12 +366,16 @@ cppcheck: clean | |||
366 | scan-build: clean | 366 | scan-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 |
370 | codespell: | 372 | codespell: |
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 |
377 | print-env: | 381 | print-env: |