how to enable status check in protected branch

Hi Team,

We have a enterprise github server in our organisation(office). In our repo, we need to enable some custom status checks and whenever a pull request from a forked repo, the status checks( which we wanted to have flake8, pytest, bandit and sonarqube since it’s a python project) has to be run and show the checks are passed or not and also when ever merge happens, build status also need to be published in the git hub. 

how to have our own status checks. 

our jenkins web hook is added. we have a multibranch pipeline configuration.  

Hi @umaparvat,

Thanks for being here! Check out this article in configuring protected branches. I hope this helps!

Cheers,

Andrea