Skip to content

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 📢

Let us know if this page was helpful:

Thank you for the feedback!

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

If you have a question or need help, please ask our community or contact support@codacy.com.

Last modified August 17, 2021