-
Invite the GitHub bot to the channel you want the updates in
/invite @Github
-
Subscribe to the repo you want updates from
/github subscribe owner/repo
-
If asked to connect your GitHub account, in Slack, click Connect GitHub Account
-
In the new tab, click the green button that says Connect GitHub Account
-
Go through a Sign On Process
-
Copy the Verification Code
-
Go back to Slack
-
Click Enter code
-
Paste the Verification Code into the field
-
Click Submit
-
-
(Optional) Change the notifications you want
-
Subscribe to various notifications
-
Single Notification:
/github subscribe owner/repo feature
-
Multiple Notifications:
/github subscribe owner/repo feature1, feature2
-
-
Unsubscribe from various notifications
-
Single Notification:
/github unsubscribe owner/repo feature
-
Multiple Notifications:
/github unsubscribe owner/repo feature1, feature2
-
-
To find the list of notifications you can change
-
Enter
/github help
-
Click Advanced subscription commands
-
Or see the list on the GitHub Slackbot repo page
-
-
-
Go to the GitHub Enterprise Server app page
-
Click Add to Slack
-
Choose an existing channel or create a new one
-
Click Add GitHub Integration
-
On the enterprise site, go the repo you want to monitor
-
Click Settings
-
Click Webhooks
-
Click Add webhook
-
Copy the URL the Slackbot page gives you into the Payload URL field
-
Set Content type to application/json
-
Enable SSL Verification
-
(Optional) Change the events you want to receive
-
Click Add webhook
-
-
On the Slackbot page
-
(Optional) Set the branch
-
(Recommended) Change the Slackbot's username to the repo's name
-
(Optional) Change the Slackbot's icon
-
-
Click Save Integration
-
(Recommended) Bookmark the link to the Slackbot for future edits