Filter push events by branch

Web hooks are a great way to integrate different systems, but many external systems provide no way to filter the incoming events. It would be helpful in these situations to be able to filter web hooks by branch so that I can listen to only webhooks from the important branches, not every feature branches I am uninterested in.

Original request

Just a feature that I'd find useful: I have a web hook that is triggered on Push events, however I only want it to be triggered for pushes to a specific branch(s). When creating a webhook, it could be possible to select the branches where the webhook would be triggered.

Perhaps even having some kind of regex matching so that for instance, all branches following feature/* would trigger a certain webhook.