Insights

Github Slack App: subscribe to all commits

1 min read
Screenshot of the Github Slack App

Github Slack integration: subscribe to commits for all branches

We use Github and Slack extensively at Si Novi and the Github Slack App is a useful way to integrate the two systems. It's helpful when collaborating on a project to see the progress others are making, or to keep an eye on new issues or project tickets being created.

We use feature branches for development and so it's common that we want to see commits pushed to all branches for a repo, not just for the default branch main.

The way to subscribe to all branches of a Github repository is with the following slack command:

/github subscribe owner/repo commits:*

There are lots of resources online that suggest commits:all, but this doesn't work for us.

Github & Slack: subscribe to specific branch

There may be times you want to subscribe for Slack updates to a specific branch on Github, in which case you can do this:

/github subscribe owner/repo commits:branch-name

See the Github App on the Slack App directory: https://slack.com/apps/A01BP7R4KNY-github?tab=more_info

Github Slack App documentation: https://github.com/integrations/slack?tab=readme-ov-file#features

Do you have any thoughts on this article? Get in touch: hello@sinovi.uk


Authored by

Profile image of James Galley James Galley