Slack Connect GitHub
The GitHub integration for Slack brings code activity directly into developer channels. Pull requests, commits, issue updates, and CI build results post automatically in Slack. Development teams stay informed about code changes without watching GitHub dashboards all day.
What the GitHub Integration Does
GITHUB EVENTS → SLACK NOTIFICATIONS Pull request opened → Posts in #dev-team or repo channel PR review requested → DM to the requested reviewer PR merged → Posts confirmation in channel Issue opened/closed → Posts in subscribed channel Commit pushed → Posts commit summary Build failed (CI) → Alert in #alerts channel Release published → Posts in #announcements Comment on your PR → DM notification
How to Connect GitHub to Slack
- Go to Apps → App Directory → search "GitHub".
- Click "Add to Slack".
- A GitHub bot appears in your DMs.
- Type
/github signinin the bot DM. - Authorize Slack to access your GitHub account.
- You are connected personally — each team member repeats this step.
A workspace admin installs the app once. Each engineer then connects their own GitHub account using the /github signin command.
Subscribing a Channel to a Repository
Tell GitHub which channel to send notifications for a specific repository:
/github subscribe owner/repository EXAMPLE: /github subscribe acmecorp/mobile-app → #dev-team now receives all activity from the acmecorp/mobile-app repository
You can subscribe multiple repositories to one channel, or route different repos to different channels.
Filtering What Gets Notified
A busy repository would flood the channel if every event triggered a notification. Filter by event type:
/github subscribe acmecorp/mobile-app pulls reviews → Only pull requests and reviews notify the channel → Commits, issues, comments are silenced AVAILABLE FILTERS: issues → issue opened/closed/labeled pulls → pull requests opened/merged/closed reviews → PR review comments and approvals commits → all pushes to default branch releases → new releases published deployments → deployment status changes comments → all comments on issues and PRs
GitHub Link Unfurling
Paste any GitHub URL into a Slack message and Slack shows a preview card. For pull requests, it shows the PR title, status (open/merged/closed), number of commits, and reviewers. For issues, it shows the title, status, and labels.
GITHUB PR LINK PASTED IN SLACK https://github.com/acmecorp/mobile-app/pull/142 ┌───────────────────────────────────────────────┐ │ 🐙 Pull Request #142 │ │ "Fix: Login crash on Android 13" │ │ Status: Open · 3 commits · 2 reviewers │ │ Requested: @alice @bob │ │ [Open in GitHub] │ └───────────────────────────────────────────────┘
Creating and Managing Issues from Slack
Create a GitHub Issue
/github open acmecorp/mobile-app → Opens a form inside Slack → Fill in title and description → Issue created in GitHub ✓
Close an Issue
/github close acmecorp/mobile-app #123 → Closes issue #123 directly from Slack
Personal Notifications for Your Code
The GitHub bot sends you personal DMs when:
- Someone requests your review on a pull request.
- Someone comments on your PR or issue.
- Your PR gets approved or changes are requested.
- A PR you are mentioned in receives new activity.
Practical Team Setup
RECOMMENDED CHANNEL SETUP FOR DEV TEAMS # dev-team → Subscribe to: pulls, reviews # dev-releases → Subscribe to: releases # dev-alerts → Subscribe to: deployments, failed builds # dev-issues → Subscribe to: issues
Separating event types into dedicated channels prevents any single channel from becoming overwhelming while keeping the right people informed.
Useful GitHub Slash Commands
/github signin → Connect your GitHub account /github subscribe owner/repo → Subscribe channel to a repo /github unsubscribe owner/repo → Remove a subscription /github open owner/repo → Create a new issue /github remind me in 2 hours → Set a GitHub-specific reminder
Key Takeaways
- Install the GitHub app from Slack's App Directory; each engineer signs in with
/github signin. - Use
/github subscribe owner/repoto route repository activity to a channel. - Filter event types to avoid notification overload in busy repositories.
- GitHub link unfurling shows PR and issue details without clicking to open GitHub.
- Separate repo events across dedicated channels for pulls, releases, alerts, and issues.
