badwords: check FAQ with allowlisted 'will', fix a typo

Also:
- badwords.pl: add support for filename:word exceptions.
- badwords.pl: handle `-w` file open errors.

Ref: https://github.com/curl/curl/pull/19817#issuecomment-3612386568
Closes #19837
This commit is contained in:
Viktor Szakats 2025-12-04 17:44:46 +01:00
parent d517efe5bd
commit 7a1e99eefa
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
4 changed files with 18 additions and 5 deletions

View file

@ -140,7 +140,7 @@ jobs:
persist-credentials: false
- name: 'badwords'
run: .github/scripts/badwords.pl '**.md' docs/TODO docs/KNOWN_BUGS packages/OS400/README.OS400 < .github/scripts/badwords.txt
run: .github/scripts/badwords.pl -w .github/scripts/badwords.ok '**.md' docs/FAQ docs/KNOWN_BUGS docs/TODO packages/OS400/README.OS400 < .github/scripts/badwords.txt
- name: 'verify synopsis'
run: .github/scripts/verify-synopsis.pl docs/libcurl/curl*.md