do some github stuff by hubot
src/githuber.js for full documentation.
In hubot project repo, run:
npm install hubot-githuber --save
Then add hubot-githuber to your
HUBOT_GITHUBER_JSON_FILE="a json file path that store all access token"(optional, otherwise hubot will use his brain)
HUBOT_GITHUBER_ACCOUNT="account name for all repo"(required, both user and organization are acceptable)
Setup your Access Token， you can get one via Setting Page.
user>> hubot github token XXXXXXXXXXXXXXXXXXXXXXXXXXX hubot>> your access token store successfull.
Do Some Action
user>> hubot github issue new repo hubot>> What is the title of your issue? user>> Update README hubot>> What is the body of your issue? user>> should update the usage part. hubot>> new issue opened: #412 Update README should update the usage part. user>> hubot github issue mine repo hubot>> repo issue list: 1. #412 Update README 2. #411 Fix typos user>> hubot release latest repo hubot>> Checking new merged pull requests after latest release, wait a moment......
Quit a Session
user>> hubot github issue new repo hubot>> What is the title of your issue? user>> exit hubot>> OK, I will ignore you.
user>> hubot github help hubot>> ...