badwords: dedupe invocation into a runnable script

Also:
- GHA/checksrc: merge two badwords CI jobs into a single one.
- re-add the more common bitness entries.

Closes #20874
This commit is contained in:
Viktor Szakats 2026-03-10 01:42:40 +01:00
parent d4a06862cb
commit 3b43b9080d
No known key found for this signature in database
6 changed files with 26 additions and 21 deletions

View file

@ -183,5 +183,4 @@ clean-local:
(cd tests && $(MAKE) clean)
badwords:
grep -Ev '^(will:|But=|So=|And=| url=)' ./scripts/badwords.txt | ./scripts/badwords -a src lib include docs/examples
./scripts/badwords -w ./scripts/badwords.ok '**.md' projects/OS400/README.OS400 < ./scripts/badwords.txt
$(top_srcdir)/scripts/badwords-all