8000 Add changes to RepositoryEvent · Issue #2232 · google/go-github · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Add changes to RepositoryEvent #2232
Closed
@ecrupper

Description

@ecrupper

In the case of a repository being renamed, there is a changes block in the webhook payload. Since Go-GitHub doesn't have this field in their RepositoryEvent struct, one must create a custom struct to unmarshal the old name of the repository.

I'm not sure if this is potentially a recurring issue for other repository events, but it would be nice to have Go-GitHub handle all the webhook information associated with renaming a repo.

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

      0