Just a basic webserver that responds to webhooks with success. This allows you to protect a branch and prevent users from pushing into master without a Pull Request.
- Create a GitHub access token with
repo-status
permissions - Set
GITHUB_TOKEN
to the token you created - Then add a webhook to the server
[hostname]/payload
forpush
events.
You'll then see Pull Requests return successful