How can I disallow code merge if checks and Teamcity build failed?

339 views Asked by At

I am trying to do code reviews with GitHub and Teamcity. I want to place a Git Merge protection gatecheck, since last time, people placed compilation errors in our team Develop Git Branch. We know how to conduct Teamcity builds linking to Git.

https://blog.jetbrains.com/teamcity/2019/08/building-github-pull-requests-with-teamcity/

However, come time during actual Git Merge, I want to deny the merge if the Teamcity build failed.

How can I do that in Github?

0

There are 0 answers