{"action":"opened","number":50,"pull_request":{"url":"https://api.github.com/repos/codeship/codeship-go/pulls/50","id":187877218,"html_url":"https://github.com/codeship/codeship-go/pull/50","diff_url":"https://github.com/codeship/codeship-go/pull/50.diff","patch_url":"https://github.com/codeship/codeship-go/pull/50.patch","issue_url":"https://api.github.com/repos/codeship/codeship-go/issues/50","number":50,"state":"open","locked":false,"title":"Update build object to support branch attribute","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 Branch attribute was recently added to the Build model. See [api docs](https://apidocs.codeship.com/v2/builds/get-build).\r\n\r\nThis PR update codeship-go to be aware of this attribute.","created_at":"2018-05-14T16:07:16Z","updated_at":"2018-05-14T16:07:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/codeship/codeship-go/pulls/50/commits","review_comments_url":"https://api.github.com/repos/codeship/codeship-go/pulls/50/comments","review_comment_url":"https://api.github.com/repos/codeship/codeship-go/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codeship/codeship-go/issues/50/comments","statuses_url":"https://api.github.com/repos/codeship/codeship-go/statuses/41bfa310a70410e02d0580457b50a880ae151dd0","head":{"label":"codeship:support-branch","ref":"support-branch","sha":"41bfa310a70410e02d0580457b50a880ae151dd0","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":102884066,"name":"codeship-go","full_name":"codeship/codeship-go","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/codeship-go","description":"Go library for accessing the Codeship API v2","fork":false,"url":"https://api.github.com/repos/codeship/codeship-go","forks_url":"https://api.github.com/repos/codeship/codeship-go/forks","keys_url":"https://api.github.com/repos/codeship/codeship-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codeship/codeship-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codeship/codeship-go/teams","hooks_url":"https://api.github.com/repos/codeship/codeship-go/hooks","issue_events_url":"https://api.github.com/repos/codeship/codeship-go/issues/events{/number}","events_url":"https://api.github.com/repos/codeship/codeship-go/events","assignees_url":"https://api.github.com/repos/codeship/codeship-go/assignees{/user}","branches_url":"https://api.github.com/repos/codeship/codeship-go/branches{/branch}","tags_url":"https://api.github.com/repos/codeship/codeship-go/tags","blobs_url":"https://api.github.com/repos/codeship/codeship-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codeship/codeship-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codeship/codeship-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/codeship/codeship-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codeship/codeship-go/statuses/{sha}","languages_url":"https://api.github.com/repos/codeship/codeship-go/languages","stargazers_url":"https://api.github.com/repos/codeship/codeship-go/stargazers","contributors_url":"https://api.github.com/repos/codeship/codeship-go/contributors","subscribers_url":"https://api.github.com/repos/codeship/codeship-go/subscribers","subscription_url":"https://api.github.com/repos/codeship/codeship-go/subscription","commits_url":"https://api.github.com/repos/codeship/codeship-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/codeship/codeship-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/codeship/codeship-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/codeship/codeship-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/codeship/codeship-go/contents/{+path}","compare_url":"https://api.github.com/repos/codeship/codeship-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codeship/codeship-go/merges","archive_url":"https://api.github.com/repos/codeship/codeship-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codeship/codeship-go/downloads","issues_url":"https://api.github.com/repos/codeship/codeship-go/issues{/number}","pulls_url":"https://api.github.com/repos/codeship/codeship-go/pulls{/number}","milestones_url":"https://api.github.com/repos/codeship/codeship-go/milestones{/number}","notifications_url":"https://api.github.com/repos/codeship/codeship-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codeship/codeship-go/labels{/name}","releases_url":"https://api.github.com/repos/codeship/codeship-go/releases{/id}","deployments_url":"https://api.github.com/repos/codeship/codeship-go/deployments","created_at":"2017-09-08T16:49:59Z","updated_at":"2018-04-19T13:05:58Z","pushed_at":"2018-05-14T16:05:03Z","git_url":"git://github.com/codeship/codeship-go.git","ssh_url":"git@github.com:codeship/codeship-go.git","clone_url":"https://github.com/codeship/codeship-go.git","svn_url":"https://github.com/codeship/codeship-go","homepage":"https://godoc.org/github.com/codeship/codeship-go","size":266,"stargazers_count":12,"watchers_count":12,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":1,"open_issues":2,"watchers":12,"default_branch":"master"}},"base":{"label":"codeship:master","ref":"master","sha":"f14b2a20bf1959718ac796169e3775a7a36776f4","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":102884066,"name":"codeship-go","full_name":"codeship/codeship-go","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/codeship-go","description":"Go library for accessing the Codeship API v2","fork":false,"url":"https://api.github.com/repos/codeship/codeship-go","forks_url":"https://api.github.com/repos/codeship/codeship-go/forks","keys_url":"https://api.github.com/repos/codeship/codeship-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codeship/codeship-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codeship/codeship-go/teams","hooks_url":"https://api.github.com/repos/codeship/codeship-go/hooks","issue_events_url":"https://api.github.com/repos/codeship/codeship-go/issues/events{/number}","events_url":"https://api.github.com/repos/codeship/codeship-go/events","assignees_url":"https://api.github.com/repos/codeship/codeship-go/assignees{/user}","branches_url":"https://api.github.com/repos/codeship/codeship-go/branches{/branch}","tags_url":"https://api.github.com/repos/codeship/codeship-go/tags","blobs_url":"https://api.github.com/repos/codeship/codeship-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codeship/codeship-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codeship/codeship-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/codeship/codeship-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codeship/codeship-go/statuses/{sha}","languages_url":"https://api.github.com/repos/codeship/codeship-go/languages","stargazers_url":"https://api.github.com/repos/codeship/codeship-go/stargazers","contributors_url":"https://api.github.com/repos/codeship/codeship-go/contributors","subscribers_url":"https://api.github.com/repos/codeship/codeship-go/subscribers","subscription_url":"https://api.github.com/repos/codeship/codeship-go/subscription","commits_url":"https://api.github.com/repos/codeship/codeship-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/codeship/codeship-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/codeship/codeship-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/codeship/codeship-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/codeship/codeship-go/contents/{+path}","compare_url":"https://api.github.com/repos/codeship/codeship-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codeship/codeship-go/merges","archive_url":"https://api.github.com/repos/codeship/codeship-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codeship/codeship-go/downloads","issues_url":"https://api.github.com/repos/codeship/codeship-go/issues{/number}","pulls_url":"https://api.github.com/repos/codeship/codeship-go/pulls{/number}","milestones_url":"https://api.github.com/repos/codeship/codeship-go/milestones{/number}","notifications_url":"https://api.github.com/repos/codeship/codeship-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codeship/codeship-go/labels{/name}","releases_url":"https://api.github.com/repos/codeship/codeship-go/releases{/id}","deployments_url":"https://api.github.com/repos/codeship/codeship-go/deployments","created_at":"2017-09-08T16:49:59Z","updated_at":"2018-04-19T13:05:58Z","pushed_at":"2018-05-14T16:05:03Z","git_url":"git://github.com/codeship/codeship-go.git","ssh_url":"git@github.com:codeship/codeship-go.git","clone_url":"https://github.com/codeship/codeship-go.git","svn_url":"https://github.com/codeship/codeship-go","homepage":"https://godoc.org/github.com/codeship/codeship-go","size":266,"stargazers_count":12,"watchers_count":12,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":1,"open_issues":2,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codeship/codeship-go/pulls/50"},"html":{"href":"https://github.com/codeship/codeship-go/pull/50"},"issue":{"href":"https://api.github.com/repos/codeship/codeship-go/issues/50"},"comments":{"href":"https://api.github.com/repos/codeship/codeship-go/issues/50/comments"},"review_comments":{"href":"https://api.github.com/repos/codeship/codeship-go/pulls/50/comments"},"review_comment":{"href":"https://api.github.com/repos/codeship/codeship-go/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codeship/codeship-go/pulls/50/commits"},"statuses":{"href":"https://api.github.com/repos/codeship/codeship-go/statuses/41bfa310a70410e02d0580457b50a880ae151dd0"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":6,"deletions":0,"changed_files":4}}
{"actor":{"display_login":"krames"}}