Miscellaneous CSPELL fixes
Problem/Motivation
The CSPELL job currently runs in the top-level $CI_PROJECT_DIR directory, and we have to exclude 'web', 'vendor' and other directories as part of the prepare-cspell script. But now there is a new directory 'recipes' which by default is getting checked in the contrib cspell job. See this verbose output
Remaining tasks
The original problem was solved in #3529479 (closed) - see comment #5. This issue will now address the other points:
- Using verbose
-vshould not write the verbose text to the $WORDS_FILE artifact - The
build.envfile should not be checked for spelling. Already fixed here - The file
_cspell_updated_project_words.txtis checked on the second run. It should be excluded. Already fixed here - CSpell job ends green when invalid options are specified, see this example
- Fix regression: Files in sub-folders are no longer being checked
Edited by drupalbot