Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joshgachnang/hubot-review-queue
Hubot assigns a reviews in a round robin fashion.
https://github.com/joshgachnang/hubot-review-queue
Last synced: 25 days ago
JSON representation
Hubot assigns a reviews in a round robin fashion.
- Host: GitHub
- URL: https://github.com/joshgachnang/hubot-review-queue
- Owner: joshgachnang
- License: other
- Created: 2016-01-26T00:44:12.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-26T00:52:44.000Z (almost 9 years ago)
- Last Synced: 2023-03-11T08:12:47.909Z (over 1 year ago)
- Language: CoffeeScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://cloud.githubusercontent.com/assets/81522/3102957/76422e2c-e64e-11e3-91ee-7e4075d0f685.png)
members of this organization are candidate reviewers.
## grab a github access token
* open https://github.com/settings/tokens/new
* select scopes: `repo` & `public_repo` & `read:org`# 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 `
* e.g. `hubot reviewer for our-webapp 345`## example
on hipchat
![image](https://cloud.githubusercontent.com/assets/81522/3103001/1085dc68-e64f-11e3-8b17-c8a0741c1b51.png)
on github
![image](https://cloud.githubusercontent.com/assets/81522/3102996/f5d1364c-e64e-11e3-8af7-297c10d92208.png)
# 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