This repository is no longer maintained.
The Slack bot to expand GitHub PR/Issue URLs
- Node.js v6 ~
$ git clone git@github.com:pine/slack-github-bot.git
$ cd slack-github-bot
$ npm install
$ SLACK_API_TOKEN=XXX GITHUB_TOKEN=XXX bin/slack-github-bot
You can set any options uses environment variables.
SLACK_API_TOKEN
Slack API Token (required)SLACK_USERNAME
Slack username- Default:
'GitHub'
- Default:
SLACK_ICON_URL
Slack icon URL- Default:
''
- Default:
SLACK_CHANNELS
Slack channels of bot enabled (comma separated)- Default:
''
(not limited) - Example:
'general,random'
- Default:
GITHUB_TOKEN
GitHub API token (required)- Please set your personal access token
GITHUB_OWNERS
GitHub user names or organization names (comma separated)- Default:
''
(not limited) - Example:
'foo,bar'
- Default:
MIT