payload: {"action":"created","comment":{"url":"https://api.github.com/repos/codelingo/gh_int_test/pulls/comments/317384396","pull_request_review_id":279321764,"id":317384396,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMxNzM4NDM5Ng==","diff_hunk":"@@ -0,0 +1,15 @@\n+package main\n+\n+import (\n+\t\"fmt\"\n+\t\"os\"\n+)\n+\n+func aFunc() {\n+\tf, err := os.Open(\"/tmp/test.txt\") //ISSUE","path":"a_no_defer.go","position":9,"original_position":9,"commit_id":"443dd0c15f1441317e76c2d7e01907bb9fb6155f","original_commit_id":"443dd0c15f1441317e76c2d7e01907bb9fb6155f","user":{"login":"codelingo[bot]","id":40811528,"node_id":"MDM6Qm90NDA4MTE1Mjg=","avatar_url":"https://avatars3.githubusercontent.com/in/14339?v=4","gravatar_id":"","url":"https://api.github.com/users/codelingo%5Bbot%5D","html_url":"https://github.com/apps/codelingo","followers_url":"https://api.github.com/users/codelingo%5Bbot%5D/followers","following_url":"https://api.github.com/users/codelingo%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/codelingo%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/codelingo%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codelingo%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/codelingo%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/codelingo%5Bbot%5D/repos","events_url":"https://api.github.com/users/codelingo%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/codelingo%5Bbot%5D/received_events","type":"Bot","site_admin":false},"body":"Add `defer f.Close()` after opening the file `f`. . [as specified in Effective Go](https://golang.org/doc/effective_go.html#defer)","created_at":"2019-08-25T06:39:44Z","updated_at":"2019-08-25T06:39:44Z","html_url":"https://github.com/codelingo/gh_int_test/pull/220#discussion_r317384396","pull_request_url":"https://api.github.com/repos/codelingo/gh_int_test/pulls/220","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/codelingo/gh_int_test/pulls/comments/317384396"},"html":{"href":"https://github.com/codelingo/gh_int_test/pull/220#discussion_r317384396"},"pull_request":{"href":"https://api.github.com/repos/codelingo/gh_int_test/pulls/220"}}},"pull_request":{"url":"https://api.github.com/repos/codelingo/gh_int_test/pulls/220","id":310662621,"node_id":"MDExOlB1bGxSZXF1ZXN0MzEwNjYyNjIx","html_url":"https://github.com/codelingo/gh_int_test/pull/220","diff_url":"https://github.com/codelingo/gh_int_test/pull/220.diff","patch_url":"https://github.com/codelingo/gh_int_test/pull/220.patch","issue_url":"https://api.github.com/repos/codelingo/gh_int_test/issues/220","number":220,"state":"open","locked":false,"title":"MultiCommitsPR: delete b.go. add a_no_defer.go","user":{"login":"CodeLingoBot","id":45469328,"node_id":"MDQ6VXNlcjQ1NDY5MzI4","avatar_url":"https://avatars1.githubusercontent.com/u/45469328?v=4","gravatar_id":"","url":"https://api.github.com/users/CodeLingoBot","html_url":"https://github.com/CodeLingoBot","followers_url":"https://api.github.com/users/CodeLingoBot/followers","following_url":"https://api.github.com/users/CodeLingoBot/following{/other_user}","gists_url":"https://api.github.com/users/CodeLingoBot/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeLingoBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeLingoBot/subscriptions","organizations_url":"https://api.github.com/users/CodeLingoBot/orgs","repos_url":"https://api.github.com/users/CodeLingoBot/repos","events_url":"https://api.github.com/users/CodeLingoBot/events{/privacy}","received_events_url":"https://api.github.com/users/CodeLingoBot/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-08-25T06:39:25Z","updated_at":"2019-08-25T06:39:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"26625eedaf79a743bc9bf748d7750bf1adcc4dce","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/codelingo/gh_int_test/pulls/220/commits","review_comments_url":"https://api.github.com/repos/codelingo/gh_int_test/pulls/220/comments","review_comment_url":"https://api.github.com/repos/codelingo/gh_int_test/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codelingo/gh_int_test/issues/220/comments","statuses_url":"https://api.github.com/repos/codelingo/gh_int_test/statuses/443dd0c15f1441317e76c2d7e01907bb9fb6155f","head":{"label":"codelingo:multi_commits_test","ref":"multi_commits_test","sha":"443dd0c15f1441317e76c2d7e01907bb9fb6155f","user":{"login":"codelingo","id":17955691,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3OTU1Njkx","avatar_url":"https://avatars3.githubusercontent.com/u/17955691?v=4","gravatar_id":"","url":"https://api.github.com/users/codelingo","html_url":"https://github.com/codelingo","followers_url":"https://api.github.com/users/codelingo/followers","following_url":"https://api.github.com/users/codelingo/following{/other_user}","gists_url":"https://api.github.com/users/codelingo/gists{/gist_id}","starred_url":"https://api.github.com/users/codelingo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codelingo/subscriptions","organizations_url":"https://api.github.com/users/codelingo/orgs","repos_url":"https://api.github.com/users/codelingo/repos","events_url":"https://api.github.com/users/codelingo/events{/privacy}","received_events_url":"https://api.github.com/users/codelingo/received_events","type":"Organization","site_admin":false},"repo":{"id":196092132,"node_id":"MDEwOlJlcG9zaXRvcnkxOTYwOTIxMzI=","name":"gh_int_test","full_name":"codelingo/gh_int_test","private":false,"owner":{"login":"codelingo","id":17955691,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3OTU1Njkx","avatar_url":"https://avatars3.githubusercontent.com/u/17955691?v=4","gravatar_id":"","url":"https://api.github.com/users/codelingo","html_url":"https://github.com/codelingo","followers_url":"https://api.github.com/users/codelingo/followers","following_url":"https://api.github.com/users/codelingo/following{/other_user}","gists_url":"https://api.github.com/users/codelingo/gists{/gist_id}","starred_url":"https://api.github.com/users/codelingo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codelingo/subscriptions","organizations_url":"https://api.github.com/users/codelingo/orgs","repos_url":"https://api.github.com/users/codelingo/repos","events_url":"https://api.github.com/users/codelingo/events{/privacy}","received_events_url":"https://api.github.com/users/codelingo/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/codelingo/gh_int_test","description":"Integration test repo for GitHub Bot","fork":false,"url":"https://api.github.com/repos/codelingo/gh_int_test","forks_url":"https://api.github.com/repos/codelingo/gh_int_test/forks","keys_url":"https://api.github.com/repos/codelingo/gh_int_test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codelingo/gh_int_test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codelingo/gh_int_test/teams","hooks_url":"https://api.github.com/repos/codelingo/gh_int_test/hooks","issue_events_url":"https://api.github.com/repos/codelingo/gh_int_test/issues/events{/number}","events_url":"https://api.github.com/repos/codelingo/gh_int_test/events","assignees_url":"https://api.github.com/repos/codelingo/gh_int_test/assignees{/user}","branches_url":"https://api.github.com/repos/codelingo/gh_int_test/branches{/branch}","tags_url":"https://api.github.com/repos/codelingo/gh_int_test/tags","blobs_url":"https://api.github.com/repos/codelingo/gh_int_test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codelingo/gh_int_test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codelingo/gh_int_test/git/refs{/sha}","trees_url":"https://api.github.com/repos/codelingo/gh_int_test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codelingo/gh_int_test/statuses/{sha}","languages_url":"https://api.github.com/repos/codelingo/gh_int_test/languages","stargazers_url":"https://api.github.com/repos/codelingo/gh_int_test/stargazers","contributors_url":"https://api.github.com/repos/codelingo/gh_int_test/contributors","subscribers_url":"https://api.github.com/repos/codelingo/gh_int_test/subscribers","subscription_url":"https://api.github.com/repos/codelingo/gh_int_test/subscription","commits_url":"https://api.github.com/repos/codelingo/gh_int_test/commits{/sha}","git_commits_url":"https://api.github.com/repos/codelingo/gh_int_test/git/commits{/sha}","comments_url":"https://api.github.com/repos/codelingo/gh_int_test/comments{/number}","issue_comment_url":"https://api.github.com/repos/codelingo/gh_int_test/issues/comments{/number}","contents_url":"https://api.github.com/repos/codelingo/gh_int_test/contents/{+path}","compare_url":"https://api.github.com/repos/codelingo/gh_int_test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codelingo/gh_int_test/merges","archive_url":"https://api.github.com/repos/codelingo/gh_int_test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codelingo/gh_int_test/downloads","issues_url":"https://api.github.com/repos/codelingo/gh_int_test/issues{/number}","pulls_url":"https://api.github.com/repos/codelingo/gh_int_test/pulls{/number}","milestones_url":"https://api.github.com/repos/codelingo/gh_int_test/milestones{/number}","notifications_url":"https://api.github.com/repos/codelingo/gh_int_test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codelingo/gh_int_test/labels{/name}","releases_url":"https://api.github.com/repos/codelingo/gh_int_test/releases{/id}","deployments_url":"https://api.github.com/repos/codelingo/gh_int_test/deployments","created_at":"2019-07-09T22:27:15Z","updated_at":"2019-08-24T05:18:17Z","pushed_at":"2019-08-25T06:39:31Z","git_url":"git://github.com/codelingo/gh_int_test.git","ssh_url":"git@github.com:codelingo/gh_int_test.git","clone_url":"https://github.com/codelingo/gh_int_test.git","svn_url":"https://github.com/codelingo/gh_int_test","homepage":null,"size":6,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1,"license":null,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"codelingo:master","ref":"master","sha":"1f783b0f125acd4cfe9782cb3b4fcfdcf39a6776","user":{"login":"codelingo","id":17955691,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3OTU1Njkx","avatar_url":"https://avatars3.githubusercontent.com/u/17955691?v=4","gravatar_id":"","url":"https://api.github.com/users/codelingo","html_url":"https://github.com/codelingo","followers_url":"https://api.github.com/users/codelingo/followers","following_url":"https://api.github.com/users/codelingo/following{/other_user}","gists_url":"https://api.github.com/users/codelingo/gists{/gist_id}","starred_url":"https://api.github.com/users/codelingo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codelingo/subscriptions","organizations_url":"https://api.github.com/users/codelingo/orgs","repos_url":"https://api.github.com/users/codelingo/repos","events_url":"https://api.github.com/users/codelingo/events{/privacy}","received_events_url":"https://api.github.com/users/codelingo/received_events","type":"Organization","site_admin":false},"repo":{"id":196092132,"node_id":"MDEwOlJlcG9zaXRvcnkxOTYwOTIxMzI=","name":"gh_int_test","full_name":"codelingo/gh_int_test","private":false,"owner":{"login":"codelingo","id":17955691,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3OTU1Njkx","avatar_url":"https://avatars3.githubusercontent.com/u/17955691?v=4","gravatar_id":"","url":"https://api.github.com/users/codelingo","html_url":"https://github.com/codelingo","followers_url":"https://api.github.com/users/codelingo/followers","following_url":"https://api.github.com/users/codelingo/following{/other_user}","gists_url":"https://api.github.com/users/codelingo/gists{/gist_id}","starred_url":"https://api.github.com/users/codelingo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codelingo/subscriptions","organizations_url":"https://api.github.com/users/codelingo/orgs","repos_url":"https://api.github.com/users/codelingo/repos","events_url":"https://api.github.com/users/codelingo/events{/privacy}","received_events_url":"https://api.github.com/users/codelingo/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/codelingo/gh_int_test","description":"Integration test repo for GitHub Bot","fork":false,"url":"https://api.github.com/repos/codelingo/gh_int_test","forks_url":"https://api.github.com/repos/codelingo/gh_int_test/forks","keys_url":"https://api.github.com/repos/codelingo/gh_int_test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codelingo/gh_int_test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codelingo/gh_int_test/teams","hooks_url":"https://api.github.com/repos/codelingo/gh_int_test/hooks","issue_events_url":"https://api.github.com/repos/codelingo/gh_int_test/issues/events{/number}","events_url":"https://api.github.com/repos/codelingo/gh_int_test/events","assignees_url":"https://api.github.com/repos/codelingo/gh_int_test/assignees{/user}","branches_url":"https://api.github.com/repos/codelingo/gh_int_test/branches{/branch}","tags_url":"https://api.github.com/repos/codelingo/gh_int_test/tags","blobs_url":"https://api.github.com/repos/codelingo/gh_int_test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codelingo/gh_int_test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codelingo/gh_int_test/git/refs{/sha}","trees_url":"https://api.github.com/repos/codelingo/gh_int_test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codelingo/gh_int_test/statuses/{sha}","languages_url":"https://api.github.com/repos/codelingo/gh_int_test/languages","stargazers_url":"https://api.github.com/repos/codelingo/gh_int_test/stargazers","contributors_url":"https://api.github.com/repos/codelingo/gh_int_test/contributors","subscribers_url":"https://api.github.com/repos/codelingo/gh_int_test/subscribers","subscription_url":"https://api.github.com/repos/codelingo/gh_int_test/subscription","commits_url":"https://api.github.com/repos/codelingo/gh_int_test/commits{/sha}","git_commits_url":"https://api.github.com/repos/codelingo/gh_int_test/git/commits{/sha}","comments_url":"https://api.github.com/repos/codelingo/gh_int_test/comments{/number}","issue_comment_url":"https://api.github.com/repos/codelingo/gh_int_test/issues/comments{/number}","contents_url":"https://api.github.com/repos/codelingo/gh_int_test/contents/{+path}","compare_url":"https://api.github.com/repos/codelingo/gh_int_test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codelingo/gh_int_test/merges","archive_url":"https://api.github.com/repos/codelingo/gh_int_test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codelingo/gh_int_test/downloads","issues_url":"https://api.github.com/repos/codelingo/gh_int_test/issues{/number}","pulls_url":"https://api.github.com/repos/codelingo/gh_int_test/pulls{/number}","milestones_url":"https://api.github.com/repos/codelingo/gh_int_test/milestones{/number}","notifications_url":"https://api.github.com/repos/codelingo/gh_int_test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codelingo/gh_int_test/labels{/name}","releases_url":"https://api.github.com/repos/codelingo/gh_int_test/releases{/id}","deployments_url":"https://api.github.com/repos/codelingo/gh_int_test/deployments","created_at":"2019-07-09T22:27:15Z","updated_at":"2019-08-24T05:18:17Z","pushed_at":"2019-08-25T06:39:31Z","git_url":"git://github.com/codelingo/gh_int_test.git","ssh_url":"git@github.com:codelingo/gh_int_test.git","clone_url":"https://github.com/codelingo/gh_int_test.git","svn_url":"https://github.com/codelingo/gh_int_test","homepage":null,"size":6,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1,"license":null,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codelingo/gh_int_test/pulls/220"},"html":{"href":"https://github.com/codelingo/gh_int_test/pull/220"},"issue":{"href":"https://api.github.com/repos/codelingo/gh_int_test/issues/220"},"comments":{"href":"https://api.github.com/repos/codelingo/gh_int_test/issues/220/comments"},"review_comments":{"href":"https://api.github.com/repos/codelingo/gh_int_test/pulls/220/comments"},"review_comment":{"href":"https://api.github.com/repos/codelingo/gh_int_test/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codelingo/gh_int_test/pulls/220/commits"},"statuses":{"href":"https://api.github.com/repos/codelingo/gh_int_test/statuses/443dd0c15f1441317e76c2d7e01907bb9fb6155f"}},"author_association":"NONE"}}
other: {"actor":{"display_login":"codelingo"}}