Closed aidenvaines-bjss closed 1 month ago
The latest vale container jdkato/vale is 3.6.0, the 2.29.7 pinned release is well over a year old
I had vale installed locally so the `scripts/githooks/check-english-usage.sh' script was picking that up over using the container.
According to the documentation:https://vale.sh/docs/topics/vocab/
In versions of Vale prior to 3.0, vocabularies were stored in
/Vocab. When upgrading from an older version of Vale, you’ll need to move your vocabularies to the new /config/vocabularies location.
the .tool-versions file does contain this line
# docker/jdkato/vale v2.29.7@sha256:5ccfac574231b006284513ac3e4e9f38833989d83f2a68db149932c09de85149 # SEE: https://hub.docker.com/r/jdkato/vale/tags
PR incoming to increase the version and fix the folder structures to be 3.0+ compliant
Is there an existing issue for this?
Current Behavior
When CI runs '.github/actions/check-english-usage/action.yaml' action, the command
check=all ./scripts/githooks/check-english-usage.sh
fails with this error:Expected Behavior
Actual output should look like this:
Steps To Reproduce
make some spelling mistakes in repo. run
check=branch ./scripts/githooks/check-english-usage.sh
Visible on this internal PR https://github.com/NHSDigital/nhs-notify-internal/actions/runs/9810021470/job/27089235437?pr=61 should you have access
Output
No response
Code of Conduct
Sensitive Information Declaration