Skip to content
This documentation applies to Codacy Self-hosted v4.1.0

For the latest updates and improvements, see the latest Cloud documentation instead.

How do I set Codacy as a required check to merge pull requests?#

Codacy checks each pull request using your quality settings and sends a notification to the Git provider informing if the pull request is up to standards or not.

Each Git provider has different options to set up notifications or block merging pull requests until they pass the Codacy check:

GitHub#

GitHub allows setting a status check as mandatory before merging pull requests.

Important

Make sure that you enable the option Pull Request Status on the GitHub integration.

GitLab#

GitLab allows setting that all pipelines must succeed before merging merge requests.

Important

Make sure that you enable the option Pull Request Status on the GitLab integration.

Bitbucket#

Bitbucket allows setting a minimum number of merge checks that must pass before merging pull requests.

Important

Make sure that you enable the option Pull Request Status on the Bitbucket integration.

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?

We're sorry to hear that. Please let us know what we can improve:

Alternatively, you can create a more detailed issue on our GitHub repository.

Thanks for helping improve the Codacy documentation.

If you have a question or need help please contact support@codacy.com.

Last modified April 21, 2021