Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add branch label to applicable types #114

Open
krancour opened this issue May 13, 2022 · 0 comments
Open

Add branch label to applicable types #114

krancour opened this issue May 13, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@krancour
Copy link
Contributor

It would be nice if subscribers could optionally narrow their subscriptions to applicable event type using a "branch" label. In this way, one could, for instance, express an interest only in events related to branch foo.

Great care needs to be taken in implementing this. The indicator that something is related in some way to a given branch will vary from one webhook type to the next. A pull request webhook illustrates this point. A pull request references both a source and target branch. While the source branch may be the right thing to put in the Git.Ref field (the thing to be "built"), the target branch is the right thing to put in the label.

@krancour krancour added the enhancement New feature or request label May 13, 2022
@krancour krancour self-assigned this May 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant