Get notified better when using Github Pull Requests and Slack.
Features and commands listed below
- Clone the repo
- Install dependencies
npm i
- Create a config file
- Name it
development.json
- Base it off of
config/example.json
- Name it
- Create a
user_list.json
with all the users you want involved- Base it off of
example_user_list.json
- Note: future goal is for this to live in a DB and for users to sign themselves up
- Base it off of
- Run service
npm start
- If running on a local machine use
ngrok
to make endpoint available to the internet
- If running on a local machine use
- Create a Webhook for your repo
- Please include all Pull Request related events (not all used yet)
- Start making Pull Requests!
- Announces itself to admin and channel (if provided)
- Request reviews and send messages when opening a PR
- Git-slackin will pick 2 random, requestable users from the
user_list.json
- Assigns them and requests a review from them on Github (Note: These actions happen on the behalf of the user whose personal access token is in the config)
- Notifies the requested reviewers via a DM with a link to the PR
- This happens if someone uses the Github UI to request a review as well.
- Notifies the PR Opener who has been requested
- Git-slackin will pick 2 random, requestable users from the
- Get notified when your PR is reviewed
- Git-Slackin will message the opener of the PR informing them of who submitted a review, and in what state (approved, commented, requested changes)
- Don't bother people when then are not requestable
- Allow users to change their requestability
- Respond to some DM commands
Note All commands are case insensitive
Get Command List
- Say
help
- Lists the commands
Bench Yourself
- Say
stop
- This means you will not be requested by Git Slackin'
Unbench Yourself
- Say
start
- You will now be requestable by Git Slackin'
Notifcations
Turn on
- Say
notify
orunmute
Turn off
- Say
silence
, ormute
Am I requestable?
- Say
status
- Get your github and slack usernames and your requestability status
What's everyone's state?
- Say
overview
- Lists benched and available users, like the boot message
Shut it all down
- Say
shutdown
- Exits the git slackin' process.