My GitHub App is listening for InstallationRepositoriesEvent and it also sometimes creates repositories itself and then receives an event about the repository it just created. Events for repositories created by the app have the following sender:
"sender": {
"login": "<application-slug>[bot]",
<...>
"type": "Bot",
<...>
}
Sender is being parsed as HookUser, whose type field is parsed as OwnerType, which currently supports only two values (User or Organization), so it fails with:
Error in $.sender.type: Unknown owner type: Bot
My GitHub App is listening for
InstallationRepositoriesEventand it also sometimes creates repositories itself and then receives an event about the repository it just created. Events for repositories created by the app have the followingsender:Sender is being parsed as
HookUser, whosetypefield is parsed asOwnerType, which currently supports only two values (UserorOrganization), so it fails with: