A useful tool for assigning someone to GitHub Issue, like a rolling dice.
Go Makefile
Latest commit 8298b55 Dec 16, 2016 @s-tajima add readme menu
Permalink
Failed to load latest commit information.
.env.template add some options Nov 16, 2016
.gitignore add some options Nov 16, 2016
.travis.yml fix go get Jul 12, 2016
LICENSE initial commit Jun 23, 2016
Makefile fix go get Jul 12, 2016
README.md add readme menu Dec 16, 2016
dice.go add some options Nov 16, 2016
dice_test.go add some options Nov 16, 2016
github.go initial commit Jun 23, 2016
github_test.go initial commit Jun 23, 2016
issue_manager.go add some options Nov 16, 2016
main.go fix typo Dec 16, 2016

README.md

github-dice

Build Status

A useful tool for assigning someone to GitHub Issues/Pull Requests, like a rolling dice.

$ ./github-dice -d
2016/06/23 19:49:45 Candidates are [s-tajima chocopie116 dkkoma]
2016/06/23 19:49:46 #9999 https://github.com/s-tajima/github-dice/issues/9999 issue's title => author:s-tajima assigned:chocopie116

Index

Concepts

  • To review codes wrote by other members of your team is good for your product and your skills.
  • But frequently, code reviewer would tend to biased to some of the team members.
  • For improving all of your team members skills, let's elect code reviewers by roll a dice.

Requirements

github-dice requires the following to run:

  • Golang

Installation

$ go get github.com/s-tajima/github-dice

Configure

Set your configuration as Environment Variables.

export GITHUB_ACCESS_TOKEN=
export GITHUB_ORGANIZATION=
export GITHUB_REPO=
export GITHUB_TEAM= # github-dice works only Issues/Pull Requests that be created by this team members.

You can use .env file as well.

Usage

Usage:
  github-dice [OPTIONS]

Application Options:
  -q, --query         Query strings. For search Issues/Pull Requests. (default: "type:pr is:open")
  -c, --comment       Comment. Would be posted before assigned. (default: ":game_die:")
  -n, --dry-run       If true, show candidates and list Issues, without assign.
  -f, --force         If true, reassign even if already assigned.
  -o, --run-once      If true, assign assign only one Issue.
  -a, --assign-author If true, Issue's author also assigns.
  -l, --limit         A maximum number of assign Issues. (default: 0)
  -e, --exempt-users  User names separated by comma who exempt assignee.
  -d, --debug

Help Options:
  -h, --help      Show this help message

License

MIT

Author

Satoshi Tajima