How to integrate GitHub with Slack to notify a specific channel of everything

Tadashi Shigeoka ·  Tue, June 2, 2020

I’ll introduce how to integrate GitHub with Slack to notify a specific channel of everything.

GitHub

Background: Want to receive GitHub notifications within Slack

Many people probably want to consolidate information within a Slack workspace, creating a situation where you only need to look at Slack.

GitHub - Slack Integration

Initial setup for GitHub - Slack integration

📚 GitHubとSlackを連動させて通知を受け取る@2018年版 - Qiita

If you follow the setup according to the above article, the initial setup will be complete.

Notify Slack of all GitHub notifications

The types of GitHub notifications to send to Slack are listed on the following site.

📚 Configuration | integrations/slack

To turn ON all notifications that are OFF by default, run the following Slack command in the Slack channel where you want to receive notifications:

/github subscribe your_org/your_repo reviews,comments,branches,commits:all

That’s all from the Gemba, where I want to notify a specific Slack channel of all GitHub notifications.