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
/github subscribe andrewjstevens/andrewjstevens-com commits:all
Will produce something similar to this in your Slack channel:
2021-03-13 19:00 (Last updated: 2021-12-14 11:58)
c1e7899 @ 2021-12-14