{"action":"closed","number":96,"pull_request":{"url":"https://api.github.com/repos/mozilla/pulse_actions/pulls/96","id":75832733,"html_url":"https://github.com/mozilla/pulse_actions/pull/96","diff_url":"https://github.com/mozilla/pulse_actions/pull/96.diff","patch_url":"https://github.com/mozilla/pulse_actions/pull/96.patch","issue_url":"https://api.github.com/repos/mozilla/pulse_actions/issues/96","number":96,"state":"closed","locked":false,"title":"Handlers do not guarantee a numeric exit code; work around it","user":{"login":"armenzg","id":44410,"avatar_url":"https://avatars.githubusercontent.com/u/44410?v=3","gravatar_id":"","url":"https://api.github.com/users/armenzg","html_url":"https://github.com/armenzg","followers_url":"https://api.github.com/users/armenzg/followers","following_url":"https://api.github.com/users/armenzg/following{/other_user}","gists_url":"https://api.github.com/users/armenzg/gists{/gist_id}","starred_url":"https://api.github.com/users/armenzg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armenzg/subscriptions","organizations_url":"https://api.github.com/users/armenzg/orgs","repos_url":"https://api.github.com/users/armenzg/repos","events_url":"https://api.github.com/users/armenzg/events{/privacy}","received_events_url":"https://api.github.com/users/armenzg/received_events","type":"User","site_admin":false},"body":"We currently don't have a safe guard for handlers to have a numeric exit code but they can return None.\r\n\r\nIn this patch we work around it until we can fix it.\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"35\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/mozilla/pulse_actions/96)\n<!-- Reviewable:end -->\n","created_at":"2016-06-30T14:47:29Z","updated_at":"2016-06-30T14:48:02Z","closed_at":"2016-06-30T14:48:01Z","merged_at":"2016-06-30T14:48:01Z","merge_commit_sha":"6e23988c2edba57c7c454b1aa590ee6e4523d2ca","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/pulse_actions/pulls/96/commits","review_comments_url":"https://api.github.com/repos/mozilla/pulse_actions/pulls/96/comments","review_comment_url":"https://api.github.com/repos/mozilla/pulse_actions/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/pulse_actions/issues/96/comments","statuses_url":"https://api.github.com/repos/mozilla/pulse_actions/statuses/b3c03f511cde4435da992040b09f5f00725603c1","head":{"label":"mozilla:heroku","ref":"heroku","sha":"b3c03f511cde4435da992040b09f5f00725603c1","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":36251301,"name":"pulse_actions","full_name":"mozilla/pulse_actions","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/pulse_actions","description":"Listen to pulse messages and take actions from them","fork":false,"url":"https://api.github.com/repos/mozilla/pulse_actions","forks_url":"https://api.github.com/repos/mozilla/pulse_actions/forks","keys_url":"https://api.github.com/repos/mozilla/pulse_actions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/pulse_actions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/pulse_actions/teams","hooks_url":"https://api.github.com/repos/mozilla/pulse_actions/hooks","issue_events_url":"https://api.github.com/repos/mozilla/pulse_actions/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/pulse_actions/events","assignees_url":"https://api.github.com/repos/mozilla/pulse_actions/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/pulse_actions/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/pulse_actions/tags","blobs_url":"https://api.github.com/repos/mozilla/pulse_actions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/pulse_actions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/pulse_actions/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/pulse_actions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/pulse_actions/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/pulse_actions/languages","stargazers_url":"https://api.github.com/repos/mozilla/pulse_actions/stargazers","contributors_url":"https://api.github.com/repos/mozilla/pulse_actions/contributors","subscribers_url":"https://api.github.com/repos/mozilla/pulse_actions/subscribers","subscription_url":"https://api.github.com/repos/mozilla/pulse_actions/subscription","commits_url":"https://api.github.com/repos/mozilla/pulse_actions/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/pulse_actions/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/pulse_actions/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/pulse_actions/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/pulse_actions/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/pulse_actions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/pulse_actions/merges","archive_url":"https://api.github.com/repos/mozilla/pulse_actions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/pulse_actions/downloads","issues_url":"https://api.github.com/repos/mozilla/pulse_actions/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/pulse_actions/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/pulse_actions/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/pulse_actions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/pulse_actions/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/pulse_actions/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla/pulse_actions/deployments","created_at":"2015-05-25T19:49:45Z","updated_at":"2016-05-02T17:07:28Z","pushed_at":"2016-06-30T14:48:01Z","git_url":"git://github.com/mozilla/pulse_actions.git","ssh_url":"git@github.com:mozilla/pulse_actions.git","clone_url":"https://github.com/mozilla/pulse_actions.git","svn_url":"https://github.com/mozilla/pulse_actions","homepage":null,"size":344,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":11,"forks":8,"open_issues":11,"watchers":4,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"dc1ae23f4c2053abbe634cec314fe6ddd52b81fe","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":36251301,"name":"pulse_actions","full_name":"mozilla/pulse_actions","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/pulse_actions","description":"Listen to pulse messages and take actions from them","fork":false,"url":"https://api.github.com/repos/mozilla/pulse_actions","forks_url":"https://api.github.com/repos/mozilla/pulse_actions/forks","keys_url":"https://api.github.com/repos/mozilla/pulse_actions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/pulse_actions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/pulse_actions/teams","hooks_url":"https://api.github.com/repos/mozilla/pulse_actions/hooks","issue_events_url":"https://api.github.com/repos/mozilla/pulse_actions/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/pulse_actions/events","assignees_url":"https://api.github.com/repos/mozilla/pulse_actions/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/pulse_actions/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/pulse_actions/tags","blobs_url":"https://api.github.com/repos/mozilla/pulse_actions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/pulse_actions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/pulse_actions/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/pulse_actions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/pulse_actions/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/pulse_actions/languages","stargazers_url":"https://api.github.com/repos/mozilla/pulse_actions/stargazers","contributors_url":"https://api.github.com/repos/mozilla/pulse_actions/contributors","subscribers_url":"https://api.github.com/repos/mozilla/pulse_actions/subscribers","subscription_url":"https://api.github.com/repos/mozilla/pulse_actions/subscription","commits_url":"https://api.github.com/repos/mozilla/pulse_actions/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/pulse_actions/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/pulse_actions/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/pulse_actions/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/pulse_actions/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/pulse_actions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/pulse_actions/merges","archive_url":"https://api.github.com/repos/mozilla/pulse_actions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/pulse_actions/downloads","issues_url":"https://api.github.com/repos/mozilla/pulse_actions/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/pulse_actions/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/pulse_actions/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/pulse_actions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/pulse_actions/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/pulse_actions/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla/pulse_actions/deployments","created_at":"2015-05-25T19:49:45Z","updated_at":"2016-05-02T17:07:28Z","pushed_at":"2016-06-30T14:48:01Z","git_url":"git://github.com/mozilla/pulse_actions.git","ssh_url":"git@github.com:mozilla/pulse_actions.git","clone_url":"https://github.com/mozilla/pulse_actions.git","svn_url":"https://github.com/mozilla/pulse_actions","homepage":null,"size":344,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":11,"forks":8,"open_issues":11,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/pulse_actions/pulls/96"},"html":{"href":"https://github.com/mozilla/pulse_actions/pull/96"},"issue":{"href":"https://api.github.com/repos/mozilla/pulse_actions/issues/96"},"comments":{"href":"https://api.github.com/repos/mozilla/pulse_actions/issues/96/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/pulse_actions/pulls/96/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/pulse_actions/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/pulse_actions/pulls/96/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/pulse_actions/statuses/b3c03f511cde4435da992040b09f5f00725603c1"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"armenzg","id":44410,"avatar_url":"https://avatars.githubusercontent.com/u/44410?v=3","gravatar_id":"","url":"https://api.github.com/users/armenzg","html_url":"https://github.com/armenzg","followers_url":"https://api.github.com/users/armenzg/followers","following_url":"https://api.github.com/users/armenzg/following{/other_user}","gists_url":"https://api.github.com/users/armenzg/gists{/gist_id}","starred_url":"https://api.github.com/users/armenzg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armenzg/subscriptions","organizations_url":"https://api.github.com/users/armenzg/orgs","repos_url":"https://api.github.com/users/armenzg/repos","events_url":"https://api.github.com/users/armenzg/events{/privacy}","received_events_url":"https://api.github.com/users/armenzg/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":2,"additions":4,"deletions":4,"changed_files":1}}
{"actor":{"display_login":"armenzg"}}