Naughty Platypus Memorabilia
Miss any of our Open RFC calls?Watch the recordings here! »

hubot-reviewer-queue

0.1.0 • Public • Published

hubot-review-round-robin

Hubot assigns a reviews in a round robin fashion.

Based on https://github.com/sakatam/hubot-reviewer-lotto.

preparation

create a team in your github organization

image

members of this organization are candidate reviewers.

grab a github access token

installation

  • install this npm package to your hubot repo
    • npm i --save hubot-reviewer-lotto
  • add "hubot-reviewer-lotto" to your external-scripts.json
  • set the following env vars on heroku
    `HUBOT_GITHUB_TOKEN` required. the access token you created above.
    `HUBOT_GITHUB_ORG` required. name of your github organization.
    `HUBOT_GITHUB_REVIEWER_TEAM` required. the reviewer team id you created above.
    `HUBOT_GITHUB_WITH_AVATAR` optional. assignee's avatar image will be posted if this var is set to "1".

usage

  • hubot reviewer for <repo> <pull>
  • e.g. hubot reviewer for our-webapp 345

example

on hipchat

image

on github

image

get involved

  1. fork it ( https://github.com/sakatam/hubot-reviewer-lotto/fork )
  2. create your feature branch (git checkout -b my-new-feature)
  3. commit your changes (git commit -am 'Add some feature')
  4. push to the branch (git push origin my-new-feature)
  5. create new pull request