https://github.com/github/force-pr
Basic webserver that responds to webhooks with success
https://github.com/github/force-pr
Last synced: 8 months ago
JSON representation
Basic webserver that responds to webhooks with success
- Host: GitHub
- URL: https://github.com/github/force-pr
- Owner: github
- Archived: true
- Fork: true (jessla/force-pr)
- Created: 2016-08-11T21:19:41.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-11T20:15:11.000Z (about 10 years ago)
- Last Synced: 2024-09-25T21:10:35.058Z (over 1 year ago)
- Language: Ruby
- Size: 1000 Bytes
- Stars: 4
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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-status` permissions
* Set `GITHUB_TOKEN` to the token you created
* Then add a webhook to the server `[hostname]/payload` for `push` events.

You'll then see Pull Requests return successful
