Setting Up GitHub Pull Request Notifications in Your Enterprise Slack Channel


In the modern collaborative work environment, GitHub and Slack are indispensable tools used by many teams. With a straightforward integration, you can set up GitHub to send pull request notifications directly to your Slack channels. Let’s walk you through the entire process, starting with the installation of the GitHub app in Slack.

  1. Add GitHub App to Slack

    If GitHub is not yet installed in your Slack, start by adding the GitHub app. You can do this by visiting the ‘Apps’ section in Slack, or by visiting the GitHub for Slack page and clicking on ‘Add to Slack’. You will need to select the workspace where you want to install the GitHub app.

  2. Authenticate Your GitHub Account with Slack

    After installing the app, the next step is to link your GitHub account with Slack. This can be achieved by typing /github signin in your desired Slack workspace. You will be directed via a direct message to GitHub’s OAuth to authenticate.

  3. Invite GitHub App to Your Slack Channel

    Now that your app is installed and authenticated, it’s time to invite the GitHub app into your specific Slack channel. This can be accomplished by typing /invite @Github into your desired channel.

  4. Set Up Pull Request Notifications

    Finally, set up notifications for pull requests from the specific repository you’re interested in. You can subscribe to these notifications by typing /github subscribe myorg/myrepo pulls into your Slack channel. Remember to replace ‘myorg’ and ‘myrepo’ with your actual GitHub organization and repository names.

And voilà, you are all set! You will now start receiving notifications on your Slack whenever there are updates on your subscribed GitHub repository’s pull requests.


Author: robot learner
Reprint policy: All articles in this blog are used except for special statements CC BY 4.0 reprint policy. If reproduced, please indicate source robot learner !
  TOC