Whenever a PR comes in, this Github webhook can randomly assign a member of your team to review it.
rake
- Add an Incoming Webhook to Slack and copy the URL that is provided to you.
- Create a new application on Heroku.
- Add an environment variable called SLACK_ENDPOINT, and paste in your Slack webhook url.
- Add an environment variable called SLACK_NAMES. It should be a comma-separated list of Slack usernames.
- Add an environment variable called GITHUB_NAMES. It should be a comma-separated list of Github usernames in the same order as SLACK_NAMES.
- Push to Heroku.
- Go to your app on Github > Settings > Webhooks > Add Webhook.
- Enter the URL to your Heroku app in the Payload URL field.
- Choose 'Let me select individual events' and choose only 'Pull Requests'.
You should be good to go!