mirror of
https://github.com/github/force-pr
synced 2026-07-21 03:03:55 +00:00
No description
- Ruby 97.9%
- Procfile 2.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| Gemfile | ||
| Gemfile.lock | ||
| Procfile | ||
| README.md | ||
| server.rb | ||
Force Pull Requests
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.
Configuration
- Create a GitHub access token with
repo-statuspermissions - Set
GITHUB_TOKENto the token you created - Then add a webhook to the server
[hostname]/payloadforpushevents.
You'll then see Pull Requests return successful

