# 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.

## Links

* [About pre-receive hooks](/en/enterprise-server@3.22/admin/enforcing-policies/enforcing-policy-with-pre-receive-hooks/about-pre-receive-hooks)

  Pre-receive hooks are scripts that run on the GitHub Enterprise Server appliance that you can use to implement quality checks.

* [Creating a pre-receive hook environment](/en/enterprise-server@3.22/admin/enforcing-policies/enforcing-policy-with-pre-receive-hooks/creating-a-pre-receive-hook-environment)

  To execute pre-receive hooks, use either the default pre-receive environment, or create a custom environment.

* [Creating a pre-receive hook script](/en/enterprise-server@3.22/admin/enforcing-policies/enforcing-policy-with-pre-receive-hooks/creating-a-pre-receive-hook-script)

  Use pre-receive hook scripts to create requirements for accepting or rejecting a push based on the contents.

* [Managing pre-receive hooks on your instance](/en/enterprise-server@3.22/admin/enforcing-policies/enforcing-policy-with-pre-receive-hooks/managing-pre-receive-hooks-on-your-instance)

  Configure how people will use pre-receive hooks on GitHub.com.