{"action":"closed","number":965,"pull_request":{"url":"https://api.github.com/repos/greenkeeperio/greenkeeper/pulls/965","id":223235603,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzMjM1NjAz","html_url":"https://github.com/greenkeeperio/greenkeeper/pull/965","diff_url":"https://github.com/greenkeeperio/greenkeeper/pull/965.diff","patch_url":"https://github.com/greenkeeperio/greenkeeper/pull/965.patch","issue_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/issues/965","number":965,"state":"closed","locked":false,"title":"fix(github): handle event payloads properly","user":{"login":"espy","id":391124,"node_id":"MDQ6VXNlcjM5MTEyNA==","avatar_url":"https://avatars2.githubusercontent.com/u/391124?v=4","gravatar_id":"","url":"https://api.github.com/users/espy","html_url":"https://github.com/espy","followers_url":"https://api.github.com/users/espy/followers","following_url":"https://api.github.com/users/espy/following{/other_user}","gists_url":"https://api.github.com/users/espy/gists{/gist_id}","starred_url":"https://api.github.com/users/espy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/espy/subscriptions","organizations_url":"https://api.github.com/users/espy/orgs","repos_url":"https://api.github.com/users/espy/repos","events_url":"https://api.github.com/users/espy/events{/privacy}","received_events_url":"https://api.github.com/users/espy/received_events","type":"User","site_admin":false},"body":"Bit of a mixup with what comes from where, also handle the case that the payload may or may not include the `installation` object, but there’s no reasoning as to when or why that happens. ","created_at":"2018-10-16T12:45:38Z","updated_at":"2018-10-16T12:58:15Z","closed_at":"2018-10-16T12:58:15Z","merged_at":"2018-10-16T12:58:15Z","merge_commit_sha":"b0d9d192ecd2e51098093a921d5d4ce479359c6c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/pulls/965/commits","review_comments_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/pulls/965/comments","review_comment_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/pulls/comments{/number}","comments_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/issues/965/comments","statuses_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/statuses/1fc8e827485b700325beffb740a3d34744776a03","head":{"label":"greenkeeperio:fix/handle-event-payloads-properly","ref":"fix/handle-event-payloads-properly","sha":"1fc8e827485b700325beffb740a3d34744776a03","user":{"login":"greenkeeperio","id":13812225,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzODEyMjI1","avatar_url":"https://avatars2.githubusercontent.com/u/13812225?v=4","gravatar_id":"","url":"https://api.github.com/users/greenkeeperio","html_url":"https://github.com/greenkeeperio","followers_url":"https://api.github.com/users/greenkeeperio/followers","following_url":"https://api.github.com/users/greenkeeperio/following{/other_user}","gists_url":"https://api.github.com/users/greenkeeperio/gists{/gist_id}","starred_url":"https://api.github.com/users/greenkeeperio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenkeeperio/subscriptions","organizations_url":"https://api.github.com/users/greenkeeperio/orgs","repos_url":"https://api.github.com/users/greenkeeperio/repos","events_url":"https://api.github.com/users/greenkeeperio/events{/privacy}","received_events_url":"https://api.github.com/users/greenkeeperio/received_events","type":"Organization","site_admin":false},"repo":{"id":40793484,"node_id":"MDEwOlJlcG9zaXRvcnk0MDc5MzQ4NA==","name":"greenkeeper","full_name":"greenkeeperio/greenkeeper","private":false,"owner":{"login":"greenkeeperio","id":13812225,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzODEyMjI1","avatar_url":"https://avatars2.githubusercontent.com/u/13812225?v=4","gravatar_id":"","url":"https://api.github.com/users/greenkeeperio","html_url":"https://github.com/greenkeeperio","followers_url":"https://api.github.com/users/greenkeeperio/followers","following_url":"https://api.github.com/users/greenkeeperio/following{/other_user}","gists_url":"https://api.github.com/users/greenkeeperio/gists{/gist_id}","starred_url":"https://api.github.com/users/greenkeeperio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenkeeperio/subscriptions","organizations_url":"https://api.github.com/users/greenkeeperio/orgs","repos_url":"https://api.github.com/users/greenkeeperio/repos","events_url":"https://api.github.com/users/greenkeeperio/events{/privacy}","received_events_url":"https://api.github.com/users/greenkeeperio/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/greenkeeperio/greenkeeper","description":":robot: :palm_tree: Real-time automated dependency updates for npm and GitHub","fork":false,"url":"https://api.github.com/repos/greenkeeperio/greenkeeper","forks_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/forks","keys_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/teams","hooks_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/hooks","issue_events_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/issues/events{/number}","events_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/events","assignees_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/assignees{/user}","branches_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/branches{/branch}","tags_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/tags","blobs_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/git/refs{/sha}","trees_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/statuses/{sha}","languages_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/languages","stargazers_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/stargazers","contributors_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/contributors","subscribers_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/subscribers","subscription_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/subscription","commits_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/commits{/sha}","git_commits_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/git/commits{/sha}","comments_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/comments{/number}","issue_comment_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/issues/comments{/number}","contents_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/contents/{+path}","compare_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/merges","archive_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/downloads","issues_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/issues{/number}","pulls_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/pulls{/number}","milestones_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/milestones{/number}","notifications_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/labels{/name}","releases_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/releases{/id}","deployments_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/deployments","created_at":"2015-08-16T00:16:58Z","updated_at":"2018-10-16T10:26:48Z","pushed_at":"2018-10-16T12:58:15Z","git_url":"git://github.com/greenkeeperio/greenkeeper.git","ssh_url":"git@github.com:greenkeeperio/greenkeeper.git","clone_url":"https://github.com/greenkeeperio/greenkeeper.git","svn_url":"https://github.com/greenkeeperio/greenkeeper","homepage":"https://greenkeeper.io/","size":1471,"stargazers_count":1298,"watchers_count":1298,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":83,"mirror_url":null,"archived":false,"open_issues_count":64,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":83,"open_issues":64,"watchers":1298,"default_branch":"master"}},"base":{"label":"greenkeeperio:master","ref":"master","sha":"fc04a8b8cbddb7194ceb55ae4cdd49030aa9a237","user":{"login":"greenkeeperio","id":13812225,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzODEyMjI1","avatar_url":"https://avatars2.githubusercontent.com/u/13812225?v=4","gravatar_id":"","url":"https://api.github.com/users/greenkeeperio","html_url":"https://github.com/greenkeeperio","followers_url":"https://api.github.com/users/greenkeeperio/followers","following_url":"https://api.github.com/users/greenkeeperio/following{/other_user}","gists_url":"https://api.github.com/users/greenkeeperio/gists{/gist_id}","starred_url":"https://api.github.com/users/greenkeeperio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenkeeperio/subscriptions","organizations_url":"https://api.github.com/users/greenkeeperio/orgs","repos_url":"https://api.github.com/users/greenkeeperio/repos","events_url":"https://api.github.com/users/greenkeeperio/events{/privacy}","received_events_url":"https://api.github.com/users/greenkeeperio/received_events","type":"Organization","site_admin":false},"repo":{"id":40793484,"node_id":"MDEwOlJlcG9zaXRvcnk0MDc5MzQ4NA==","name":"greenkeeper","full_name":"greenkeeperio/greenkeeper","private":false,"owner":{"login":"greenkeeperio","id":13812225,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzODEyMjI1","avatar_url":"https://avatars2.githubusercontent.com/u/13812225?v=4","gravatar_id":"","url":"https://api.github.com/users/greenkeeperio","html_url":"https://github.com/greenkeeperio","followers_url":"https://api.github.com/users/greenkeeperio/followers","following_url":"https://api.github.com/users/greenkeeperio/following{/other_user}","gists_url":"https://api.github.com/users/greenkeeperio/gists{/gist_id}","starred_url":"https://api.github.com/users/greenkeeperio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenkeeperio/subscriptions","organizations_url":"https://api.github.com/users/greenkeeperio/orgs","repos_url":"https://api.github.com/users/greenkeeperio/repos","events_url":"https://api.github.com/users/greenkeeperio/events{/privacy}","received_events_url":"https://api.github.com/users/greenkeeperio/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/greenkeeperio/greenkeeper","description":":robot: :palm_tree: Real-time automated dependency updates for npm and GitHub","fork":false,"url":"https://api.github.com/repos/greenkeeperio/greenkeeper","forks_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/forks","keys_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/teams","hooks_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/hooks","issue_events_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/issues/events{/number}","events_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/events","assignees_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/assignees{/user}","branches_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/branches{/branch}","tags_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/tags","blobs_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/git/refs{/sha}","trees_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/statuses/{sha}","languages_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/languages","stargazers_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/stargazers","contributors_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/contributors","subscribers_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/subscribers","subscription_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/subscription","commits_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/commits{/sha}","git_commits_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/git/commits{/sha}","comments_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/comments{/number}","issue_comment_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/issues/comments{/number}","contents_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/contents/{+path}","compare_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/merges","archive_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/downloads","issues_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/issues{/number}","pulls_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/pulls{/number}","milestones_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/milestones{/number}","notifications_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/labels{/name}","releases_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/releases{/id}","deployments_url":"https://api.github.com/repos/greenkeeperio/greenkeeper/deployments","created_at":"2015-08-16T00:16:58Z","updated_at":"2018-10-16T10:26:48Z","pushed_at":"2018-10-16T12:58:15Z","git_url":"git://github.com/greenkeeperio/greenkeeper.git","ssh_url":"git@github.com:greenkeeperio/greenkeeper.git","clone_url":"https://github.com/greenkeeperio/greenkeeper.git","svn_url":"https://github.com/greenkeeperio/greenkeeper","homepage":"https://greenkeeper.io/","size":1471,"stargazers_count":1298,"watchers_count":1298,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":83,"mirror_url":null,"archived":false,"open_issues_count":64,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":83,"open_issues":64,"watchers":1298,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/greenkeeperio/greenkeeper/pulls/965"},"html":{"href":"https://github.com/greenkeeperio/greenkeeper/pull/965"},"issue":{"href":"https://api.github.com/repos/greenkeeperio/greenkeeper/issues/965"},"comments":{"href":"https://api.github.com/repos/greenkeeperio/greenkeeper/issues/965/comments"},"review_comments":{"href":"https://api.github.com/repos/greenkeeperio/greenkeeper/pulls/965/comments"},"review_comment":{"href":"https://api.github.com/repos/greenkeeperio/greenkeeper/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/greenkeeperio/greenkeeper/pulls/965/commits"},"statuses":{"href":"https://api.github.com/repos/greenkeeperio/greenkeeper/statuses/1fc8e827485b700325beffb740a3d34744776a03"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"hulkoba","id":4191287,"node_id":"MDQ6VXNlcjQxOTEyODc=","avatar_url":"https://avatars2.githubusercontent.com/u/4191287?v=4","gravatar_id":"","url":"https://api.github.com/users/hulkoba","html_url":"https://github.com/hulkoba","followers_url":"https://api.github.com/users/hulkoba/followers","following_url":"https://api.github.com/users/hulkoba/following{/other_user}","gists_url":"https://api.github.com/users/hulkoba/gists{/gist_id}","starred_url":"https://api.github.com/users/hulkoba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hulkoba/subscriptions","organizations_url":"https://api.github.com/users/hulkoba/orgs","repos_url":"https://api.github.com/users/hulkoba/repos","events_url":"https://api.github.com/users/hulkoba/events{/privacy}","received_events_url":"https://api.github.com/users/hulkoba/received_events","type":"User","site_admin":false},"comments":0,"review_comments":1,"maintainer_can_modify":false,"commits":2,"additions":17,"deletions":7,"changed_files":3}}
{"actor":{"display_login":"hulkoba"}}