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 flagging merge requests as "Draft" to block merging them.
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?
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.
If you have a question or need help please contact support@codacy.com.