Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Ground Controller Lvl 1
Message 1 of 2

Implementing required status checks with branch protection using webhooks?

Solved! Go to Solution.

For one project of mine, I want to implement a required status check as used with the branch protection feature. Unfortunately, none of the GitHub Apps (free or paid) are suitable for my needs, so I need to implement my own required status check.

 

Is it possible to implement a required status check using GitHub's Webhooks? I cannot use GitHub Apps as they are hosted at GitHub (and I do not want to disclose private keys etc.) as I understand the environment.

 

From my understanding, GitHub Webhooks are only informational, and do not affect/bias GitHub's process. Am I right? How to implement an own/private required status check?

1 Reply
Solution
GitHub Staff
Message 2 of 2

Re: Implementing required status checks with branch protection using webhooks?

A service triggered by a webhook can use the status API and send back a status. Having said that, GitHub Apps can be hosted anywhere, they are actually not hosted by GitHub.