gr2m / gr2m/github-app-webhook-relay

Implement `filter` option

Open
#7 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Webhooks can become noisy, especially org-level webhooks, e.g. for projects. If your app handles the `projects_v2_item` event, and your org has a lot of projects with a lot of usage, you will have a very hard time to spot the events relevant to you.

Adding a `filter` option would help in this case. It could be a faction that is called with the webhook event object. If it returns with a truthy value, the event will be forwarded to the app, otherwise not.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.