Closed faisalsayed10 closed 1 year ago
You can handle the issue.opened
event and keep a record of the issue then check in the issue.labelled
event if you have seen it for the opened event.
Otherwise, there isn't a way. It's how github sends the webhooks
Ah i see. Cool I'll close this issue.
What happened?
Is there a way to ignore the
issues.labeled
webhook, if I labeled the issue during creation?The problem is: I have two webhook listeners set up -
issues.opened
andissues.labeled
. Now, when I create an issue on Github, I add some labels during creation and then hit create.However, this results in both the webhooks being called and leads to duplicate errors on our backend, i.e
issues.opened
andissues.labeled
. Is there a way I can ignore the labeled event if it happened during issue creation?Versions
Relevant log output
No response
Code of Conduct