{"action":"created","comment":{"url":"https://api.github.com/repos/dotnet/roslyn/pulls/comments/50302036","id":50302036,"diff_hunk":"@@ -83,7 +83,13 @@ private Program(Options options)\n             }\n \n             var newBranchName = await MakePrBranch(_options.SourceUser, _options.RepoName, remoteIntoBranch, newBranchPrefix);\n-            await SubmitPullRequest(newBranchName);\n+            var pullRequest = await SubmitPullRequest(newBranchName);\n+\n+            // pullRequest could be null if we are running in debug mode.\n+            if (pullRequest != null)\n+            {\n+                await CommentOnIssue(_options.SourceUser, _options.RepoName, pullRequest.Number, \"@dotnet-bot test vsi please\");","path":"src/Tools/Github/GitMergeBot/Program.cs","position":10,"original_position":10,"commit_id":"832ce23fe7995c2a61062c32e745d64d5fba1e74","original_commit_id":"832ce23fe7995c2a61062c32e745d64d5fba1e74","user":{"login":"TyOverby","id":573215,"avatar_url":"https://avatars.githubusercontent.com/u/573215?v=3","gravatar_id":"","url":"https://api.github.com/users/TyOverby","html_url":"https://github.com/TyOverby","followers_url":"https://api.github.com/users/TyOverby/followers","following_url":"https://api.github.com/users/TyOverby/following{/other_user}","gists_url":"https://api.github.com/users/TyOverby/gists{/gist_id}","starred_url":"https://api.github.com/users/TyOverby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TyOverby/subscriptions","organizations_url":"https://api.github.com/users/TyOverby/orgs","repos_url":"https://api.github.com/users/TyOverby/repos","events_url":"https://api.github.com/users/TyOverby/events{/privacy}","received_events_url":"https://api.github.com/users/TyOverby/received_events","type":"User","site_admin":false},"body":"I'm keeping @dotnet-bot \r\n","created_at":"2016-01-20T19:07:17Z","updated_at":"2016-01-20T19:07:17Z","html_url":"https://github.com/dotnet/roslyn/pull/8024#discussion_r50302036","pull_request_url":"https://api.github.com/repos/dotnet/roslyn/pulls/8024","_links":{"self":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/comments/50302036"},"html":{"href":"https://github.com/dotnet/roslyn/pull/8024#discussion_r50302036"},"pull_request":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/8024"}}},"pull_request":{"url":"https://api.github.com/repos/dotnet/roslyn/pulls/8024","id":56504254,"html_url":"https://github.com/dotnet/roslyn/pull/8024","diff_url":"https://github.com/dotnet/roslyn/pull/8024.diff","patch_url":"https://github.com/dotnet/roslyn/pull/8024.patch","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/8024","number":8024,"state":"open","locked":false,"title":"pull-request-bot comments on the PR asking for dotnet-bot to run VSI tests","user":{"login":"TyOverby","id":573215,"avatar_url":"https://avatars.githubusercontent.com/u/573215?v=3","gravatar_id":"","url":"https://api.github.com/users/TyOverby","html_url":"https://github.com/TyOverby","followers_url":"https://api.github.com/users/TyOverby/followers","following_url":"https://api.github.com/users/TyOverby/following{/other_user}","gists_url":"https://api.github.com/users/TyOverby/gists{/gist_id}","starred_url":"https://api.github.com/users/TyOverby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TyOverby/subscriptions","organizations_url":"https://api.github.com/users/TyOverby/orgs","repos_url":"https://api.github.com/users/TyOverby/repos","events_url":"https://api.github.com/users/TyOverby/events{/privacy}","received_events_url":"https://api.github.com/users/TyOverby/received_events","type":"User","site_admin":false},"body":"Closes #7983","created_at":"2016-01-19T18:15:03Z","updated_at":"2016-01-20T19:07:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a481eb7c1a5ec2924616cbddcc44115e30d0d1ca","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dotnet/roslyn/pulls/8024/commits","review_comments_url":"https://api.github.com/repos/dotnet/roslyn/pulls/8024/comments","review_comment_url":"https://api.github.com/repos/dotnet/roslyn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/8024/comments","statuses_url":"https://api.github.com/repos/dotnet/roslyn/statuses/832ce23fe7995c2a61062c32e745d64d5fba1e74","head":{"label":"TyOverby:comment-on-pr","ref":"comment-on-pr","sha":"832ce23fe7995c2a61062c32e745d64d5fba1e74","user":{"login":"TyOverby","id":573215,"avatar_url":"https://avatars.githubusercontent.com/u/573215?v=3","gravatar_id":"","url":"https://api.github.com/users/TyOverby","html_url":"https://github.com/TyOverby","followers_url":"https://api.github.com/users/TyOverby/followers","following_url":"https://api.github.com/users/TyOverby/following{/other_user}","gists_url":"https://api.github.com/users/TyOverby/gists{/gist_id}","starred_url":"https://api.github.com/users/TyOverby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TyOverby/subscriptions","organizations_url":"https://api.github.com/users/TyOverby/orgs","repos_url":"https://api.github.com/users/TyOverby/repos","events_url":"https://api.github.com/users/TyOverby/events{/privacy}","received_events_url":"https://api.github.com/users/TyOverby/received_events","type":"User","site_admin":false},"repo":{"id":42192742,"name":"roslyn","full_name":"TyOverby/roslyn","owner":{"login":"TyOverby","id":573215,"avatar_url":"https://avatars.githubusercontent.com/u/573215?v=3","gravatar_id":"","url":"https://api.github.com/users/TyOverby","html_url":"https://github.com/TyOverby","followers_url":"https://api.github.com/users/TyOverby/followers","following_url":"https://api.github.com/users/TyOverby/following{/other_user}","gists_url":"https://api.github.com/users/TyOverby/gists{/gist_id}","starred_url":"https://api.github.com/users/TyOverby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TyOverby/subscriptions","organizations_url":"https://api.github.com/users/TyOverby/orgs","repos_url":"https://api.github.com/users/TyOverby/repos","events_url":"https://api.github.com/users/TyOverby/events{/privacy}","received_events_url":"https://api.github.com/users/TyOverby/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TyOverby/roslyn","description":"The .NET Compiler Platform (\"Roslyn\") provides open-source C# and Visual Basic compilers with rich code analysis APIs.","fork":true,"url":"https://api.github.com/repos/TyOverby/roslyn","forks_url":"https://api.github.com/repos/TyOverby/roslyn/forks","keys_url":"https://api.github.com/repos/TyOverby/roslyn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TyOverby/roslyn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TyOverby/roslyn/teams","hooks_url":"https://api.github.com/repos/TyOverby/roslyn/hooks","issue_events_url":"https://api.github.com/repos/TyOverby/roslyn/issues/events{/number}","events_url":"https://api.github.com/repos/TyOverby/roslyn/events","assignees_url":"https://api.github.com/repos/TyOverby/roslyn/assignees{/user}","branches_url":"https://api.github.com/repos/TyOverby/roslyn/branches{/branch}","tags_url":"https://api.github.com/repos/TyOverby/roslyn/tags","blobs_url":"https://api.github.com/repos/TyOverby/roslyn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TyOverby/roslyn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TyOverby/roslyn/git/refs{/sha}","trees_url":"https://api.github.com/repos/TyOverby/roslyn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TyOverby/roslyn/statuses/{sha}","languages_url":"https://api.github.com/repos/TyOverby/roslyn/languages","stargazers_url":"https://api.github.com/repos/TyOverby/roslyn/stargazers","contributors_url":"https://api.github.com/repos/TyOverby/roslyn/contributors","subscribers_url":"https://api.github.com/repos/TyOverby/roslyn/subscribers","subscription_url":"https://api.github.com/repos/TyOverby/roslyn/subscription","commits_url":"https://api.github.com/repos/TyOverby/roslyn/commits{/sha}","git_commits_url":"https://api.github.com/repos/TyOverby/roslyn/git/commits{/sha}","comments_url":"https://api.github.com/repos/TyOverby/roslyn/comments{/number}","issue_comment_url":"https://api.github.com/repos/TyOverby/roslyn/issues/comments{/number}","contents_url":"https://api.github.com/repos/TyOverby/roslyn/contents/{+path}","compare_url":"https://api.github.com/repos/TyOverby/roslyn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TyOverby/roslyn/merges","archive_url":"https://api.github.com/repos/TyOverby/roslyn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TyOverby/roslyn/downloads","issues_url":"https://api.github.com/repos/TyOverby/roslyn/issues{/number}","pulls_url":"https://api.github.com/repos/TyOverby/roslyn/pulls{/number}","milestones_url":"https://api.github.com/repos/TyOverby/roslyn/milestones{/number}","notifications_url":"https://api.github.com/repos/TyOverby/roslyn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TyOverby/roslyn/labels{/name}","releases_url":"https://api.github.com/repos/TyOverby/roslyn/releases{/id}","created_at":"2015-09-09T17:09:52Z","updated_at":"2015-09-09T17:10:21Z","pushed_at":"2016-01-19T18:16:32Z","git_url":"git://github.com/TyOverby/roslyn.git","ssh_url":"git@github.com:TyOverby/roslyn.git","clone_url":"https://github.com/TyOverby/roslyn.git","svn_url":"https://github.com/TyOverby/roslyn","homepage":"","size":126182,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dotnet:master","ref":"master","sha":"85042ec6132478aa328d3ab0425048ae968f0acc","user":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars.githubusercontent.com/u/9141961?v=3","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"repo":{"id":29078997,"name":"roslyn","full_name":"dotnet/roslyn","owner":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars.githubusercontent.com/u/9141961?v=3","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dotnet/roslyn","description":"The .NET Compiler Platform (\"Roslyn\") provides open-source C# and Visual Basic compilers with rich code analysis APIs.","fork":false,"url":"https://api.github.com/repos/dotnet/roslyn","forks_url":"https://api.github.com/repos/dotnet/roslyn/forks","keys_url":"https://api.github.com/repos/dotnet/roslyn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotnet/roslyn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotnet/roslyn/teams","hooks_url":"https://api.github.com/repos/dotnet/roslyn/hooks","issue_events_url":"https://api.github.com/repos/dotnet/roslyn/issues/events{/number}","events_url":"https://api.github.com/repos/dotnet/roslyn/events","assignees_url":"https://api.github.com/repos/dotnet/roslyn/assignees{/user}","branches_url":"https://api.github.com/repos/dotnet/roslyn/branches{/branch}","tags_url":"https://api.github.com/repos/dotnet/roslyn/tags","blobs_url":"https://api.github.com/repos/dotnet/roslyn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotnet/roslyn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotnet/roslyn/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotnet/roslyn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotnet/roslyn/statuses/{sha}","languages_url":"https://api.github.com/repos/dotnet/roslyn/languages","stargazers_url":"https://api.github.com/repos/dotnet/roslyn/stargazers","contributors_url":"https://api.github.com/repos/dotnet/roslyn/contributors","subscribers_url":"https://api.github.com/repos/dotnet/roslyn/subscribers","subscription_url":"https://api.github.com/repos/dotnet/roslyn/subscription","commits_url":"https://api.github.com/repos/dotnet/roslyn/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotnet/roslyn/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotnet/roslyn/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotnet/roslyn/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotnet/roslyn/contents/{+path}","compare_url":"https://api.github.com/repos/dotnet/roslyn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotnet/roslyn/merges","archive_url":"https://api.github.com/repos/dotnet/roslyn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotnet/roslyn/downloads","issues_url":"https://api.github.com/repos/dotnet/roslyn/issues{/number}","pulls_url":"https://api.github.com/repos/dotnet/roslyn/pulls{/number}","milestones_url":"https://api.github.com/repos/dotnet/roslyn/milestones{/number}","notifications_url":"https://api.github.com/repos/dotnet/roslyn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotnet/roslyn/labels{/name}","releases_url":"https://api.github.com/repos/dotnet/roslyn/releases{/id}","created_at":"2015-01-11T02:39:03Z","updated_at":"2016-01-20T14:58:30Z","pushed_at":"2016-01-20T19:04:27Z","git_url":"git://github.com/dotnet/roslyn.git","ssh_url":"git@github.com:dotnet/roslyn.git","clone_url":"https://github.com/dotnet/roslyn.git","svn_url":"https://github.com/dotnet/roslyn","homepage":"","size":152072,"stargazers_count":4259,"watchers_count":4259,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1040,"mirror_url":null,"open_issues_count":1907,"forks":1040,"open_issues":1907,"watchers":4259,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/8024"},"html":{"href":"https://github.com/dotnet/roslyn/pull/8024"},"issue":{"href":"https://api.github.com/repos/dotnet/roslyn/issues/8024"},"comments":{"href":"https://api.github.com/repos/dotnet/roslyn/issues/8024/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/8024/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/8024/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/roslyn/statuses/832ce23fe7995c2a61062c32e745d64d5fba1e74"}}}}