The Wayback Machine - https://web.archive.org/web/20201020055310/https://docs.github.com/en/enterprise-server@2.21/admin/policies/enforcing-policy-with-pre-receive-hooks

Enforcing policy with pre-receive hooks

Use pre-receive hooks to enforce workflow standards within your organization. Pre-receive hooks require code to pass a pre-defined set of quality checks before the push is accepted into the repository.

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Or, learn how to contribute.

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Or, learn how to contribute.