For the latest updates and improvements in production, open docs.codacy.com instead.
Post-commit hooks#
When you add a new repository to Codacy, Codacy automatically creates a repository hook on your Git provider to check for new commits and pull requests. This post-commit hook enables Codacy to trigger an analysis to run immediately after you push code to your repository.
Important
Don't change the configuration of the hooks created by Codacy on your Git provider, as it might cause service failure.
Creating a new post-commit hook#
In case your repository’s hook is missing from your Git provider, you can create a new one:
- Open your repository Settings, tab Integrations.
- On the Post-commit hook area, click the button Create new hook.
Share your feedback 📢
Did this page help you?
Thanks for the feedback! Is there anything else you'd like to tell us about this page?
255 characters left
We're sorry to hear that. Please let us know what we can improve:
255 characters left
Alternatively, you can create a more detailed issue on our GitHub repository.
Thanks for helping improve the Codacy documentation.
Edit this page on GitHub if you notice something wrong or missing.
If you have a question or need help please contact support@codacy.com.