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
The Push event includes a Pusher, which only has four fields:
date
email
name
username
The PushEvent type includes a Pusher, but the type is a full User object, which not only will have most fields unfilled, but more importantly, the username from the webhook is lost because a typical User includes a login, not username.
The Push event includes a
Pusher
, which only has four fields:The
PushEvent
type includes aPusher
, but the type is a fullUser
object, which not only will have most fields unfilled, but more importantly, theusername
from the webhook is lost because a typicalUser
includes alogin
, notusername
.https://docs.github.com/en/webhooks/webhook-events-and-payloads#push
These should probably be distinct objects, much like
Repository
andPushEventRepository
are distinct.I'll send a PR for this in a bit.
The text was updated successfully, but these errors were encountered: