hubot-ghe
v0.1.2
Published
Interact with GitHub Enterprise through Hubot
Downloads
6
Readme
Hubot: GitHub Enterprise
Access your GitHub Enterprise instance through Hubot.
Installation
In your hubot project repo, run:
npm install hubot-ghe --save
Then add hubot-ghe to your external-scripts.json
:
[
"hubot-ghe"
]
Configuration
Note: You must be a site administrator of your GitHub Enterprise appliance to create a token with the correct permissions.
Create a personal access token and copy it to the HUBOT_GHE_TOKEN
environment variable.
Copy your GitHub Enterprise URL to the HUBOT_GHE_URL
environment variable.
export HUBOT_GHE_TOKEN=<your token>
export HUBOT_GHE_URL=<your URL>
Sample Interaction
user1>> hubot ghe license
hubot>> GHE has 20 seats, and 7 are used. License expires at 2015-07-01T00:00:00-07:00
user1>> hubot ghe stats users
hubot>> 11 users, 2 admins and 4 suspended.