{"action":"created","issue":{"url":"https://api.github.com/repos/danger/danger/issues/963","repository_url":"https://api.github.com/repos/danger/danger","labels_url":"https://api.github.com/repos/danger/danger/issues/963/labels{/name}","comments_url":"https://api.github.com/repos/danger/danger/issues/963/comments","events_url":"https://api.github.com/repos/danger/danger/issues/963/events","html_url":"https://github.com/danger/danger/pull/963","id":299975809,"number":963,"title":"Fix GitLab \"html_link\" for external repos","user":{"login":"sogame","id":7152781,"avatar_url":"https://avatars3.githubusercontent.com/u/7152781?v=4","gravatar_id":"","url":"https://api.github.com/users/sogame","html_url":"https://github.com/sogame","followers_url":"https://api.github.com/users/sogame/followers","following_url":"https://api.github.com/users/sogame/following{/other_user}","gists_url":"https://api.github.com/users/sogame/gists{/gist_id}","starred_url":"https://api.github.com/users/sogame/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sogame/subscriptions","organizations_url":"https://api.github.com/users/sogame/orgs","repos_url":"https://api.github.com/users/sogame/repos","events_url":"https://api.github.com/users/sogame/events{/privacy}","received_events_url":"https://api.github.com/users/sogame/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-24T21:51:18Z","updated_at":"2018-02-24T21:53:10Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/danger/danger/pulls/963","html_url":"https://github.com/danger/danger/pull/963","diff_url":"https://github.com/danger/danger/pull/963.diff","patch_url":"https://github.com/danger/danger/pull/963.patch"},"body":"The url for GitLab repos follows the structure `https://{host}/{user}/{project_name}`.\r\n\r\nCurrently, when submitting a PR from an external repo, `html_link` creates a url like `https://{host}/{orig_repo_user}/{external_repo_user}` instead of `https://{host}/{external_repo_user}/{project_name}`.\r\n\r\nThis PR tries to fix it."},"comment":{"url":"https://api.github.com/repos/danger/danger/issues/comments/368263210","html_url":"https://github.com/danger/danger/pull/963#issuecomment-368263210","issue_url":"https://api.github.com/repos/danger/danger/issues/963","id":368263210,"user":{"login":"DangerCI","id":17546894,"avatar_url":"https://avatars0.githubusercontent.com/u/17546894?v=4","gravatar_id":"","url":"https://api.github.com/users/DangerCI","html_url":"https://github.com/DangerCI","followers_url":"https://api.github.com/users/DangerCI/followers","following_url":"https://api.github.com/users/DangerCI/following{/other_user}","gists_url":"https://api.github.com/users/DangerCI/gists{/gist_id}","starred_url":"https://api.github.com/users/DangerCI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DangerCI/subscriptions","organizations_url":"https://api.github.com/users/DangerCI/orgs","repos_url":"https://api.github.com/users/DangerCI/repos","events_url":"https://api.github.com/users/DangerCI/events{/privacy}","received_events_url":"https://api.github.com/users/DangerCI/received_events","type":"User","site_admin":false},"created_at":"2018-02-24T21:53:10Z","updated_at":"2018-02-24T21:53:10Z","author_association":"NONE","body":"<!--\n  0 Errors\n  1 Warning: Tests were not updated\n  0 Messages\n  0 Markdowns\n-->\n<table>\n  <thead>\n    <tr>\n      <th width=\"50\"></th>\n      <th width=\"100%\" data-danger-table=\"true\" data-kind=\"Warning\">\n          1 Warning\n      </th>\n     </tr>\n  </thead>\n  <tbody>\n    <tr>\n      <td>:warning:</td>\n      <td data-sticky=\"false\">Tests were not updated</td>\n    </tr>\n  </tbody>\n</table>\n\n<p align=\"right\" data-meta=\"generated_by_danger\">\n  Generated by :no_entry_sign: <a href=\"http://danger.systems/\">Danger</a>\n</p>\n"}}
{"actor":{"display_login":"DangerCI"}}