PullNotifier Logo
Published on

How to use the official Github + Slack app

Authors

How to use the official Github + Slack app

One of the easiest ways to get Github pull request notifications on your Slack Channel is by installing the Github + Slack app.

Today we're going to show you how to make the most out of it.

Pro tip: You can skip all these steps and install a free app that will handle all of these for you ✨

Install the Github + Slack app

  • All you need to do is install the app from the official Github website: https://slack.github.com/

  • Once you've installed the Slack app. It should prompt you to connect your Github account.

Get to know the commands

  • The most useful command is: /github help
    • This will show you the list of available commands
  • To subscribe to Pull requests:
    • Go to the target slack channel of your choice
    • Execute this command on that channel: /github subscribe your-org/your-repo
    • That slack channel will now be subscribed to that repo's pull requests.
  • And there you have it, as easy as pie! 🥧

Additional customization

  • When you execute this command: /github subscribe your-org/your-repo, the following features will be subscribe to by default:
    • issues
    • pulls
    • commits
    • releases
    • deployments
  • So, say you're finding the notifications a bit too much, you can unsubscribe to specific triggers with the following command: /github unsubscribe your-org/your-repo [feature]
    • Example: /github unsubscribe your-org/your-repo issues - this will prevent issues from notifying.
  • If you want more notifications and more visibility, you can subscribe to more triggers with the following command: /github subscribe your-org/your-repo [feature]
    • Example: /github subscribe your-org/your-repo comments - this will give you additional notifications for new comments on that pull request
    • Available triggers:
      • branches
      • comments
      • discussions
      • reviews
      • workflows

✨ And that should do it!

Enjoy the sweet sweet ding from those Slack notifications 😁


Bonus section ⭐️:

You can skip all of the steps above and just install this free Slack app called PullNotifier.

All you need to do is:

  1. Install it in the Slack app marketplace on the Slack UI or just log in through their website directly.
  2. Connect Github & Slack
  3. And boom 💥! You now have slack notifications for all pull requests on ALL of your repos.

The cool thing is you can also configure different Slack channels for each repository you have (very useful for large teams).

Here's a video on what PullNotifier does:

  That's it for today! Hope you found the content here useful ❤️