The GitHub integration for Slack gives full visibility in GitHub projects right in Slack channels, where you can generate ideas, triage issues and collaborate with other teams to move projects forward. This integration is an open source project, built and maintained by GitHub.
You can customize your notifications by subscribing to activity that is relevant to your Slack channel, and unsubscribing from activity that is less helpful to your project.
Settings are configured with the /github slash command:
/github subscribe owner/repo [feature]
/github unsubscribe owner/repo [feature]
These are enabled by default, and can be disabled with the /github unsubscribe owner/repo [feature] command:
issues- Opened or closed issuespulls- New or merged pull requestsstatuses- Statuses on pull requestscommits- New commits on the default branch (usuallymaster)deployments- Updated status on deploymentspublic- A repository switching from private to publicreleases- Published releases
These are disabled by default, and can be enabled with the /github subscribe owner/repo [feature] command:
reviews- Pull request reviewscomments- New comments on issues and pull requestsbranches- Created or deleted branchescommits:all- All commits pushed to any branch
You can subscribe or unsubscribe from multiple settings at once. For example, to turn on activity for pull request reviews and comments:
/github subscribe owner/repo reviews comments
And to turn it back off:
/github unsubscribe owner/repo reviews comments
There are times when this integration may cause Revoke Access error.
In that case use following slash command in the github app
/github signin
This will provide the required authorization.
👍 Hope it helps