- Published on Wednesday, February 23, 2022, last updated
/github subscribe: Get GitHub Pull Requests in Slack, Email & Mobile
- Authors

- Name
- Arthur Coudouy
- @arthurcoudouy
Short answer: install the official GitHub app for Slack, open the channel that should receive the notifications, and type /github subscribe owner/repo. The channel then gets new, merged and "ready for review" pull requests from that repository.
| What you want in the Slack channel | Command to type |
|---|---|
| Pull requests (and issues, commits…) from one repo | /github subscribe owner/repo |
| Several repos of your organization | /github subscribe owner/repo1 then /github subscribe owner/repo2 |
| Only pull requests, nothing else | /github unsubscribe owner/repo issues commits releases deployments |
| Pull request reviews and comments too | /github subscribe owner/repo reviews comments |
| Only pull requests with a given label | /github subscribe owner/repo +label:"needs-review" |
| Stop everything from a repo | /github unsubscribe owner/repo |
A few things to know before you start:
- Private repositories: the GitHub app must have access to the repository. If you installed it on "All repositories", new repos work right away. Otherwise the app asks you to add the repo first.
- Private Slack channels: invite the app first with
/invite @github. - Defaults: a new subscription sends
issues,pulls,commits,releasesanddeployments. Reviews, comments, branches and workflows are off until you add them. - Whole organization: GitHub's documentation describes subscribing "to an Organization or Repository", but only gives the
owner/reposyntax. Subscribing repo by repo is the reliable way to cover an organization.
The rest of this article covers the four ways to subscribe to pull requests: email, mobile, the official Slack app, and Axolo.
✉️ On your email :
To set up GitHub subscriptions on your emails follow those two steps:
Head over to https://github.com/settings/notifications, in Email notification preferences tick Pull Request reviews. (See screenshot)

Email notifications preference
From the repository, you should click on the top right button 'Watch', then 'Custom', and then tick 'Pull requests'. (see screenshots)

Custom notification pull requests

Custom notification pull requests
If you would like to further fine-tune your email notifications for GitHub, this documentation from GitHub shares everything you need to know:
Choosing your notification settings in GitHub
📱 On your mobile:
To set up notifications directly on your mobile follow those steps:
Step 1:
Download and sign In in the GitHub app from your mobile on: https://github.com/mobile
Step 2:
Head over to https://github.com/settings/notifications and tick the 'Web and Mobile notifications' in the 'Participating and Watching sections'.

Mobile notification
💬 On Slack:
We have already written a full article about 5 GitHub Slack Pull request integrations. Here are two ways you can do to subscribe to pull requests right in Slack:
1. Using the official Slack GitHub integration:
Step 1:
Head over to https://slack.github.com/ in order to install the official Slack and GitHub integration.
Step 2:
On Slack, create a channel and then type in the command: /github subscribe YourOrganization/YourRepository
Step 3:
GitHub should ask you to connect your GitHub account. The last time I did it, they asked for a code to enter.
That's it: this channel now receives new pull requests, issues, commits, releases and deployments from the repository. Use the commands in the table at the top of this article to keep only pull requests, or to add reviews and comments.

Official Slack GitHub integration
2. Using Axolo Slack and GitHub integration:
Axolo is a bidirectionnal integration. For every pull request Axolo will open a Slack channel and archive it automatically whenever you close or merge the pull requests. What's practical is that it invites the right engineers (reviewers, creators, and assignees) to the Slack channel. It's easy to engage in a chat about a specific pull request.
On top of that, Axolo will open an _axolo channel with notifications for every pull request. Depending on the status of the pull request (draft, to be reviewed, changes requested, closed, merged) it will react with an Emoji. This allows teams to have a high-level view of what's happening in the team.

Have a high-level view on your team pull requests with automatic reactions on pull request status.
How to install Axolo:
Step 1:
Sign up on Axolo.co with your Slack Workspace.
Step 2:
Add your GitHub Organization.
Step 3:
Onboard the engineers on your team.

The Axolo way: subscribe to GitHub pull requests in Slack