{"action":"closed","number":9,"pull_request":{"url":"https://api.github.com/repos/codeship/go-scm/pulls/9","id":132311492,"html_url":"https://github.com/codeship/go-scm/pull/9","diff_url":"https://github.com/codeship/go-scm/pull/9.diff","patch_url":"https://github.com/codeship/go-scm/pull/9.patch","issue_url":"https://api.github.com/repos/codeship/go-scm/issues/9","number":9,"state":"closed","locked":false,"title":"Build latest branch head if commit is not supplied","user":{"login":"krames","id":115692,"avatar_url":"https://avatars0.githubusercontent.com/u/115692?v=4","gravatar_id":"","url":"https://api.github.com/users/krames","html_url":"https://github.com/krames","followers_url":"https://api.github.com/users/krames/followers","following_url":"https://api.github.com/users/krames/following{/other_user}","gists_url":"https://api.github.com/users/krames/gists{/gist_id}","starred_url":"https://api.github.com/users/krames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krames/subscriptions","organizations_url":"https://api.github.com/users/krames/orgs","repos_url":"https://api.github.com/users/krames/repos","events_url":"https://api.github.com/users/krames/events{/privacy}","received_events_url":"https://api.github.com/users/krames/received_events","type":"User","site_admin":false},"body":"The new api has a requirement to trigger builds against latest commit on a branch. This PR updates go-scm to forgo checking out a commit if it is not supplied.","created_at":"2017-07-25T15:30:36Z","updated_at":"2017-07-25T15:48:12Z","closed_at":"2017-07-25T15:48:11Z","merged_at":"2017-07-25T15:48:11Z","merge_commit_sha":"712889f22bf75537d1006cac897c946fee1a6149","assignee":null,"assignees":[],"requested_reviewers":[{"login":"brettbuddin","id":6059,"avatar_url":"https://avatars0.githubusercontent.com/u/6059?v=4","gravatar_id":"","url":"https://api.github.com/users/brettbuddin","html_url":"https://github.com/brettbuddin","followers_url":"https://api.github.com/users/brettbuddin/followers","following_url":"https://api.github.com/users/brettbuddin/following{/other_user}","gists_url":"https://api.github.com/users/brettbuddin/gists{/gist_id}","starred_url":"https://api.github.com/users/brettbuddin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettbuddin/subscriptions","organizations_url":"https://api.github.com/users/brettbuddin/orgs","repos_url":"https://api.github.com/users/brettbuddin/repos","events_url":"https://api.github.com/users/brettbuddin/events{/privacy}","received_events_url":"https://api.github.com/users/brettbuddin/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/codeship/go-scm/pulls/9/commits","review_comments_url":"https://api.github.com/repos/codeship/go-scm/pulls/9/comments","review_comment_url":"https://api.github.com/repos/codeship/go-scm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codeship/go-scm/issues/9/comments","statuses_url":"https://api.github.com/repos/codeship/go-scm/statuses/ed4914c7a545ca35664785365cbc3fbaae80c92a","head":{"label":"codeship:build-out-commit-id","ref":"build-out-commit-id","sha":"ed4914c7a545ca35664785365cbc3fbaae80c92a","user":{"login":"codeship","id":2988541,"avatar_url":"https://avatars0.githubusercontent.com/u/2988541?v=4","gravatar_id":"","url":"https://api.github.com/users/codeship","html_url":"https://github.com/codeship","followers_url":"https://api.github.com/users/codeship/followers","following_url":"https://api.github.com/users/codeship/following{/other_user}","gists_url":"https://api.github.com/users/codeship/gists{/gist_id}","starred_url":"https://api.github.com/users/codeship/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeship/subscriptions","organizations_url":"https://api.github.com/users/codeship/orgs","repos_url":"https://api.github.com/users/codeship/repos","events_url":"https://api.github.com/users/codeship/events{/privacy}","received_events_url":"https://api.github.com/users/codeship/received_events","type":"Organization","site_admin":false},"repo":{"id":39589649,"name":"go-scm","full_name":"codeship/go-scm","owner":{"login":"codeship","id":2988541,"avatar_url":"https://avatars0.githubusercontent.com/u/2988541?v=4","gravatar_id":"","url":"https://api.github.com/users/codeship","html_url":"https://github.com/codeship","followers_url":"https://api.github.com/users/codeship/followers","following_url":"https://api.github.com/users/codeship/following{/other_user}","gists_url":"https://api.github.com/users/codeship/gists{/gist_id}","starred_url":"https://api.github.com/users/codeship/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeship/subscriptions","organizations_url":"https://api.github.com/users/codeship/orgs","repos_url":"https://api.github.com/users/codeship/repos","events_url":"https://api.github.com/users/codeship/events{/privacy}","received_events_url":"https://api.github.com/users/codeship/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codeship/go-scm","description":null,"fork":true,"url":"https://api.github.com/repos/codeship/go-scm","forks_url":"https://api.github.com/repos/codeship/go-scm/forks","keys_url":"https://api.github.com/repos/codeship/go-scm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codeship/go-scm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codeship/go-scm/teams","hooks_url":"https://api.github.com/repos/codeship/go-scm/hooks","issue_events_url":"https://api.github.com/repos/codeship/go-scm/issues/events{/number}","events_url":"https://api.github.com/repos/codeship/go-scm/events","assignees_url":"https://api.github.com/repos/codeship/go-scm/assignees{/user}","branches_url":"https://api.github.com/repos/codeship/go-scm/branches{/branch}","tags_url":"https://api.github.com/repos/codeship/go-scm/tags","blobs_url":"https://api.github.com/repos/codeship/go-scm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codeship/go-scm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codeship/go-scm/git/refs{/sha}","trees_url":"https://api.github.com/repos/codeship/go-scm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codeship/go-scm/statuses/{sha}","languages_url":"https://api.github.com/repos/codeship/go-scm/languages","stargazers_url":"https://api.github.com/repos/codeship/go-scm/stargazers","contributors_url":"https://api.github.com/repos/codeship/go-scm/contributors","subscribers_url":"https://api.github.com/repos/codeship/go-scm/subscribers","subscription_url":"https://api.github.com/repos/codeship/go-scm/subscription","commits_url":"https://api.github.com/repos/codeship/go-scm/commits{/sha}","git_commits_url":"https://api.github.com/repos/codeship/go-scm/git/commits{/sha}","comments_url":"https://api.github.com/repos/codeship/go-scm/comments{/number}","issue_comment_url":"https://api.github.com/repos/codeship/go-scm/issues/comments{/number}","contents_url":"https://api.github.com/repos/codeship/go-scm/contents/{+path}","compare_url":"https://api.github.com/repos/codeship/go-scm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codeship/go-scm/merges","archive_url":"https://api.github.com/repos/codeship/go-scm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codeship/go-scm/downloads","issues_url":"https://api.github.com/repos/codeship/go-scm/issues{/number}","pulls_url":"https://api.github.com/repos/codeship/go-scm/pulls{/number}","milestones_url":"https://api.github.com/repos/codeship/go-scm/milestones{/number}","notifications_url":"https://api.github.com/repos/codeship/go-scm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codeship/go-scm/labels{/name}","releases_url":"https://api.github.com/repos/codeship/go-scm/releases{/id}","deployments_url":"https://api.github.com/repos/codeship/go-scm/deployments","created_at":"2015-07-23T20:05:14Z","updated_at":"2016-07-05T13:45:24Z","pushed_at":"2017-07-25T15:48:11Z","git_url":"git://github.com/codeship/go-scm.git","ssh_url":"git@github.com:codeship/go-scm.git","clone_url":"https://github.com/codeship/go-scm.git","svn_url":"https://github.com/codeship/go-scm","homepage":"","size":2406,"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":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"codeship:master","ref":"master","sha":"3ecef0fd61900911bf9cb27afae5230408200858","user":{"login":"codeship","id":2988541,"avatar_url":"https://avatars0.githubusercontent.com/u/2988541?v=4","gravatar_id":"","url":"https://api.github.com/users/codeship","html_url":"https://github.com/codeship","followers_url":"https://api.github.com/users/codeship/followers","following_url":"https://api.github.com/users/codeship/following{/other_user}","gists_url":"https://api.github.com/users/codeship/gists{/gist_id}","starred_url":"https://api.github.com/users/codeship/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeship/subscriptions","organizations_url":"https://api.github.com/users/codeship/orgs","repos_url":"https://api.github.com/users/codeship/repos","events_url":"https://api.github.com/users/codeship/events{/privacy}","received_events_url":"https://api.github.com/users/codeship/received_events","type":"Organization","site_admin":false},"repo":{"id":39589649,"name":"go-scm","full_name":"codeship/go-scm","owner":{"login":"codeship","id":2988541,"avatar_url":"https://avatars0.githubusercontent.com/u/2988541?v=4","gravatar_id":"","url":"https://api.github.com/users/codeship","html_url":"https://github.com/codeship","followers_url":"https://api.github.com/users/codeship/followers","following_url":"https://api.github.com/users/codeship/following{/other_user}","gists_url":"https://api.github.com/users/codeship/gists{/gist_id}","starred_url":"https://api.github.com/users/codeship/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeship/subscriptions","organizations_url":"https://api.github.com/users/codeship/orgs","repos_url":"https://api.github.com/users/codeship/repos","events_url":"https://api.github.com/users/codeship/events{/privacy}","received_events_url":"https://api.github.com/users/codeship/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codeship/go-scm","description":null,"fork":true,"url":"https://api.github.com/repos/codeship/go-scm","forks_url":"https://api.github.com/repos/codeship/go-scm/forks","keys_url":"https://api.github.com/repos/codeship/go-scm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codeship/go-scm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codeship/go-scm/teams","hooks_url":"https://api.github.com/repos/codeship/go-scm/hooks","issue_events_url":"https://api.github.com/repos/codeship/go-scm/issues/events{/number}","events_url":"https://api.github.com/repos/codeship/go-scm/events","assignees_url":"https://api.github.com/repos/codeship/go-scm/assignees{/user}","branches_url":"https://api.github.com/repos/codeship/go-scm/branches{/branch}","tags_url":"https://api.github.com/repos/codeship/go-scm/tags","blobs_url":"https://api.github.com/repos/codeship/go-scm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codeship/go-scm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codeship/go-scm/git/refs{/sha}","trees_url":"https://api.github.com/repos/codeship/go-scm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codeship/go-scm/statuses/{sha}","languages_url":"https://api.github.com/repos/codeship/go-scm/languages","stargazers_url":"https://api.github.com/repos/codeship/go-scm/stargazers","contributors_url":"https://api.github.com/repos/codeship/go-scm/contributors","subscribers_url":"https://api.github.com/repos/codeship/go-scm/subscribers","subscription_url":"https://api.github.com/repos/codeship/go-scm/subscription","commits_url":"https://api.github.com/repos/codeship/go-scm/commits{/sha}","git_commits_url":"https://api.github.com/repos/codeship/go-scm/git/commits{/sha}","comments_url":"https://api.github.com/repos/codeship/go-scm/comments{/number}","issue_comment_url":"https://api.github.com/repos/codeship/go-scm/issues/comments{/number}","contents_url":"https://api.github.com/repos/codeship/go-scm/contents/{+path}","compare_url":"https://api.github.com/repos/codeship/go-scm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codeship/go-scm/merges","archive_url":"https://api.github.com/repos/codeship/go-scm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codeship/go-scm/downloads","issues_url":"https://api.github.com/repos/codeship/go-scm/issues{/number}","pulls_url":"https://api.github.com/repos/codeship/go-scm/pulls{/number}","milestones_url":"https://api.github.com/repos/codeship/go-scm/milestones{/number}","notifications_url":"https://api.github.com/repos/codeship/go-scm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codeship/go-scm/labels{/name}","releases_url":"https://api.github.com/repos/codeship/go-scm/releases{/id}","deployments_url":"https://api.github.com/repos/codeship/go-scm/deployments","created_at":"2015-07-23T20:05:14Z","updated_at":"2016-07-05T13:45:24Z","pushed_at":"2017-07-25T15:48:11Z","git_url":"git://github.com/codeship/go-scm.git","ssh_url":"git@github.com:codeship/go-scm.git","clone_url":"https://github.com/codeship/go-scm.git","svn_url":"https://github.com/codeship/go-scm","homepage":"","size":2406,"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":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codeship/go-scm/pulls/9"},"html":{"href":"https://github.com/codeship/go-scm/pull/9"},"issue":{"href":"https://api.github.com/repos/codeship/go-scm/issues/9"},"comments":{"href":"https://api.github.com/repos/codeship/go-scm/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/codeship/go-scm/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/codeship/go-scm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codeship/go-scm/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/codeship/go-scm/statuses/ed4914c7a545ca35664785365cbc3fbaae80c92a"}},"merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"krames","id":115692,"avatar_url":"https://avatars0.githubusercontent.com/u/115692?v=4","gravatar_id":"","url":"https://api.github.com/users/krames","html_url":"https://github.com/krames","followers_url":"https://api.github.com/users/krames/followers","following_url":"https://api.github.com/users/krames/following{/other_user}","gists_url":"https://api.github.com/users/krames/gists{/gist_id}","starred_url":"https://api.github.com/users/krames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krames/subscriptions","organizations_url":"https://api.github.com/users/krames/orgs","repos_url":"https://api.github.com/users/krames/repos","events_url":"https://api.github.com/users/krames/events{/privacy}","received_events_url":"https://api.github.com/users/krames/received_events","type":"User","site_admin":false},"comments":0,"review_comments":4,"maintainer_can_modify":false,"commits":1,"additions":187,"deletions":41,"changed_files":2}}
{"actor":{"display_login":"krames"}}