From b2821a3448b489bc751e4acf2d6da1ad6f05a834 Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Sat, 12 Aug 2023 19:51:30 -0300 Subject: build: run codespell on almost all files Ignore only third-party/vendored files (such as license files and files in m4/). And ignore more words to fix the following errors: $ make codespell Running codespell... ./README:484: als ==> also ./README:646: Shotcut ==> Shortcut ./RELNOTES:516: als ==> also ./etc/inc/disable-common.inc:506: chage ==> change, charge ./etc/apparmor/firejail-default:35: readby ==> read, read by ./etc/apparmor/firejail-default:36: readby ==> read, read by ./etc/profile-a-l/als.profile:1: als ==> also ./etc/profile-a-l/als.profile:5: als ==> also make: *** [Makefile:374: codespell] Error 65 $ codespell --version 2.2.5 --- .github/workflows/codespell.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to '.github/workflows') 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 on: push: - paths: - - 'src/**' - - 'test/**' + paths-ignore: + - 'm4/**' + - COPYING pull_request: - paths: - - 'src/**' - - 'test/**' + paths-ignore: + - 'm4/**' + - COPYING permissions: # added using https://github.com/step-security/secure-workflows contents: read -- cgit v1.2.3-54-g00ecf