slack icon indicating copy to clipboard operation
slack copied to clipboard

Subbed to commits, but only commits to master are posted to Slack

Open ddejohn opened this issue 5 years ago • 10 comments
trafficstars

Subscribed to commits, and branches.

The bot posts in Slack when new branches are created (as expected), but does not post when commits are pushed to branches other than master.

ddejohn avatar Jun 04 '20 23:06 ddejohn

Thanks for opening this issue! If you would like to help implement an improvement, read more about contributing and consider submitting a pull request.

welcome[bot] avatar Jun 04 '20 23:06 welcome[bot]

@ddejohn Are you trying to get notified for every commit for every branch, or do you want to be able to choose specific branches?

I was gonna start a PR, but the scope would change depending on what you want. It'd help me if you clarify.

chenbobby avatar Jun 06 '20 20:06 chenbobby

I think both would be nice, like a subscribe commits -all command, but also have the ability to subscribe only to specific branches. But I recognize my use-case may be different than others and I'm not sure what would be the ideal implementation. I also realize this may be kind of a pain, since branches are often deleted after merging...

ddejohn avatar Jun 07 '20 19:06 ddejohn

@ddejohn Have you tried /github subscribe owner/repo commits:all

AlphaCactus avatar Aug 07 '20 18:08 AlphaCactus

Being able to sub to specific branch or all branches that fit a name filter would be great eg /github subscribe owner/repo commits:"release/*"

dmitry-tw avatar Oct 15 '20 05:10 dmitry-tw

it would be great if it were possible to subscribe for commits on a specific branch for example: /github subscribe istricesrl/glisweb commits:develop

fabiomosti avatar Nov 14 '20 09:11 fabiomosti

I would like to do :

/github subscribe company commits:all

To subscribe to all commits from all repos.

If I subscribe to the company then to a particular repo to add commits:all I have duplicates and it is not possible to filter a branch.

edit: I no longer use Slack.

bertho-zero avatar Dec 17 '20 09:12 bertho-zero

it would be great if it were possible to subscribe for commits on a specific branch for example: /github subscribe istricesrl/glisweb commits:develop

This is exactly what I would like to see! 👍 Any chance getting this is sometime soon? 😊

pexxi avatar Apr 07 '21 11:04 pexxi

image it's already works

saiqulhaq-hh avatar Mar 23 '22 06:03 saiqulhaq-hh

image

it's already works

Where I can see this configuration?

nikunj1314 avatar Aug 23 '22 13:08 nikunj1314