One minute
Subscribe Slack to all branches in GitHub
A quick how to subscribe your GitHub app to notifications for all branches in Slack.
My business stakeholders find the commit messages in Slack from GitHub not only fascinating but also informative. Honestly it makes my life easier to and reduces my communication overhead when people are empowered to self help.
By default however, when you subscribe the GitHub app to a repo, Slack only gets Main commits pushed. This leaves the team without visiblity on branches where we work on new feature releases or tickets.
So here is a note to myself. How do you get GitHub notifcations on all branches in Slack? Easy:
/github subscribe owner/repo commits:all
For example:
/github subscribe andrewjstevens/andrewjstevens-com commits:all
Will produce something similar to this in your Slack channel: