diff --git a/pkg/remote/builtin/github/github.go b/pkg/remote/builtin/github/github.go index 5c8192a44..54b261b6a 100644 --- a/pkg/remote/builtin/github/github.go +++ b/pkg/remote/builtin/github/github.go @@ -403,13 +403,13 @@ type pushHook struct { Author struct { Name string `json:"name"` - Email string `json:"name"` + Email string `json:"email"` Username string `json:"username"` } `json:"author"` Committer struct { Name string `json:"name"` - Email string `json:"name"` + Email string `json:"email"` Username string `json:"username"` } `json:"committer"` } `json:"head_commit"`