This is a simple Slack bot that will listen for GitHub PR links in whatever channel it's invited to, and respond with the corresponding Reviewable link.
-
Create bot on Slack team (
https://TEAMNAME.slack.com/apps/manage/custom-integrations
-> Bots -> Add Configuration) -
Clone repo
-
Set
SLACK_TOKEN
to bot token -
Run
npm run start
to serve, ornpm run start:dev
for a reloading dev workspace
Must have environment variable SLACK_TOKEN
set to a bot user token for your Slack team. This begins with xoxb-...
Finally, invite bot to a channel you'd like it to participate in. It will listen and respond in the same channel.
The master branch is deployed to my personal droplet, so only code intended for production should ever be in master.
See CircleCI for build status.