Recipe 1.2 Integrate Slack with a GitHub Enterprise Repository

Problem

You wish to post notifications from a specific GitHub Enterprise repository to a Slack channel.

Solution

To enable GitHub Enterprise repositories to post a notification to a Slack channel we will need to set up the GitHub app in unauthed mode.

  1. Complete steps 1 - 4 of Recipe 1.1 (Integrate Slack with a GitHub repository).
  2. From the Slack setup page, click switch to unauthed mode.
  3. In your GitHub account, go to the repository that you'd like to monitor. Click Settings in the right navigation.
  4. Click Webhooks & Services in the left navigation, then press Add webhook.
  5. From the Slack App Directory window, click copy URL.
  6. Returning to your GitHub account, paste the URL under Payload URL.
  7. For the Content type, make sure application/json is selected.
  8. Confirm SSL verification is turned on.
  9. Click Add webhook.
  10. Return to your Slack setup page and click Save Integration.

Discussion

results matching ""

    No results matching ""