A CI system can run the precommit hooks, and fail if any files are changed or the hooks don't exit successfully.