slack
slack copied to clipboard
Branch-by-branch filtering
It would be great to be able to filter activity alerts based on a list of branches, similar to what's available in the legacy app (the setting was labeled: 'Branch | Optional branch (or comma-separated branches) to filter on.').
From the configuration notes it appears we can only do 'default branch', 'all', or 'none', effectively. If I'm misreading, I'd love to hear if this is possible. Many thanks.
This was critical to my company's usage. We had separate channels for checkin notices (pushes to develop) vs. releases (pushes to master) so that managerial staff could be aware of production deployment.
Agreed, we're finding the integration unusable in our Slack #github
channel without only specifying specific branches (e.g.: only master
, dev
, staging
) and ignoring the rest. Becomes amazingly spammy otherwise. This was supported in the legacy app so it would be lovely to have it included here.
We are missing this in our organization as well. Need the ability to subscribe to one or multiple branches in a repository.
Indeed, especially if you are following the git-flow model, this is highly needed.
yes, it's important to have separate notifications for separate branches. The only solution for now is using custom script to accept hooks from github and send messages to slack.
+1 for importance for us too. We have to uninstall this because we need notifications for multiple stable branches, but certainly not ALL branches in the repo.
Great suggestion - we can't migrate from the legacy app until this is implemented.
A big +1 here as well. The existing syntax, as found at https://github.com/integrations/slack#configuration, could already accommodate filtering for at least one specific branch. Right now it's possible to do:
/github subscribe alice/some-repo commits:all
What follows the colon could be the name of any specific branch, e.g.
/github subscribe alice/some-repo commits:some-topic-branch
In any case, this is one more feature missing from the new app that was present in the old one. I'm loving the convenience of having a /github subscribe
slash command (have wanted this for years!) but I'm afraid it's coming at a pretty steep cost. Thanks for considering.
also would be nice if it supported wildcards, e.g.
/github subscribe alice/some-repo commits:release*
We create release branches for each release. These notifications would be nice for our product team that is very concerned with activity only related to release branch.
Along the same lines, being able to limit the type of activities that alert would be nice (in my case I only want to know when a PR is opened, nothing else).
+1
+1
Any timeline on this? Pretty essential in order to EOL the legacy app.
Yes. +1
Please! +1
+1
along the line, it would be nice to be able to filter deployments
by branch, since we use feature branches for QA's
+1
::::Need to subscribe github-url for a specific feature branch::::
I am using Slack. I have added GutHub App. I have already subscribed my github project. I am able to get all the commits info for master branch.
Requirement: I want notifications regarding commits,etc. only for a specific feature branch.
Please help here.
+1
+1
+1
+1
+1. just posting to bring this up again.
I tried the above solution with commits:
@bvergara87
This
/github subscribe alice/some-repo commits:some-topic-branch
was just a suggestion.
The only two currently available commit subscribe options are:
Subscribe to default branch commits:
/github subscribe alice/some-repo commits
Subscribe to all branches commits:
/github subscribe alice/some-repo commits:all
Would love to:
Subscribe to named branch commits:
/github subscribe alice/some-repo commits:branch-name
I feel like this is pretty critical functionality as well! Otherwise this integration has a pretty narrow use case. +1
I am commenting as I would seriously appreciate/need this.
As a workaround I compare the hashes returned by git ls-remote
and post a Message to Slack via the API if the hash changes.