Skip to content

Add installation? into all relevant payload types #266

Closed
@DocX

Description

@DocX

When working with GitHub Apps webhooks, almost every webhook payload contains installation object. However current type annotations do not reflect that and only add installation in installation-related events.

Can we add installation?: InstallationInfo to all of the payload types where it can be contained when using GitHub App?

I am not sure what exactly the InstallationInfo type looks like in all payloads, but I think at least it has {id: number}?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugSomething isn't working as documented, or is being fixedtypescriptRelevant to TypeScript users only

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions