{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/mercari/tfnotify/pulls/2","id":180468853,"node_id":"MDExOlB1bGxSZXF1ZXN0MTgwNDY4ODUz","html_url":"https://github.com/mercari/tfnotify/pull/2","diff_url":"https://github.com/mercari/tfnotify/pull/2.diff","patch_url":"https://github.com/mercari/tfnotify/pull/2.patch","issue_url":"https://api.github.com/repos/mercari/tfnotify/issues/2","number":2,"state":"closed","locked":false,"title":"Modified regex to self matcher","user":{"login":"Code-Hex","id":6500104,"node_id":"MDQ6VXNlcjY1MDAxMDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/6500104?v=4","gravatar_id":"","url":"https://api.github.com/users/Code-Hex","html_url":"https://github.com/Code-Hex","followers_url":"https://api.github.com/users/Code-Hex/followers","following_url":"https://api.github.com/users/Code-Hex/following{/other_user}","gists_url":"https://api.github.com/users/Code-Hex/gists{/gist_id}","starred_url":"https://api.github.com/users/Code-Hex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Code-Hex/subscriptions","organizations_url":"https://api.github.com/users/Code-Hex/orgs","repos_url":"https://api.github.com/users/Code-Hex/repos","events_url":"https://api.github.com/users/Code-Hex/events{/privacy}","received_events_url":"https://api.github.com/users/Code-Hex/received_events","type":"User","site_admin":false},"body":"## WHAT\r\n\r\nImproved to use regexp.\r\n\r\n## WHY\r\n\r\nI want to improve performance and correct how to use regexp.\r\n\r\nIn `GetDuplicates`\r\n\r\n```\r\ngoos: darwin\r\ngoarch: amd64\r\npkg: github.com/mercari/tfnotify/notifier/github\r\nBenchmarkGetDuplicates-8          100000             17613 ns/op           17406 B/op        167 allocs/op\r\nBenchmarkOldGetDuplicates-8        30000             50489 ns/op          111038 B/op        267 allocs/op\r\nPASS\r\nok      github.com/mercari/tfnotify/notifier/github     4.022s\r\n```","created_at":"2018-04-10T01:40:10Z","updated_at":"2018-10-17T04:34:13Z","closed_at":"2018-10-17T04:34:13Z","merged_at":null,"merge_commit_sha":"37290138f8008a7cd1ee6f5a9b1285f30e9269c8","assignee":null,"assignees":[],"requested_reviewers":[{"login":"b4b4r07","id":4442708,"node_id":"MDQ6VXNlcjQ0NDI3MDg=","avatar_url":"https://avatars1.githubusercontent.com/u/4442708?v=4","gravatar_id":"","url":"https://api.github.com/users/b4b4r07","html_url":"https://github.com/b4b4r07","followers_url":"https://api.github.com/users/b4b4r07/followers","following_url":"https://api.github.com/users/b4b4r07/following{/other_user}","gists_url":"https://api.github.com/users/b4b4r07/gists{/gist_id}","starred_url":"https://api.github.com/users/b4b4r07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b4b4r07/subscriptions","organizations_url":"https://api.github.com/users/b4b4r07/orgs","repos_url":"https://api.github.com/users/b4b4r07/repos","events_url":"https://api.github.com/users/b4b4r07/events{/privacy}","received_events_url":"https://api.github.com/users/b4b4r07/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mercari/tfnotify/pulls/2/commits","review_comments_url":"https://api.github.com/repos/mercari/tfnotify/pulls/2/comments","review_comment_url":"https://api.github.com/repos/mercari/tfnotify/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mercari/tfnotify/issues/2/comments","statuses_url":"https://api.github.com/repos/mercari/tfnotify/statuses/4b15aafb20728d283f839e458331c59b43e68741","head":{"label":"Code-Hex:master","ref":"master","sha":"4b15aafb20728d283f839e458331c59b43e68741","user":{"login":"Code-Hex","id":6500104,"node_id":"MDQ6VXNlcjY1MDAxMDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/6500104?v=4","gravatar_id":"","url":"https://api.github.com/users/Code-Hex","html_url":"https://github.com/Code-Hex","followers_url":"https://api.github.com/users/Code-Hex/followers","following_url":"https://api.github.com/users/Code-Hex/following{/other_user}","gists_url":"https://api.github.com/users/Code-Hex/gists{/gist_id}","starred_url":"https://api.github.com/users/Code-Hex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Code-Hex/subscriptions","organizations_url":"https://api.github.com/users/Code-Hex/orgs","repos_url":"https://api.github.com/users/Code-Hex/repos","events_url":"https://api.github.com/users/Code-Hex/events{/privacy}","received_events_url":"https://api.github.com/users/Code-Hex/received_events","type":"User","site_admin":false},"repo":{"id":128709345,"node_id":"MDEwOlJlcG9zaXRvcnkxMjg3MDkzNDU=","name":"tfnotify","full_name":"Code-Hex/tfnotify","private":false,"owner":{"login":"Code-Hex","id":6500104,"node_id":"MDQ6VXNlcjY1MDAxMDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/6500104?v=4","gravatar_id":"","url":"https://api.github.com/users/Code-Hex","html_url":"https://github.com/Code-Hex","followers_url":"https://api.github.com/users/Code-Hex/followers","following_url":"https://api.github.com/users/Code-Hex/following{/other_user}","gists_url":"https://api.github.com/users/Code-Hex/gists{/gist_id}","starred_url":"https://api.github.com/users/Code-Hex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Code-Hex/subscriptions","organizations_url":"https://api.github.com/users/Code-Hex/orgs","repos_url":"https://api.github.com/users/Code-Hex/repos","events_url":"https://api.github.com/users/Code-Hex/events{/privacy}","received_events_url":"https://api.github.com/users/Code-Hex/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Code-Hex/tfnotify","description":"A CLI command to parse Terraform execution result and notify it as GitHub","fork":true,"url":"https://api.github.com/repos/Code-Hex/tfnotify","forks_url":"https://api.github.com/repos/Code-Hex/tfnotify/forks","keys_url":"https://api.github.com/repos/Code-Hex/tfnotify/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Code-Hex/tfnotify/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Code-Hex/tfnotify/teams","hooks_url":"https://api.github.com/repos/Code-Hex/tfnotify/hooks","issue_events_url":"https://api.github.com/repos/Code-Hex/tfnotify/issues/events{/number}","events_url":"https://api.github.com/repos/Code-Hex/tfnotify/events","assignees_url":"https://api.github.com/repos/Code-Hex/tfnotify/assignees{/user}","branches_url":"https://api.github.com/repos/Code-Hex/tfnotify/branches{/branch}","tags_url":"https://api.github.com/repos/Code-Hex/tfnotify/tags","blobs_url":"https://api.github.com/repos/Code-Hex/tfnotify/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Code-Hex/tfnotify/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Code-Hex/tfnotify/git/refs{/sha}","trees_url":"https://api.github.com/repos/Code-Hex/tfnotify/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Code-Hex/tfnotify/statuses/{sha}","languages_url":"https://api.github.com/repos/Code-Hex/tfnotify/languages","stargazers_url":"https://api.github.com/repos/Code-Hex/tfnotify/stargazers","contributors_url":"https://api.github.com/repos/Code-Hex/tfnotify/contributors","subscribers_url":"https://api.github.com/repos/Code-Hex/tfnotify/subscribers","subscription_url":"https://api.github.com/repos/Code-Hex/tfnotify/subscription","commits_url":"https://api.github.com/repos/Code-Hex/tfnotify/commits{/sha}","git_commits_url":"https://api.github.com/repos/Code-Hex/tfnotify/git/commits{/sha}","comments_url":"https://api.github.com/repos/Code-Hex/tfnotify/comments{/number}","issue_comment_url":"https://api.github.com/repos/Code-Hex/tfnotify/issues/comments{/number}","contents_url":"https://api.github.com/repos/Code-Hex/tfnotify/contents/{+path}","compare_url":"https://api.github.com/repos/Code-Hex/tfnotify/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Code-Hex/tfnotify/merges","archive_url":"https://api.github.com/repos/Code-Hex/tfnotify/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Code-Hex/tfnotify/downloads","issues_url":"https://api.github.com/repos/Code-Hex/tfnotify/issues{/number}","pulls_url":"https://api.github.com/repos/Code-Hex/tfnotify/pulls{/number}","milestones_url":"https://api.github.com/repos/Code-Hex/tfnotify/milestones{/number}","notifications_url":"https://api.github.com/repos/Code-Hex/tfnotify/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Code-Hex/tfnotify/labels{/name}","releases_url":"https://api.github.com/repos/Code-Hex/tfnotify/releases{/id}","deployments_url":"https://api.github.com/repos/Code-Hex/tfnotify/deployments","created_at":"2018-04-09T03:27:25Z","updated_at":"2018-04-10T01:35:51Z","pushed_at":"2018-04-10T01:35:50Z","git_url":"git://github.com/Code-Hex/tfnotify.git","ssh_url":"git@github.com:Code-Hex/tfnotify.git","clone_url":"https://github.com/Code-Hex/tfnotify.git","svn_url":"https://github.com/Code-Hex/tfnotify","homepage":"","size":85,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mercari:master","ref":"master","sha":"0488e703d2dc4ec4ecc6175530603a22cab206e2","user":{"login":"mercari","id":8133808,"node_id":"MDEyOk9yZ2FuaXphdGlvbjgxMzM4MDg=","avatar_url":"https://avatars0.githubusercontent.com/u/8133808?v=4","gravatar_id":"","url":"https://api.github.com/users/mercari","html_url":"https://github.com/mercari","followers_url":"https://api.github.com/users/mercari/followers","following_url":"https://api.github.com/users/mercari/following{/other_user}","gists_url":"https://api.github.com/users/mercari/gists{/gist_id}","starred_url":"https://api.github.com/users/mercari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mercari/subscriptions","organizations_url":"https://api.github.com/users/mercari/orgs","repos_url":"https://api.github.com/users/mercari/repos","events_url":"https://api.github.com/users/mercari/events{/privacy}","received_events_url":"https://api.github.com/users/mercari/received_events","type":"Organization","site_admin":false},"repo":{"id":128383825,"node_id":"MDEwOlJlcG9zaXRvcnkxMjgzODM4MjU=","name":"tfnotify","full_name":"mercari/tfnotify","private":false,"owner":{"login":"mercari","id":8133808,"node_id":"MDEyOk9yZ2FuaXphdGlvbjgxMzM4MDg=","avatar_url":"https://avatars0.githubusercontent.com/u/8133808?v=4","gravatar_id":"","url":"https://api.github.com/users/mercari","html_url":"https://github.com/mercari","followers_url":"https://api.github.com/users/mercari/followers","following_url":"https://api.github.com/users/mercari/following{/other_user}","gists_url":"https://api.github.com/users/mercari/gists{/gist_id}","starred_url":"https://api.github.com/users/mercari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mercari/subscriptions","organizations_url":"https://api.github.com/users/mercari/orgs","repos_url":"https://api.github.com/users/mercari/repos","events_url":"https://api.github.com/users/mercari/events{/privacy}","received_events_url":"https://api.github.com/users/mercari/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/mercari/tfnotify","description":"A CLI command to parse Terraform execution result and notify it to GitHub","fork":false,"url":"https://api.github.com/repos/mercari/tfnotify","forks_url":"https://api.github.com/repos/mercari/tfnotify/forks","keys_url":"https://api.github.com/repos/mercari/tfnotify/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mercari/tfnotify/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mercari/tfnotify/teams","hooks_url":"https://api.github.com/repos/mercari/tfnotify/hooks","issue_events_url":"https://api.github.com/repos/mercari/tfnotify/issues/events{/number}","events_url":"https://api.github.com/repos/mercari/tfnotify/events","assignees_url":"https://api.github.com/repos/mercari/tfnotify/assignees{/user}","branches_url":"https://api.github.com/repos/mercari/tfnotify/branches{/branch}","tags_url":"https://api.github.com/repos/mercari/tfnotify/tags","blobs_url":"https://api.github.com/repos/mercari/tfnotify/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mercari/tfnotify/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mercari/tfnotify/git/refs{/sha}","trees_url":"https://api.github.com/repos/mercari/tfnotify/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mercari/tfnotify/statuses/{sha}","languages_url":"https://api.github.com/repos/mercari/tfnotify/languages","stargazers_url":"https://api.github.com/repos/mercari/tfnotify/stargazers","contributors_url":"https://api.github.com/repos/mercari/tfnotify/contributors","subscribers_url":"https://api.github.com/repos/mercari/tfnotify/subscribers","subscription_url":"https://api.github.com/repos/mercari/tfnotify/subscription","commits_url":"https://api.github.com/repos/mercari/tfnotify/commits{/sha}","git_commits_url":"https://api.github.com/repos/mercari/tfnotify/git/commits{/sha}","comments_url":"https://api.github.com/repos/mercari/tfnotify/comments{/number}","issue_comment_url":"https://api.github.com/repos/mercari/tfnotify/issues/comments{/number}","contents_url":"https://api.github.com/repos/mercari/tfnotify/contents/{+path}","compare_url":"https://api.github.com/repos/mercari/tfnotify/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mercari/tfnotify/merges","archive_url":"https://api.github.com/repos/mercari/tfnotify/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mercari/tfnotify/downloads","issues_url":"https://api.github.com/repos/mercari/tfnotify/issues{/number}","pulls_url":"https://api.github.com/repos/mercari/tfnotify/pulls{/number}","milestones_url":"https://api.github.com/repos/mercari/tfnotify/milestones{/number}","notifications_url":"https://api.github.com/repos/mercari/tfnotify/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mercari/tfnotify/labels{/name}","releases_url":"https://api.github.com/repos/mercari/tfnotify/releases{/id}","deployments_url":"https://api.github.com/repos/mercari/tfnotify/deployments","created_at":"2018-04-06T11:02:00Z","updated_at":"2018-10-17T04:32:03Z","pushed_at":"2018-10-17T04:32:01Z","git_url":"git://github.com/mercari/tfnotify.git","ssh_url":"git@github.com:mercari/tfnotify.git","clone_url":"https://github.com/mercari/tfnotify.git","svn_url":"https://github.com/mercari/tfnotify","homepage":"","size":104,"stargazers_count":133,"watchers_count":133,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":17,"open_issues":6,"watchers":133,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mercari/tfnotify/pulls/2"},"html":{"href":"https://github.com/mercari/tfnotify/pull/2"},"issue":{"href":"https://api.github.com/repos/mercari/tfnotify/issues/2"},"comments":{"href":"https://api.github.com/repos/mercari/tfnotify/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/mercari/tfnotify/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/mercari/tfnotify/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mercari/tfnotify/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/mercari/tfnotify/statuses/4b15aafb20728d283f839e458331c59b43e68741"}},"author_association":"NONE","merged":false,"mergeable":false,"rebaseable":false,"mergeable_state":"dirty","merged_by":null,"comments":3,"review_comments":2,"maintainer_can_modify":false,"commits":1,"additions":185,"deletions":6,"changed_files":3}}
{"actor":{"display_login":"b4b4r07"}}