{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/caarlos0/promfmt/pulls/1","id":138799128,"html_url":"https://github.com/caarlos0/promfmt/pull/1","diff_url":"https://github.com/caarlos0/promfmt/pull/1.diff","patch_url":"https://github.com/caarlos0/promfmt/pull/1.patch","issue_url":"https://api.github.com/repos/caarlos0/promfmt/issues/1","number":1,"state":"open","locked":false,"title":"WIP: supporting comments","user":{"login":"caarlos0","id":245435,"avatar_url":"https://avatars3.githubusercontent.com/u/245435?v=4","gravatar_id":"","url":"https://api.github.com/users/caarlos0","html_url":"https://github.com/caarlos0","followers_url":"https://api.github.com/users/caarlos0/followers","following_url":"https://api.github.com/users/caarlos0/following{/other_user}","gists_url":"https://api.github.com/users/caarlos0/gists{/gist_id}","starred_url":"https://api.github.com/users/caarlos0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caarlos0/subscriptions","organizations_url":"https://api.github.com/users/caarlos0/orgs","repos_url":"https://api.github.com/users/caarlos0/repos","events_url":"https://api.github.com/users/caarlos0/events{/privacy}","received_events_url":"https://api.github.com/users/caarlos0/received_events","type":"User","site_admin":false},"body":"right now promfmt drops comments out of the files, this is a naive implementation to support them.","created_at":"2017-09-01T01:30:18Z","updated_at":"2017-09-01T01:30:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/caarlos0/promfmt/pulls/1/commits","review_comments_url":"https://api.github.com/repos/caarlos0/promfmt/pulls/1/comments","review_comment_url":"https://api.github.com/repos/caarlos0/promfmt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/caarlos0/promfmt/issues/1/comments","statuses_url":"https://api.github.com/repos/caarlos0/promfmt/statuses/ca94f537923dba80c5e7b7ae5e3524a0f8907407","head":{"label":"caarlos0:comments","ref":"comments","sha":"ca94f537923dba80c5e7b7ae5e3524a0f8907407","user":{"login":"caarlos0","id":245435,"avatar_url":"https://avatars3.githubusercontent.com/u/245435?v=4","gravatar_id":"","url":"https://api.github.com/users/caarlos0","html_url":"https://github.com/caarlos0","followers_url":"https://api.github.com/users/caarlos0/followers","following_url":"https://api.github.com/users/caarlos0/following{/other_user}","gists_url":"https://api.github.com/users/caarlos0/gists{/gist_id}","starred_url":"https://api.github.com/users/caarlos0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caarlos0/subscriptions","organizations_url":"https://api.github.com/users/caarlos0/orgs","repos_url":"https://api.github.com/users/caarlos0/repos","events_url":"https://api.github.com/users/caarlos0/events{/privacy}","received_events_url":"https://api.github.com/users/caarlos0/received_events","type":"User","site_admin":false},"repo":{"id":100637214,"name":"promfmt","full_name":"caarlos0/promfmt","owner":{"login":"caarlos0","id":245435,"avatar_url":"https://avatars3.githubusercontent.com/u/245435?v=4","gravatar_id":"","url":"https://api.github.com/users/caarlos0","html_url":"https://github.com/caarlos0","followers_url":"https://api.github.com/users/caarlos0/followers","following_url":"https://api.github.com/users/caarlos0/following{/other_user}","gists_url":"https://api.github.com/users/caarlos0/gists{/gist_id}","starred_url":"https://api.github.com/users/caarlos0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caarlos0/subscriptions","organizations_url":"https://api.github.com/users/caarlos0/orgs","repos_url":"https://api.github.com/users/caarlos0/repos","events_url":"https://api.github.com/users/caarlos0/events{/privacy}","received_events_url":"https://api.github.com/users/caarlos0/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/caarlos0/promfmt","description":"format prometheus .rules files","fork":false,"url":"https://api.github.com/repos/caarlos0/promfmt","forks_url":"https://api.github.com/repos/caarlos0/promfmt/forks","keys_url":"https://api.github.com/repos/caarlos0/promfmt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/caarlos0/promfmt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/caarlos0/promfmt/teams","hooks_url":"https://api.github.com/repos/caarlos0/promfmt/hooks","issue_events_url":"https://api.github.com/repos/caarlos0/promfmt/issues/events{/number}","events_url":"https://api.github.com/repos/caarlos0/promfmt/events","assignees_url":"https://api.github.com/repos/caarlos0/promfmt/assignees{/user}","branches_url":"https://api.github.com/repos/caarlos0/promfmt/branches{/branch}","tags_url":"https://api.github.com/repos/caarlos0/promfmt/tags","blobs_url":"https://api.github.com/repos/caarlos0/promfmt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/caarlos0/promfmt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/caarlos0/promfmt/git/refs{/sha}","trees_url":"https://api.github.com/repos/caarlos0/promfmt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/caarlos0/promfmt/statuses/{sha}","languages_url":"https://api.github.com/repos/caarlos0/promfmt/languages","stargazers_url":"https://api.github.com/repos/caarlos0/promfmt/stargazers","contributors_url":"https://api.github.com/repos/caarlos0/promfmt/contributors","subscribers_url":"https://api.github.com/repos/caarlos0/promfmt/subscribers","subscription_url":"https://api.github.com/repos/caarlos0/promfmt/subscription","commits_url":"https://api.github.com/repos/caarlos0/promfmt/commits{/sha}","git_commits_url":"https://api.github.com/repos/caarlos0/promfmt/git/commits{/sha}","comments_url":"https://api.github.com/repos/caarlos0/promfmt/comments{/number}","issue_comment_url":"https://api.github.com/repos/caarlos0/promfmt/issues/comments{/number}","contents_url":"https://api.github.com/repos/caarlos0/promfmt/contents/{+path}","compare_url":"https://api.github.com/repos/caarlos0/promfmt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/caarlos0/promfmt/merges","archive_url":"https://api.github.com/repos/caarlos0/promfmt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/caarlos0/promfmt/downloads","issues_url":"https://api.github.com/repos/caarlos0/promfmt/issues{/number}","pulls_url":"https://api.github.com/repos/caarlos0/promfmt/pulls{/number}","milestones_url":"https://api.github.com/repos/caarlos0/promfmt/milestones{/number}","notifications_url":"https://api.github.com/repos/caarlos0/promfmt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/caarlos0/promfmt/labels{/name}","releases_url":"https://api.github.com/repos/caarlos0/promfmt/releases{/id}","deployments_url":"https://api.github.com/repos/caarlos0/promfmt/deployments","created_at":"2017-08-17T19:16:40Z","updated_at":"2017-08-26T21:05:20Z","pushed_at":"2017-09-01T01:29:50Z","git_url":"git://github.com/caarlos0/promfmt.git","ssh_url":"git@github.com:caarlos0/promfmt.git","clone_url":"https://github.com/caarlos0/promfmt.git","svn_url":"https://github.com/caarlos0/promfmt","homepage":null,"size":31,"stargazers_count":7,"watchers_count":7,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":7,"default_branch":"master"}},"base":{"label":"caarlos0:master","ref":"master","sha":"82060731eccc5e812a959f07e133d7c6985135d9","user":{"login":"caarlos0","id":245435,"avatar_url":"https://avatars3.githubusercontent.com/u/245435?v=4","gravatar_id":"","url":"https://api.github.com/users/caarlos0","html_url":"https://github.com/caarlos0","followers_url":"https://api.github.com/users/caarlos0/followers","following_url":"https://api.github.com/users/caarlos0/following{/other_user}","gists_url":"https://api.github.com/users/caarlos0/gists{/gist_id}","starred_url":"https://api.github.com/users/caarlos0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caarlos0/subscriptions","organizations_url":"https://api.github.com/users/caarlos0/orgs","repos_url":"https://api.github.com/users/caarlos0/repos","events_url":"https://api.github.com/users/caarlos0/events{/privacy}","received_events_url":"https://api.github.com/users/caarlos0/received_events","type":"User","site_admin":false},"repo":{"id":100637214,"name":"promfmt","full_name":"caarlos0/promfmt","owner":{"login":"caarlos0","id":245435,"avatar_url":"https://avatars3.githubusercontent.com/u/245435?v=4","gravatar_id":"","url":"https://api.github.com/users/caarlos0","html_url":"https://github.com/caarlos0","followers_url":"https://api.github.com/users/caarlos0/followers","following_url":"https://api.github.com/users/caarlos0/following{/other_user}","gists_url":"https://api.github.com/users/caarlos0/gists{/gist_id}","starred_url":"https://api.github.com/users/caarlos0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caarlos0/subscriptions","organizations_url":"https://api.github.com/users/caarlos0/orgs","repos_url":"https://api.github.com/users/caarlos0/repos","events_url":"https://api.github.com/users/caarlos0/events{/privacy}","received_events_url":"https://api.github.com/users/caarlos0/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/caarlos0/promfmt","description":"format prometheus .rules files","fork":false,"url":"https://api.github.com/repos/caarlos0/promfmt","forks_url":"https://api.github.com/repos/caarlos0/promfmt/forks","keys_url":"https://api.github.com/repos/caarlos0/promfmt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/caarlos0/promfmt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/caarlos0/promfmt/teams","hooks_url":"https://api.github.com/repos/caarlos0/promfmt/hooks","issue_events_url":"https://api.github.com/repos/caarlos0/promfmt/issues/events{/number}","events_url":"https://api.github.com/repos/caarlos0/promfmt/events","assignees_url":"https://api.github.com/repos/caarlos0/promfmt/assignees{/user}","branches_url":"https://api.github.com/repos/caarlos0/promfmt/branches{/branch}","tags_url":"https://api.github.com/repos/caarlos0/promfmt/tags","blobs_url":"https://api.github.com/repos/caarlos0/promfmt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/caarlos0/promfmt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/caarlos0/promfmt/git/refs{/sha}","trees_url":"https://api.github.com/repos/caarlos0/promfmt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/caarlos0/promfmt/statuses/{sha}","languages_url":"https://api.github.com/repos/caarlos0/promfmt/languages","stargazers_url":"https://api.github.com/repos/caarlos0/promfmt/stargazers","contributors_url":"https://api.github.com/repos/caarlos0/promfmt/contributors","subscribers_url":"https://api.github.com/repos/caarlos0/promfmt/subscribers","subscription_url":"https://api.github.com/repos/caarlos0/promfmt/subscription","commits_url":"https://api.github.com/repos/caarlos0/promfmt/commits{/sha}","git_commits_url":"https://api.github.com/repos/caarlos0/promfmt/git/commits{/sha}","comments_url":"https://api.github.com/repos/caarlos0/promfmt/comments{/number}","issue_comment_url":"https://api.github.com/repos/caarlos0/promfmt/issues/comments{/number}","contents_url":"https://api.github.com/repos/caarlos0/promfmt/contents/{+path}","compare_url":"https://api.github.com/repos/caarlos0/promfmt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/caarlos0/promfmt/merges","archive_url":"https://api.github.com/repos/caarlos0/promfmt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/caarlos0/promfmt/downloads","issues_url":"https://api.github.com/repos/caarlos0/promfmt/issues{/number}","pulls_url":"https://api.github.com/repos/caarlos0/promfmt/pulls{/number}","milestones_url":"https://api.github.com/repos/caarlos0/promfmt/milestones{/number}","notifications_url":"https://api.github.com/repos/caarlos0/promfmt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/caarlos0/promfmt/labels{/name}","releases_url":"https://api.github.com/repos/caarlos0/promfmt/releases{/id}","deployments_url":"https://api.github.com/repos/caarlos0/promfmt/deployments","created_at":"2017-08-17T19:16:40Z","updated_at":"2017-08-26T21:05:20Z","pushed_at":"2017-09-01T01:29:50Z","git_url":"git://github.com/caarlos0/promfmt.git","ssh_url":"git@github.com:caarlos0/promfmt.git","clone_url":"https://github.com/caarlos0/promfmt.git","svn_url":"https://github.com/caarlos0/promfmt","homepage":null,"size":31,"stargazers_count":7,"watchers_count":7,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/caarlos0/promfmt/pulls/1"},"html":{"href":"https://github.com/caarlos0/promfmt/pull/1"},"issue":{"href":"https://api.github.com/repos/caarlos0/promfmt/issues/1"},"comments":{"href":"https://api.github.com/repos/caarlos0/promfmt/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/caarlos0/promfmt/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/caarlos0/promfmt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/caarlos0/promfmt/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/caarlos0/promfmt/statuses/ca94f537923dba80c5e7b7ae5e3524a0f8907407"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":50,"deletions":8,"changed_files":4}}
{"actor":{"display_login":"caarlos0"}}