Slack: Github bot: post notifications
β’ 107 words β’ 1 min β’ updated
Assume your organization has the Github bot integrated with Slack, and it’s already properly configured.
Assume you have a channel called #team-reviews.
Problem statement: subscribe the github repository my-org/my-repo to post
updates to that channel.
As per the
documentation,
use the /subscribe and /unsubscribe commands. Send them in the
#team-reviews channel:
/github subscribe my-org/my-repoβ Subscribed to my-org/my-repo. This channel will receive notifications for
issues,pulls,commits,releases,deployments
In case you wish to subscribe to only pull requests and commits, follow up with:
/github unsubscribe my-org/my-repo issues,releases,deploymentsβ Subscribed to my-org/my-repo. This channel will receive notifications for
pulls,commits
Repeat for as many repositories as needed.