Skip to content
This repository was archived by the owner on Jul 3, 2019. It is now read-only.

Slack Github integration

Carl Hofmeister edited this page Sep 1, 2016 · 2 revisions

This page will explain how to make github activity appear in slack. This method allows for fine control over what types of activity gets posted in which channels, for example: issues, pull requests, and comments show up in #github_issues, and pushing, commiting, merging branches is posted in #github. This meens that software people can be notified when code is changed, and project managers can get notification of project status without getting spamed by code things. You will need administration privilages on the github repository to do this.

  1. Go to the configuration page for the github integration in slack. There should be a list of configurations. If the channel you want to target is in the list, click on the edit configuration button for the desired channel, and skip to step 3.

  2. Click the "Add Configuration" button, and select the channel you want to target.

  3. There will be a blue info box close to the top of the page regarding app authorization. In this box there should be a link to switch to "un-authed" mode. Once it is in unauthed mode, There should be an entry for "Webhook URL". Copy this URL.

  4. Go to the settings tab on the github repo you want to add integration for, and go to the "Webhooks & Services" page. If you can't see the settings tab, you don't have admin access to the repo.

  5. Click the "add webhook" button. You will be prompted for a password.

  6. Paste the URL from slack in the Payload URL field.

  7. In the "Which events would you like to trigger this webhook?" field, select the "Let me select individual events. " option, and check the things you want to go to Sack.

  8. Click "Add Webhook" when finished.

  9. On the Slack configuration page, click "Save Integration"

Clone this wiki locally