👋 We've unified all of GitHub's product documentation in one place! Check out the content for REST API, GraphQL API, and Developers. Learn more on the GitHub blog.
Article version: Enterprise Server 2.19

Using pre-receive hooks to enforce policy

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.

Ask a human

Can't find what you're looking for?

Contact us