Skip to content

Webhook MemberEvent Type is Missing Changes Object #3154

Description

@tayosec

The Member event type referenced here contains a changes object which is not reflected in the current MemberEvent Struct.

Confirmed that the changes object does get included in incoming webhook events.

{
    "event": "member",
    "payload": {
        "action": "added",
        "member": { },
        "changes": {
            "permission": {
                "to": "write"
            },
            "role_name": {
                "to": "maintain"
            }
        },
        "repository": { },
            
        },
        "organization": { }
}

Opened a pull request to add the missing object.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions