Unsuspend users in GitHub Enterprise via Hubot
See src/github-enterprise-unsuspend.coffee
for full documentation.
In hubot project repo, run:
npm install hubot-github-enterprise-unsuspend --save
Then add hubot-github-enterprise-unsuspend to your external-scripts.json
:
[
"hubot-github-enterprise-unsuspend"
]
Two variables will need to be configured to set the hostname and the site admin token for Hubot to use:
export GHE_URL='https://<hostname>'
export GHE_TOKEN='<Site admin token>'
user1>> gheunsuspend <user>
hubot>> User <user> unsuspended in GitHub Enterprise :jazzhands:
https://www.npmjs.com/package/hubot-github-enterprise-unsuspend