CI: consolidate workflows for source and docs check

A bunch of tiny jobs that run various source or documentation checks are
consolidated into two workflow files: checksrc.yml and checkdocs.yml.
This reduces the proliferation of new files containing one-line checks
and brings those that operate similarly together for better reasoning
about them. The man-examples check is also now running again for the
first time in 7 months.

Various calls to find, xargs and git ls-files are changed where possible
to use NUL line terminators in pipes to avoid issues with oddly-named
files that might find their way into the repo.

Closes #14654
This commit is contained in:
Dan Fandrich 2024-08-22 21:24:03 -07:00
parent 6429ce8e5f
commit 5629bb7cf6
14 changed files with 219 additions and 435 deletions

4
.github/labeler.yml vendored
View file

@ -185,9 +185,7 @@ documentation:
- all:
- changed-files:
- any-glob-to-all-files: "{\
.github/workflows/badwords.yml,\
.github/workflows/man-examples.yml,\
.github/workflows/synopsis.yml,\
.github/workflows/checkdocs.yml,\
.github/scripts/badwords.*,\
.github/scripts/cd2cd,\
.github/scripts/cd2nroff,\