-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
With changes announced in https://github.blog/changelog/2025-08-08-upcoming-changes-to-github-events-api-payloads/ it seems there is now inconsistency between the payload returned in the events API and in the payload of the GitHub webhooks.
In this issue #3665, the deprecation notes have been added. These are fully valid as the events API payload no longer contains these fields but as the same struct is used to unmarshal the webhook payloads it is now inconsistent because webhook payload still contains the fields deprecated on the event API.
This part of code
go-github/github/repos_hooks.go
Line 26 in 06ab3a2
| type WebHookPayload = PushEvent |
Are there any plans to split the implementation for events API and webhooks?
gmlewis
Metadata
Metadata
Assignees
Labels
No labels