hubot-reviewer-queue
A round robin reviewer queue for Hubot
Last updated 4 years ago by servercobra .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install hubot-reviewer-queue 
SYNC missed versions from official npm registry.

hubot-reviewer-queue

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

Current Tags

  • 0.1.1                                ...           latest (4 years ago)

2 Versions

  • 0.1.1                                ...           4 years ago
  • 0.1.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (5)
Dev Dependencies (1)
Dependents (2)

Copyright 2014 - 2016 © taobao.org |