{"action":"created","comment":{"url":"https://api.github.com/repos/agileseason/agileseason/pulls/comments/47825635","id":47825635,"diff_hunk":"@@ -22,8 +22,9 @@ def rename\n   end\n \n   def apply_hook\n-    # NOTE If need test webhook: 1) remove if statement; 2) use ngrok; 3) set callback domain like a 'http://37847032.ngrok.io' in github_api.\n-    github_api.apply_issues_hook(@board) if Rails.env.production?\n+    # NOTE If need test webhook:\n+    # NOTE 1) remove if statement; 2) use ngrok with localhost; 3) set callback domain like a 'http://37847032.ngrok.io/webhook/github' in github_api.","path":"app/controllers/settings_controller.rb","position":7,"original_position":7,"commit_id":"f4e4d60de7b8afd2e928c02da446eabcb2a7e73b","original_commit_id":"f4e4d60de7b8afd2e928c02da446eabcb2a7e73b","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long. [150/100]","created_at":"2015-12-16T19:57:06Z","updated_at":"2015-12-16T19:57:06Z","html_url":"https://github.com/agileseason/agileseason/pull/777#discussion_r47825635","pull_request_url":"https://api.github.com/repos/agileseason/agileseason/pulls/777","_links":{"self":{"href":"https://api.github.com/repos/agileseason/agileseason/pulls/comments/47825635"},"html":{"href":"https://github.com/agileseason/agileseason/pull/777#discussion_r47825635"},"pull_request":{"href":"https://api.github.com/repos/agileseason/agileseason/pulls/777"}}},"pull_request":{"url":"https://api.github.com/repos/agileseason/agileseason/pulls/777","id":53890045,"html_url":"https://github.com/agileseason/agileseason/pull/777","diff_url":"https://github.com/agileseason/agileseason/pull/777.diff","patch_url":"https://github.com/agileseason/agileseason/pull/777.patch","issue_url":"https://api.github.com/repos/agileseason/agileseason/issues/777","number":777,"state":"open","locked":false,"title":"Fix github webhook if invalid param issue","user":{"login":"blackchestnut","id":2400100,"avatar_url":"https://avatars.githubusercontent.com/u/2400100?v=3","gravatar_id":"","url":"https://api.github.com/users/blackchestnut","html_url":"https://github.com/blackchestnut","followers_url":"https://api.github.com/users/blackchestnut/followers","following_url":"https://api.github.com/users/blackchestnut/following{/other_user}","gists_url":"https://api.github.com/users/blackchestnut/gists{/gist_id}","starred_url":"https://api.github.com/users/blackchestnut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blackchestnut/subscriptions","organizations_url":"https://api.github.com/users/blackchestnut/orgs","repos_url":"https://api.github.com/users/blackchestnut/repos","events_url":"https://api.github.com/users/blackchestnut/events{/privacy}","received_events_url":"https://api.github.com/users/blackchestnut/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-16T19:57:02Z","updated_at":"2015-12-16T19:57:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4afde658cb89019277ba040bc5be6aa6c3a6fc7b","assignee":{"login":"blackchestnut","id":2400100,"avatar_url":"https://avatars.githubusercontent.com/u/2400100?v=3","gravatar_id":"","url":"https://api.github.com/users/blackchestnut","html_url":"https://github.com/blackchestnut","followers_url":"https://api.github.com/users/blackchestnut/followers","following_url":"https://api.github.com/users/blackchestnut/following{/other_user}","gists_url":"https://api.github.com/users/blackchestnut/gists{/gist_id}","starred_url":"https://api.github.com/users/blackchestnut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blackchestnut/subscriptions","organizations_url":"https://api.github.com/users/blackchestnut/orgs","repos_url":"https://api.github.com/users/blackchestnut/repos","events_url":"https://api.github.com/users/blackchestnut/events{/privacy}","received_events_url":"https://api.github.com/users/blackchestnut/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/agileseason/agileseason/pulls/777/commits","review_comments_url":"https://api.github.com/repos/agileseason/agileseason/pulls/777/comments","review_comment_url":"https://api.github.com/repos/agileseason/agileseason/pulls/comments{/number}","comments_url":"https://api.github.com/repos/agileseason/agileseason/issues/777/comments","statuses_url":"https://api.github.com/repos/agileseason/agileseason/statuses/f4e4d60de7b8afd2e928c02da446eabcb2a7e73b","head":{"label":"agileseason:hotfix/webhook_callback","ref":"hotfix/webhook_callback","sha":"f4e4d60de7b8afd2e928c02da446eabcb2a7e73b","user":{"login":"agileseason","id":9547438,"avatar_url":"https://avatars.githubusercontent.com/u/9547438?v=3","gravatar_id":"","url":"https://api.github.com/users/agileseason","html_url":"https://github.com/agileseason","followers_url":"https://api.github.com/users/agileseason/followers","following_url":"https://api.github.com/users/agileseason/following{/other_user}","gists_url":"https://api.github.com/users/agileseason/gists{/gist_id}","starred_url":"https://api.github.com/users/agileseason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agileseason/subscriptions","organizations_url":"https://api.github.com/users/agileseason/orgs","repos_url":"https://api.github.com/users/agileseason/repos","events_url":"https://api.github.com/users/agileseason/events{/privacy}","received_events_url":"https://api.github.com/users/agileseason/received_events","type":"Organization","site_admin":false},"repo":{"id":26205980,"name":"agileseason","full_name":"agileseason/agileseason","owner":{"login":"agileseason","id":9547438,"avatar_url":"https://avatars.githubusercontent.com/u/9547438?v=3","gravatar_id":"","url":"https://api.github.com/users/agileseason","html_url":"https://github.com/agileseason","followers_url":"https://api.github.com/users/agileseason/followers","following_url":"https://api.github.com/users/agileseason/following{/other_user}","gists_url":"https://api.github.com/users/agileseason/gists{/gist_id}","starred_url":"https://api.github.com/users/agileseason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agileseason/subscriptions","organizations_url":"https://api.github.com/users/agileseason/orgs","repos_url":"https://api.github.com/users/agileseason/repos","events_url":"https://api.github.com/users/agileseason/events{/privacy}","received_events_url":"https://api.github.com/users/agileseason/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/agileseason/agileseason","description":"Agile board for github issues with metrics","fork":false,"url":"https://api.github.com/repos/agileseason/agileseason","forks_url":"https://api.github.com/repos/agileseason/agileseason/forks","keys_url":"https://api.github.com/repos/agileseason/agileseason/keys{/key_id}","collaborators_url":"https://api.github.com/repos/agileseason/agileseason/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/agileseason/agileseason/teams","hooks_url":"https://api.github.com/repos/agileseason/agileseason/hooks","issue_events_url":"https://api.github.com/repos/agileseason/agileseason/issues/events{/number}","events_url":"https://api.github.com/repos/agileseason/agileseason/events","assignees_url":"https://api.github.com/repos/agileseason/agileseason/assignees{/user}","branches_url":"https://api.github.com/repos/agileseason/agileseason/branches{/branch}","tags_url":"https://api.github.com/repos/agileseason/agileseason/tags","blobs_url":"https://api.github.com/repos/agileseason/agileseason/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/agileseason/agileseason/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/agileseason/agileseason/git/refs{/sha}","trees_url":"https://api.github.com/repos/agileseason/agileseason/git/trees{/sha}","statuses_url":"https://api.github.com/repos/agileseason/agileseason/statuses/{sha}","languages_url":"https://api.github.com/repos/agileseason/agileseason/languages","stargazers_url":"https://api.github.com/repos/agileseason/agileseason/stargazers","contributors_url":"https://api.github.com/repos/agileseason/agileseason/contributors","subscribers_url":"https://api.github.com/repos/agileseason/agileseason/subscribers","subscription_url":"https://api.github.com/repos/agileseason/agileseason/subscription","commits_url":"https://api.github.com/repos/agileseason/agileseason/commits{/sha}","git_commits_url":"https://api.github.com/repos/agileseason/agileseason/git/commits{/sha}","comments_url":"https://api.github.com/repos/agileseason/agileseason/comments{/number}","issue_comment_url":"https://api.github.com/repos/agileseason/agileseason/issues/comments{/number}","contents_url":"https://api.github.com/repos/agileseason/agileseason/contents/{+path}","compare_url":"https://api.github.com/repos/agileseason/agileseason/compare/{base}...{head}","merges_url":"https://api.github.com/repos/agileseason/agileseason/merges","archive_url":"https://api.github.com/repos/agileseason/agileseason/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/agileseason/agileseason/downloads","issues_url":"https://api.github.com/repos/agileseason/agileseason/issues{/number}","pulls_url":"https://api.github.com/repos/agileseason/agileseason/pulls{/number}","milestones_url":"https://api.github.com/repos/agileseason/agileseason/milestones{/number}","notifications_url":"https://api.github.com/repos/agileseason/agileseason/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/agileseason/agileseason/labels{/name}","releases_url":"https://api.github.com/repos/agileseason/agileseason/releases{/id}","created_at":"2014-11-05T06:11:09Z","updated_at":"2015-08-16T14:59:12Z","pushed_at":"2015-12-16T19:57:02Z","git_url":"git://github.com/agileseason/agileseason.git","ssh_url":"git@github.com:agileseason/agileseason.git","clone_url":"https://github.com/agileseason/agileseason.git","svn_url":"https://github.com/agileseason/agileseason","homepage":"https://agileseason.com","size":16369,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":29,"forks":1,"open_issues":29,"watchers":5,"default_branch":"master"}},"base":{"label":"agileseason:master","ref":"master","sha":"53b16d564e3108bd0d9934cdc36340058574ff7d","user":{"login":"agileseason","id":9547438,"avatar_url":"https://avatars.githubusercontent.com/u/9547438?v=3","gravatar_id":"","url":"https://api.github.com/users/agileseason","html_url":"https://github.com/agileseason","followers_url":"https://api.github.com/users/agileseason/followers","following_url":"https://api.github.com/users/agileseason/following{/other_user}","gists_url":"https://api.github.com/users/agileseason/gists{/gist_id}","starred_url":"https://api.github.com/users/agileseason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agileseason/subscriptions","organizations_url":"https://api.github.com/users/agileseason/orgs","repos_url":"https://api.github.com/users/agileseason/repos","events_url":"https://api.github.com/users/agileseason/events{/privacy}","received_events_url":"https://api.github.com/users/agileseason/received_events","type":"Organization","site_admin":false},"repo":{"id":26205980,"name":"agileseason","full_name":"agileseason/agileseason","owner":{"login":"agileseason","id":9547438,"avatar_url":"https://avatars.githubusercontent.com/u/9547438?v=3","gravatar_id":"","url":"https://api.github.com/users/agileseason","html_url":"https://github.com/agileseason","followers_url":"https://api.github.com/users/agileseason/followers","following_url":"https://api.github.com/users/agileseason/following{/other_user}","gists_url":"https://api.github.com/users/agileseason/gists{/gist_id}","starred_url":"https://api.github.com/users/agileseason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agileseason/subscriptions","organizations_url":"https://api.github.com/users/agileseason/orgs","repos_url":"https://api.github.com/users/agileseason/repos","events_url":"https://api.github.com/users/agileseason/events{/privacy}","received_events_url":"https://api.github.com/users/agileseason/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/agileseason/agileseason","description":"Agile board for github issues with metrics","fork":false,"url":"https://api.github.com/repos/agileseason/agileseason","forks_url":"https://api.github.com/repos/agileseason/agileseason/forks","keys_url":"https://api.github.com/repos/agileseason/agileseason/keys{/key_id}","collaborators_url":"https://api.github.com/repos/agileseason/agileseason/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/agileseason/agileseason/teams","hooks_url":"https://api.github.com/repos/agileseason/agileseason/hooks","issue_events_url":"https://api.github.com/repos/agileseason/agileseason/issues/events{/number}","events_url":"https://api.github.com/repos/agileseason/agileseason/events","assignees_url":"https://api.github.com/repos/agileseason/agileseason/assignees{/user}","branches_url":"https://api.github.com/repos/agileseason/agileseason/branches{/branch}","tags_url":"https://api.github.com/repos/agileseason/agileseason/tags","blobs_url":"https://api.github.com/repos/agileseason/agileseason/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/agileseason/agileseason/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/agileseason/agileseason/git/refs{/sha}","trees_url":"https://api.github.com/repos/agileseason/agileseason/git/trees{/sha}","statuses_url":"https://api.github.com/repos/agileseason/agileseason/statuses/{sha}","languages_url":"https://api.github.com/repos/agileseason/agileseason/languages","stargazers_url":"https://api.github.com/repos/agileseason/agileseason/stargazers","contributors_url":"https://api.github.com/repos/agileseason/agileseason/contributors","subscribers_url":"https://api.github.com/repos/agileseason/agileseason/subscribers","subscription_url":"https://api.github.com/repos/agileseason/agileseason/subscription","commits_url":"https://api.github.com/repos/agileseason/agileseason/commits{/sha}","git_commits_url":"https://api.github.com/repos/agileseason/agileseason/git/commits{/sha}","comments_url":"https://api.github.com/repos/agileseason/agileseason/comments{/number}","issue_comment_url":"https://api.github.com/repos/agileseason/agileseason/issues/comments{/number}","contents_url":"https://api.github.com/repos/agileseason/agileseason/contents/{+path}","compare_url":"https://api.github.com/repos/agileseason/agileseason/compare/{base}...{head}","merges_url":"https://api.github.com/repos/agileseason/agileseason/merges","archive_url":"https://api.github.com/repos/agileseason/agileseason/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/agileseason/agileseason/downloads","issues_url":"https://api.github.com/repos/agileseason/agileseason/issues{/number}","pulls_url":"https://api.github.com/repos/agileseason/agileseason/pulls{/number}","milestones_url":"https://api.github.com/repos/agileseason/agileseason/milestones{/number}","notifications_url":"https://api.github.com/repos/agileseason/agileseason/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/agileseason/agileseason/labels{/name}","releases_url":"https://api.github.com/repos/agileseason/agileseason/releases{/id}","created_at":"2014-11-05T06:11:09Z","updated_at":"2015-08-16T14:59:12Z","pushed_at":"2015-12-16T19:57:02Z","git_url":"git://github.com/agileseason/agileseason.git","ssh_url":"git@github.com:agileseason/agileseason.git","clone_url":"https://github.com/agileseason/agileseason.git","svn_url":"https://github.com/agileseason/agileseason","homepage":"https://agileseason.com","size":16369,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":29,"forks":1,"open_issues":29,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/agileseason/agileseason/pulls/777"},"html":{"href":"https://github.com/agileseason/agileseason/pull/777"},"issue":{"href":"https://api.github.com/repos/agileseason/agileseason/issues/777"},"comments":{"href":"https://api.github.com/repos/agileseason/agileseason/issues/777/comments"},"review_comments":{"href":"https://api.github.com/repos/agileseason/agileseason/pulls/777/comments"},"review_comment":{"href":"https://api.github.com/repos/agileseason/agileseason/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/agileseason/agileseason/pulls/777/commits"},"statuses":{"href":"https://api.github.com/repos/agileseason/agileseason/statuses/f4e4d60de7b8afd2e928c02da446eabcb2a7e73b"}}}}