hubot-scripts/hubot-ghe

Name: hubot-ghe

Owner: Hubot Scripts

Description: Access your GitHub Enterprise instance through Hubot.

Created: 2015-06-06 04:00:30.0

Updated: 2017-09-02 10:03:23.0

Pushed: 2015-10-17 13:11:13.0

Homepage: null

Size: 209

Language: CoffeeScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

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:


ubot-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.

rt HUBOT_GHE_TOKEN=<your token>
rt HUBOT_GHE_URL=<your URL>
Sample Interaction
1>> hubot ghe license
t>> GHE has 20 seats, and 7 are used. License expires at 2015-07-01T00:00:00-07:00

1>> hubot ghe stats users
t>> 11 users, 2 admins and 4 suspended.

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.