slack icon indicating copy to clipboard operation
slack copied to clipboard

Filter PRs and reviews by target branch

Open michalfita opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. When working on large repository where multiple teams create PRs for various themes of work, it would be useful if the channel can filter PRs by the target feature branch.

Describe the solution you'd like Example commands:

/github subscribe owner/repo pulls +into:"epic/ID-9876/*"
/github subscribe owner/repo pulls +into:"feature/milestone/*"
/github subscribe owner/repo reviews +into:"epic/ID-9876/*"
/github subscribe owner/repo reviews +into:"feature/milestone/*"

Then every time a PR into branch in the filter would trigger a notification to the channel subscribed. Any review to any PR into matching filter would trigger the notification to the channel subscribed.

In the ideal world filtering commits only to PR matching the filter would be interesting addition.

Describe alternatives you've considered There's no alternative - I don't want channel focus on working on the one feature to see all activity on the repository.

Additional context Not really.

michalfita avatar Nov 09 '21 14:11 michalfita

Would also be ideal if you could do this with the "from" branch, especially excluding certain branches.

For example, /github subscribe org/repo pulls -from:"dependabot-*" so that you would only get notifications of pull requests from branches that don't contain dependabot- in the name.

RodEsp avatar Jun 01 '22 15:06 RodEsp

We are looking at this functionality specifically ourselves

sangemaru avatar Nov 04 '22 15:11 sangemaru

Also looking for this and surprised it's absent as a feature

jamesgraham avatar Jan 11 '23 12:01 jamesgraham

This would definitely be a useful feature for my team right now.

Bandisa avatar May 03 '23 13:05 Bandisa

Adding another ping to the list, this would be ideal for our team structure. Would love to see this feature.

mrummlerBartlett avatar Sep 07 '23 01:09 mrummlerBartlett