Verify pre-commit hooks work with just a symlink and Enable `errors.rst` update check on changes to errors.hd in pipeline
Two tasks involved in this issue:
- Why a sym-link from .git/hooks/pre-commit to ../../pre-commit does not work @zylog1O1 (it works for @nars1 )?
- Even if someone fails to run the pre-commit hook, the pipeline should catch the doc issue and fail.
Refer !811 (comment 448609201) for more information