On every commit, your tests can rerun the code generator and confirm that it makes no changes to the code. If it does, the tests fail.
That way if anyone manually edits generated code (which they should not be doing) it will be caught by CI.
On every commit, your tests can rerun the code generator and confirm that it makes no changes to the code. If it does, the tests fail.
That way if anyone manually edits generated code (which they should not be doing) it will be caught by CI.