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
Hello everyone. I can see that context.name can either take the value of the event name or a combination of event name and action. However I could not find any documentation on how this works. My assumption was that when the app receives a Webhooks event (say pull_request), it would simply transform it into the WebhookEvent object with context.name = pull_request and context.payload.action = synchronize. In what scenarios will this event be structured such that context.name = pull_request.synchronize ? I tried inspecting the events on smee.io, and via logs, but can see that the latter scenario has never occurred.
Any info is appreciated, thanks!
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
-
Hello everyone. I can see that context.name can either take the value of the event name or a combination of event name and action. However I could not find any documentation on how this works. My assumption was that when the app receives a Webhooks event (say pull_request), it would simply transform it into the WebhookEvent object with
context.name = pull_request
andcontext.payload.action = synchronize
. In what scenarios will this event be structured such thatcontext.name = pull_request.synchronize
? I tried inspecting the events on smee.io, and via logs, but can see that the latter scenario has never occurred.Any info is appreciated, thanks!
Beta Was this translation helpful? Give feedback.
All reactions