{"action":"created","comment":{"url":"https://api.github.com/repos/danger/danger-swift/pulls/comments/172211733","pull_request_review_id":101189698,"id":172211733,"diff_hunk":"@@ -74,25 +74,45 @@ public func warn(_ message: String) {\n     DangerRunner.shared.results.warnings.append(Violation(message: message))\n }\n \n+/// Adds an inline warning message to the Danger report\n+public func warn(message: String, file: String, line: Int) {\n+    DangerRunner.shared.results.warnings.append(Violation(message: message, file: file, line: line))\n+}\n+\n /// Adds a warning message to the Danger report\n ///\n /// - Parameter message: A markdown-ish\n public func fail(_ message: String) {\n     DangerRunner.shared.results.fails.append(Violation(message: message))\n }\n \n+/// Adds an inline fail message to the Danger report\n+public func fail(message: String, file: String, line: Int) {","path":"Sources/Danger/Danger.swift","position":17,"original_position":17,"commit_id":"66a7652de7980300ccd323636b2e3e6b65566af5","original_commit_id":"66a7652de7980300ccd323636b2e3e6b65566af5","user":{"login":"orta","id":49038,"avatar_url":"https://avatars2.githubusercontent.com/u/49038?v=4","gravatar_id":"","url":"https://api.github.com/users/orta","html_url":"https://github.com/orta","followers_url":"https://api.github.com/users/orta/followers","following_url":"https://api.github.com/users/orta/following{/other_user}","gists_url":"https://api.github.com/users/orta/gists{/gist_id}","starred_url":"https://api.github.com/users/orta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orta/subscriptions","organizations_url":"https://api.github.com/users/orta/orgs","repos_url":"https://api.github.com/users/orta/repos","events_url":"https://api.github.com/users/orta/events{/privacy}","received_events_url":"https://api.github.com/users/orta/received_events","type":"User","site_admin":false},"body":"Yeah, I like this 👍 ","created_at":"2018-03-05T14:53:49Z","updated_at":"2018-03-05T14:54:20Z","html_url":"https://github.com/danger/danger-swift/pull/56#discussion_r172211733","pull_request_url":"https://api.github.com/repos/danger/danger-swift/pulls/56","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/danger/danger-swift/pulls/comments/172211733"},"html":{"href":"https://github.com/danger/danger-swift/pull/56#discussion_r172211733"},"pull_request":{"href":"https://api.github.com/repos/danger/danger-swift/pulls/56"}},"in_reply_to_id":172071520},"pull_request":{"url":"https://api.github.com/repos/danger/danger-swift/pulls/56","id":172734472,"html_url":"https://github.com/danger/danger-swift/pull/56","diff_url":"https://github.com/danger/danger-swift/pull/56.diff","patch_url":"https://github.com/danger/danger-swift/pull/56.patch","issue_url":"https://api.github.com/repos/danger/danger-swift/issues/56","number":56,"state":"open","locked":false,"title":"[WIP] Inline mode","user":{"login":"sunshinejr","id":5232779,"avatar_url":"https://avatars3.githubusercontent.com/u/5232779?v=4","gravatar_id":"","url":"https://api.github.com/users/sunshinejr","html_url":"https://github.com/sunshinejr","followers_url":"https://api.github.com/users/sunshinejr/followers","following_url":"https://api.github.com/users/sunshinejr/following{/other_user}","gists_url":"https://api.github.com/users/sunshinejr/gists{/gist_id}","starred_url":"https://api.github.com/users/sunshinejr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunshinejr/subscriptions","organizations_url":"https://api.github.com/users/sunshinejr/orgs","repos_url":"https://api.github.com/users/sunshinejr/repos","events_url":"https://api.github.com/users/sunshinejr/events{/privacy}","received_events_url":"https://api.github.com/users/sunshinejr/received_events","type":"User","site_admin":false},"body":"(This needs to wait before [danger-js#529](https://github.com/danger/danger-js/pull/529) is merged, though)\r\n\r\nLive demo: [Harvey#17](https://github.com/Moya/Harvey/pull/17)\r\n\r\n#### Todo:\r\n- [ ] Add documentation\r\n- [ ] Add Changelog entry","created_at":"2018-03-04T18:53:16Z","updated_at":"2018-03-05T14:54:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a6142d558f8d2655e04d3a4fa8750daffbaf991b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/danger/danger-swift/pulls/56/commits","review_comments_url":"https://api.github.com/repos/danger/danger-swift/pulls/56/comments","review_comment_url":"https://api.github.com/repos/danger/danger-swift/pulls/comments{/number}","comments_url":"https://api.github.com/repos/danger/danger-swift/issues/56/comments","statuses_url":"https://api.github.com/repos/danger/danger-swift/statuses/66a7652de7980300ccd323636b2e3e6b65566af5","head":{"label":"sunshinejr:inline","ref":"inline","sha":"66a7652de7980300ccd323636b2e3e6b65566af5","user":{"login":"sunshinejr","id":5232779,"avatar_url":"https://avatars3.githubusercontent.com/u/5232779?v=4","gravatar_id":"","url":"https://api.github.com/users/sunshinejr","html_url":"https://github.com/sunshinejr","followers_url":"https://api.github.com/users/sunshinejr/followers","following_url":"https://api.github.com/users/sunshinejr/following{/other_user}","gists_url":"https://api.github.com/users/sunshinejr/gists{/gist_id}","starred_url":"https://api.github.com/users/sunshinejr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunshinejr/subscriptions","organizations_url":"https://api.github.com/users/sunshinejr/orgs","repos_url":"https://api.github.com/users/sunshinejr/repos","events_url":"https://api.github.com/users/sunshinejr/events{/privacy}","received_events_url":"https://api.github.com/users/sunshinejr/received_events","type":"User","site_admin":false},"repo":{"id":121045065,"name":"danger-swift","full_name":"sunshinejr/danger-swift","owner":{"login":"sunshinejr","id":5232779,"avatar_url":"https://avatars3.githubusercontent.com/u/5232779?v=4","gravatar_id":"","url":"https://api.github.com/users/sunshinejr","html_url":"https://github.com/sunshinejr","followers_url":"https://api.github.com/users/sunshinejr/followers","following_url":"https://api.github.com/users/sunshinejr/following{/other_user}","gists_url":"https://api.github.com/users/sunshinejr/gists{/gist_id}","starred_url":"https://api.github.com/users/sunshinejr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunshinejr/subscriptions","organizations_url":"https://api.github.com/users/sunshinejr/orgs","repos_url":"https://api.github.com/users/sunshinejr/repos","events_url":"https://api.github.com/users/sunshinejr/events{/privacy}","received_events_url":"https://api.github.com/users/sunshinejr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sunshinejr/danger-swift","description":"⚠️ Stop saying \"you forgot to …\" in code review","fork":true,"url":"https://api.github.com/repos/sunshinejr/danger-swift","forks_url":"https://api.github.com/repos/sunshinejr/danger-swift/forks","keys_url":"https://api.github.com/repos/sunshinejr/danger-swift/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sunshinejr/danger-swift/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sunshinejr/danger-swift/teams","hooks_url":"https://api.github.com/repos/sunshinejr/danger-swift/hooks","issue_events_url":"https://api.github.com/repos/sunshinejr/danger-swift/issues/events{/number}","events_url":"https://api.github.com/repos/sunshinejr/danger-swift/events","assignees_url":"https://api.github.com/repos/sunshinejr/danger-swift/assignees{/user}","branches_url":"https://api.github.com/repos/sunshinejr/danger-swift/branches{/branch}","tags_url":"https://api.github.com/repos/sunshinejr/danger-swift/tags","blobs_url":"https://api.github.com/repos/sunshinejr/danger-swift/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sunshinejr/danger-swift/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sunshinejr/danger-swift/git/refs{/sha}","trees_url":"https://api.github.com/repos/sunshinejr/danger-swift/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sunshinejr/danger-swift/statuses/{sha}","languages_url":"https://api.github.com/repos/sunshinejr/danger-swift/languages","stargazers_url":"https://api.github.com/repos/sunshinejr/danger-swift/stargazers","contributors_url":"https://api.github.com/repos/sunshinejr/danger-swift/contributors","subscribers_url":"https://api.github.com/repos/sunshinejr/danger-swift/subscribers","subscription_url":"https://api.github.com/repos/sunshinejr/danger-swift/subscription","commits_url":"https://api.github.com/repos/sunshinejr/danger-swift/commits{/sha}","git_commits_url":"https://api.github.com/repos/sunshinejr/danger-swift/git/commits{/sha}","comments_url":"https://api.github.com/repos/sunshinejr/danger-swift/comments{/number}","issue_comment_url":"https://api.github.com/repos/sunshinejr/danger-swift/issues/comments{/number}","contents_url":"https://api.github.com/repos/sunshinejr/danger-swift/contents/{+path}","compare_url":"https://api.github.com/repos/sunshinejr/danger-swift/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sunshinejr/danger-swift/merges","archive_url":"https://api.github.com/repos/sunshinejr/danger-swift/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sunshinejr/danger-swift/downloads","issues_url":"https://api.github.com/repos/sunshinejr/danger-swift/issues{/number}","pulls_url":"https://api.github.com/repos/sunshinejr/danger-swift/pulls{/number}","milestones_url":"https://api.github.com/repos/sunshinejr/danger-swift/milestones{/number}","notifications_url":"https://api.github.com/repos/sunshinejr/danger-swift/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sunshinejr/danger-swift/labels{/name}","releases_url":"https://api.github.com/repos/sunshinejr/danger-swift/releases{/id}","deployments_url":"https://api.github.com/repos/sunshinejr/danger-swift/deployments","created_at":"2018-02-10T19:05:02Z","updated_at":"2018-02-10T19:05:04Z","pushed_at":"2018-03-04T20:11:56Z","git_url":"git://github.com/sunshinejr/danger-swift.git","ssh_url":"git@github.com:sunshinejr/danger-swift.git","clone_url":"https://github.com/sunshinejr/danger-swift.git","svn_url":"https://github.com/sunshinejr/danger-swift","homepage":"http://danger.systems/js/swift.html","size":112,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"danger:master","ref":"master","sha":"d8c089e20dc38022afad29b741d59f60da0262d6","user":{"login":"danger","id":17147106,"avatar_url":"https://avatars3.githubusercontent.com/u/17147106?v=4","gravatar_id":"","url":"https://api.github.com/users/danger","html_url":"https://github.com/danger","followers_url":"https://api.github.com/users/danger/followers","following_url":"https://api.github.com/users/danger/following{/other_user}","gists_url":"https://api.github.com/users/danger/gists{/gist_id}","starred_url":"https://api.github.com/users/danger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danger/subscriptions","organizations_url":"https://api.github.com/users/danger/orgs","repos_url":"https://api.github.com/users/danger/repos","events_url":"https://api.github.com/users/danger/events{/privacy}","received_events_url":"https://api.github.com/users/danger/received_events","type":"Organization","site_admin":false},"repo":{"id":101339212,"name":"danger-swift","full_name":"danger/danger-swift","owner":{"login":"danger","id":17147106,"avatar_url":"https://avatars3.githubusercontent.com/u/17147106?v=4","gravatar_id":"","url":"https://api.github.com/users/danger","html_url":"https://github.com/danger","followers_url":"https://api.github.com/users/danger/followers","following_url":"https://api.github.com/users/danger/following{/other_user}","gists_url":"https://api.github.com/users/danger/gists{/gist_id}","starred_url":"https://api.github.com/users/danger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danger/subscriptions","organizations_url":"https://api.github.com/users/danger/orgs","repos_url":"https://api.github.com/users/danger/repos","events_url":"https://api.github.com/users/danger/events{/privacy}","received_events_url":"https://api.github.com/users/danger/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/danger/danger-swift","description":"⚠️ Stop saying \"you forgot to …\" in code review","fork":false,"url":"https://api.github.com/repos/danger/danger-swift","forks_url":"https://api.github.com/repos/danger/danger-swift/forks","keys_url":"https://api.github.com/repos/danger/danger-swift/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danger/danger-swift/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danger/danger-swift/teams","hooks_url":"https://api.github.com/repos/danger/danger-swift/hooks","issue_events_url":"https://api.github.com/repos/danger/danger-swift/issues/events{/number}","events_url":"https://api.github.com/repos/danger/danger-swift/events","assignees_url":"https://api.github.com/repos/danger/danger-swift/assignees{/user}","branches_url":"https://api.github.com/repos/danger/danger-swift/branches{/branch}","tags_url":"https://api.github.com/repos/danger/danger-swift/tags","blobs_url":"https://api.github.com/repos/danger/danger-swift/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danger/danger-swift/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danger/danger-swift/git/refs{/sha}","trees_url":"https://api.github.com/repos/danger/danger-swift/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danger/danger-swift/statuses/{sha}","languages_url":"https://api.github.com/repos/danger/danger-swift/languages","stargazers_url":"https://api.github.com/repos/danger/danger-swift/stargazers","contributors_url":"https://api.github.com/repos/danger/danger-swift/contributors","subscribers_url":"https://api.github.com/repos/danger/danger-swift/subscribers","subscription_url":"https://api.github.com/repos/danger/danger-swift/subscription","commits_url":"https://api.github.com/repos/danger/danger-swift/commits{/sha}","git_commits_url":"https://api.github.com/repos/danger/danger-swift/git/commits{/sha}","comments_url":"https://api.github.com/repos/danger/danger-swift/comments{/number}","issue_comment_url":"https://api.github.com/repos/danger/danger-swift/issues/comments{/number}","contents_url":"https://api.github.com/repos/danger/danger-swift/contents/{+path}","compare_url":"https://api.github.com/repos/danger/danger-swift/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danger/danger-swift/merges","archive_url":"https://api.github.com/repos/danger/danger-swift/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danger/danger-swift/downloads","issues_url":"https://api.github.com/repos/danger/danger-swift/issues{/number}","pulls_url":"https://api.github.com/repos/danger/danger-swift/pulls{/number}","milestones_url":"https://api.github.com/repos/danger/danger-swift/milestones{/number}","notifications_url":"https://api.github.com/repos/danger/danger-swift/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danger/danger-swift/labels{/name}","releases_url":"https://api.github.com/repos/danger/danger-swift/releases{/id}","deployments_url":"https://api.github.com/repos/danger/danger-swift/deployments","created_at":"2017-08-24T21:30:03Z","updated_at":"2018-02-27T07:18:32Z","pushed_at":"2018-03-04T20:11:57Z","git_url":"git://github.com/danger/danger-swift.git","ssh_url":"git@github.com:danger/danger-swift.git","clone_url":"https://github.com/danger/danger-swift.git","svn_url":"https://github.com/danger/danger-swift","homepage":"http://danger.systems/js/swift.html","size":109,"stargazers_count":168,"watchers_count":168,"language":"Swift","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":17,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":17,"open_issues":11,"watchers":168,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/danger/danger-swift/pulls/56"},"html":{"href":"https://github.com/danger/danger-swift/pull/56"},"issue":{"href":"https://api.github.com/repos/danger/danger-swift/issues/56"},"comments":{"href":"https://api.github.com/repos/danger/danger-swift/issues/56/comments"},"review_comments":{"href":"https://api.github.com/repos/danger/danger-swift/pulls/56/comments"},"review_comment":{"href":"https://api.github.com/repos/danger/danger-swift/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/danger/danger-swift/pulls/56/commits"},"statuses":{"href":"https://api.github.com/repos/danger/danger-swift/statuses/66a7652de7980300ccd323636b2e3e6b65566af5"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"orta"}}