diff options
author | 2023-08-12 19:51:30 -0300 | |
---|---|---|
committer | 2023-08-14 04:32:51 -0300 | |
commit | b2821a3448b489bc751e4acf2d6da1ad6f05a834 (patch) | |
tree | 9562ef4a7b566faf40fac307acefb44e7972ce19 /.github | |
parent | ci: run ./configure in codespell (diff) | |
download | firejail-b2821a3448b489bc751e4acf2d6da1ad6f05a834.tar.gz firejail-b2821a3448b489bc751e4acf2d6da1ad6f05a834.tar.zst firejail-b2821a3448b489bc751e4acf2d6da1ad6f05a834.zip |
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
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/codespell.yml | 12 |
1 files changed, 6 insertions, 6 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 |