You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm writing a GitHub App that must be notified when a new pull request is opened. I'am new to webhooks, so it's not clear for me how to work with them using this SDK (actually how to work with them in general). Does the SDK have the build-in support for receiving events from GitHub?
The SDK has a GHHook entity, but it's really unclear for me how to get it. What I understood about webhooks is that I need a server with some endpoint which will be called by GitHub when the event triggered. Does the SDK has the ability to build such a server and get GHHook instances within the api, or I need to use some other tools like Smee + implement my own server as described in GitHub docs?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm writing a GitHub App that must be notified when a new pull request is opened. I'am new to webhooks, so it's not clear for me how to work with them using this SDK (actually how to work with them in general). Does the SDK have the build-in support for receiving events from GitHub?
The SDK has a
GHHook
entity, but it's really unclear for me how to get it. What I understood about webhooks is that I need a server with some endpoint which will be called by GitHub when the event triggered. Does the SDK has the ability to build such a server and getGHHook
instances within the api, or I need to use some other tools like Smee + implement my own server as described in GitHub docs?Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions