{"action":"created","comment":{"url":"https://api.github.com/repos/google/go-github/pulls/comments/68264489","id":68264489,"diff_hunk":"@@ -316,15 +316,22 @@ func (p PushEvent) String() string {\n \n // PushEventCommit represents a git commit in a GitHub PushEvent.\n type PushEventCommit struct {\n-\tSHA       *string       `json:\"sha,omitempty\"`\n-\tMessage   *string       `json:\"message,omitempty\"`\n-\tAuthor    *CommitAuthor `json:\"author,omitempty\"`\n+\tMessage  *string       `json:\"message,omitempty\"`\n+\tAuthor   *CommitAuthor `json:\"author,omitempty\"`\n+\tURL      *string       `json:\"url,omitempty\"`\n+\tDistinct *bool         `json:\"distinct,omitempty\"`\n+\n+\t// The following fields are only populated by Events API.\n+\tSHA *string `json:\"sha,omitempty\"`\n+\n+\t// The following fields are only populated by Webhook events.\n+\tID        *string       `json:\"id,omitempty\"`\n+\tTreeID    *string       `json:\"tree_id,omitempty\"`\n \tCommitter *CommitAuthor `json:\"committer,omitempty\"`\n-\tURL       *string       `json:\"url,omitempty\"`\n-\tDistinct  *bool         `json:\"distinct,omitempty\"`\n \tAdded     []string      `json:\"added,omitempty\"`\n \tRemoved   []string      `json:\"removed,omitempty\"`\n \tModified  []string      `json:\"modified,omitempty\"`\n+\tTimestamp *Timestamp    `json:\"timestamp,omitempty\"`","path":"github/event_types.go","position":24,"original_position":24,"commit_id":"b6ac720ca4299a33d05e4011b4635d93f172908d","original_commit_id":"b6ac720ca4299a33d05e4011b4635d93f172908d","user":{"login":"gmlewis","id":6598971,"avatar_url":"https://avatars.githubusercontent.com/u/6598971?v=3","gravatar_id":"","url":"https://api.github.com/users/gmlewis","html_url":"https://github.com/gmlewis","followers_url":"https://api.github.com/users/gmlewis/followers","following_url":"https://api.github.com/users/gmlewis/following{/other_user}","gists_url":"https://api.github.com/users/gmlewis/gists{/gist_id}","starred_url":"https://api.github.com/users/gmlewis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmlewis/subscriptions","organizations_url":"https://api.github.com/users/gmlewis/orgs","repos_url":"https://api.github.com/users/gmlewis/repos","events_url":"https://api.github.com/users/gmlewis/events{/privacy}","received_events_url":"https://api.github.com/users/gmlewis/received_events","type":"User","site_admin":false},"body":"@shurcooL - It seems to me that your review comments have always led to improvements in the code and they are very welcome and greatly appreciated. Thank you!\r\n\r\nYes, I agree.  I'll move it before the `Committer` so that it is with the more mundane fields like `ID` and `TreeID`.","created_at":"2016-06-23T16:11:05Z","updated_at":"2016-06-23T16:11:05Z","html_url":"https://github.com/google/go-github/pull/379#discussion_r68264489","pull_request_url":"https://api.github.com/repos/google/go-github/pulls/379","_links":{"self":{"href":"https://api.github.com/repos/google/go-github/pulls/comments/68264489"},"html":{"href":"https://github.com/google/go-github/pull/379#discussion_r68264489"},"pull_request":{"href":"https://api.github.com/repos/google/go-github/pulls/379"}}},"pull_request":{"url":"https://api.github.com/repos/google/go-github/pulls/379","id":74644062,"html_url":"https://github.com/google/go-github/pull/379","diff_url":"https://github.com/google/go-github/pull/379.diff","patch_url":"https://github.com/google/go-github/pull/379.patch","issue_url":"https://api.github.com/repos/google/go-github/issues/379","number":379,"state":"open","locked":false,"title":"better support both Events API and Webhook events in PushEventCommit","user":{"login":"gmlewis","id":6598971,"avatar_url":"https://avatars.githubusercontent.com/u/6598971?v=3","gravatar_id":"","url":"https://api.github.com/users/gmlewis","html_url":"https://github.com/gmlewis","followers_url":"https://api.github.com/users/gmlewis/followers","following_url":"https://api.github.com/users/gmlewis/following{/other_user}","gists_url":"https://api.github.com/users/gmlewis/gists{/gist_id}","starred_url":"https://api.github.com/users/gmlewis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmlewis/subscriptions","organizations_url":"https://api.github.com/users/gmlewis/orgs","repos_url":"https://api.github.com/users/gmlewis/repos","events_url":"https://api.github.com/users/gmlewis/events{/privacy}","received_events_url":"https://api.github.com/users/gmlewis/received_events","type":"User","site_admin":false},"body":"Fixes #370.\r\n\r\nChange-Id: I0a8567ae352bd2e9e973ac73383894d2b4cdfb9d","created_at":"2016-06-21T16:30:34Z","updated_at":"2016-06-23T16:11:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2cd76cf2e2c36c22c8a06d7172061d506cbf8319","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/google/go-github/pulls/379/commits","review_comments_url":"https://api.github.com/repos/google/go-github/pulls/379/comments","review_comment_url":"https://api.github.com/repos/google/go-github/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/go-github/issues/379/comments","statuses_url":"https://api.github.com/repos/google/go-github/statuses/b6ac720ca4299a33d05e4011b4635d93f172908d","head":{"label":"gmlewis:i-370-webhook","ref":"i-370-webhook","sha":"b6ac720ca4299a33d05e4011b4635d93f172908d","user":{"login":"gmlewis","id":6598971,"avatar_url":"https://avatars.githubusercontent.com/u/6598971?v=3","gravatar_id":"","url":"https://api.github.com/users/gmlewis","html_url":"https://github.com/gmlewis","followers_url":"https://api.github.com/users/gmlewis/followers","following_url":"https://api.github.com/users/gmlewis/following{/other_user}","gists_url":"https://api.github.com/users/gmlewis/gists{/gist_id}","starred_url":"https://api.github.com/users/gmlewis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmlewis/subscriptions","organizations_url":"https://api.github.com/users/gmlewis/orgs","repos_url":"https://api.github.com/users/gmlewis/repos","events_url":"https://api.github.com/users/gmlewis/events{/privacy}","received_events_url":"https://api.github.com/users/gmlewis/received_events","type":"User","site_admin":false},"repo":{"id":51617950,"name":"go-github","full_name":"gmlewis/go-github","owner":{"login":"gmlewis","id":6598971,"avatar_url":"https://avatars.githubusercontent.com/u/6598971?v=3","gravatar_id":"","url":"https://api.github.com/users/gmlewis","html_url":"https://github.com/gmlewis","followers_url":"https://api.github.com/users/gmlewis/followers","following_url":"https://api.github.com/users/gmlewis/following{/other_user}","gists_url":"https://api.github.com/users/gmlewis/gists{/gist_id}","starred_url":"https://api.github.com/users/gmlewis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmlewis/subscriptions","organizations_url":"https://api.github.com/users/gmlewis/orgs","repos_url":"https://api.github.com/users/gmlewis/repos","events_url":"https://api.github.com/users/gmlewis/events{/privacy}","received_events_url":"https://api.github.com/users/gmlewis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gmlewis/go-github","description":"Go library for accessing the GitHub API","fork":true,"url":"https://api.github.com/repos/gmlewis/go-github","forks_url":"https://api.github.com/repos/gmlewis/go-github/forks","keys_url":"https://api.github.com/repos/gmlewis/go-github/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gmlewis/go-github/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gmlewis/go-github/teams","hooks_url":"https://api.github.com/repos/gmlewis/go-github/hooks","issue_events_url":"https://api.github.com/repos/gmlewis/go-github/issues/events{/number}","events_url":"https://api.github.com/repos/gmlewis/go-github/events","assignees_url":"https://api.github.com/repos/gmlewis/go-github/assignees{/user}","branches_url":"https://api.github.com/repos/gmlewis/go-github/branches{/branch}","tags_url":"https://api.github.com/repos/gmlewis/go-github/tags","blobs_url":"https://api.github.com/repos/gmlewis/go-github/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gmlewis/go-github/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gmlewis/go-github/git/refs{/sha}","trees_url":"https://api.github.com/repos/gmlewis/go-github/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gmlewis/go-github/statuses/{sha}","languages_url":"https://api.github.com/repos/gmlewis/go-github/languages","stargazers_url":"https://api.github.com/repos/gmlewis/go-github/stargazers","contributors_url":"https://api.github.com/repos/gmlewis/go-github/contributors","subscribers_url":"https://api.github.com/repos/gmlewis/go-github/subscribers","subscription_url":"https://api.github.com/repos/gmlewis/go-github/subscription","commits_url":"https://api.github.com/repos/gmlewis/go-github/commits{/sha}","git_commits_url":"https://api.github.com/repos/gmlewis/go-github/git/commits{/sha}","comments_url":"https://api.github.com/repos/gmlewis/go-github/comments{/number}","issue_comment_url":"https://api.github.com/repos/gmlewis/go-github/issues/comments{/number}","contents_url":"https://api.github.com/repos/gmlewis/go-github/contents/{+path}","compare_url":"https://api.github.com/repos/gmlewis/go-github/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gmlewis/go-github/merges","archive_url":"https://api.github.com/repos/gmlewis/go-github/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gmlewis/go-github/downloads","issues_url":"https://api.github.com/repos/gmlewis/go-github/issues{/number}","pulls_url":"https://api.github.com/repos/gmlewis/go-github/pulls{/number}","milestones_url":"https://api.github.com/repos/gmlewis/go-github/milestones{/number}","notifications_url":"https://api.github.com/repos/gmlewis/go-github/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gmlewis/go-github/labels{/name}","releases_url":"https://api.github.com/repos/gmlewis/go-github/releases{/id}","deployments_url":"https://api.github.com/repos/gmlewis/go-github/deployments","created_at":"2016-02-12T21:34:43Z","updated_at":"2016-02-12T21:34:44Z","pushed_at":"2016-06-22T16:35:27Z","git_url":"git://github.com/gmlewis/go-github.git","ssh_url":"git@github.com:gmlewis/go-github.git","clone_url":"https://github.com/gmlewis/go-github.git","svn_url":"https://github.com/gmlewis/go-github","homepage":"http://godoc.org/github.com/google/go-github/github","size":1030,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"google:master","ref":"master","sha":"07995e49c22dcb1e372c88ff12793b0194433e1c","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":10270722,"name":"go-github","full_name":"google/go-github","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/go-github","description":"Go library for accessing the GitHub API","fork":false,"url":"https://api.github.com/repos/google/go-github","forks_url":"https://api.github.com/repos/google/go-github/forks","keys_url":"https://api.github.com/repos/google/go-github/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/go-github/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/go-github/teams","hooks_url":"https://api.github.com/repos/google/go-github/hooks","issue_events_url":"https://api.github.com/repos/google/go-github/issues/events{/number}","events_url":"https://api.github.com/repos/google/go-github/events","assignees_url":"https://api.github.com/repos/google/go-github/assignees{/user}","branches_url":"https://api.github.com/repos/google/go-github/branches{/branch}","tags_url":"https://api.github.com/repos/google/go-github/tags","blobs_url":"https://api.github.com/repos/google/go-github/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/go-github/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/go-github/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/go-github/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/go-github/statuses/{sha}","languages_url":"https://api.github.com/repos/google/go-github/languages","stargazers_url":"https://api.github.com/repos/google/go-github/stargazers","contributors_url":"https://api.github.com/repos/google/go-github/contributors","subscribers_url":"https://api.github.com/repos/google/go-github/subscribers","subscription_url":"https://api.github.com/repos/google/go-github/subscription","commits_url":"https://api.github.com/repos/google/go-github/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/go-github/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/go-github/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/go-github/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/go-github/contents/{+path}","compare_url":"https://api.github.com/repos/google/go-github/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/go-github/merges","archive_url":"https://api.github.com/repos/google/go-github/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/go-github/downloads","issues_url":"https://api.github.com/repos/google/go-github/issues{/number}","pulls_url":"https://api.github.com/repos/google/go-github/pulls{/number}","milestones_url":"https://api.github.com/repos/google/go-github/milestones{/number}","notifications_url":"https://api.github.com/repos/google/go-github/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/go-github/labels{/name}","releases_url":"https://api.github.com/repos/google/go-github/releases{/id}","deployments_url":"https://api.github.com/repos/google/go-github/deployments","created_at":"2013-05-24T16:42:58Z","updated_at":"2016-06-23T08:15:37Z","pushed_at":"2016-06-23T06:27:39Z","git_url":"git://github.com/google/go-github.git","ssh_url":"git@github.com:google/go-github.git","clone_url":"https://github.com/google/go-github.git","svn_url":"https://github.com/google/go-github","homepage":"http://godoc.org/github.com/google/go-github/github","size":1573,"stargazers_count":1753,"watchers_count":1753,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":378,"mirror_url":null,"open_issues_count":28,"forks":378,"open_issues":28,"watchers":1753,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/go-github/pulls/379"},"html":{"href":"https://github.com/google/go-github/pull/379"},"issue":{"href":"https://api.github.com/repos/google/go-github/issues/379"},"comments":{"href":"https://api.github.com/repos/google/go-github/issues/379/comments"},"review_comments":{"href":"https://api.github.com/repos/google/go-github/pulls/379/comments"},"review_comment":{"href":"https://api.github.com/repos/google/go-github/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/go-github/pulls/379/commits"},"statuses":{"href":"https://api.github.com/repos/google/go-github/statuses/b6ac720ca4299a33d05e4011b4635d93f172908d"}}}}
{"actor":{"display_login":"gmlewis"}}