{"action":"opened","number":157,"pull_request":{"url":"https://api.github.com/repos/brigade/overcommit/pulls/157","id":32656622,"html_url":"https://github.com/brigade/overcommit/pull/157","diff_url":"https://github.com/brigade/overcommit/pull/157.diff","patch_url":"https://github.com/brigade/overcommit/pull/157.patch","issue_url":"https://api.github.com/repos/brigade/overcommit/issues/157","number":157,"state":"open","locked":false,"title":"Add ProtectedBranches pre-push hook","user":{"login":"jawshooah","id":4551271,"avatar_url":"https://avatars.githubusercontent.com/u/4551271?v=3","gravatar_id":"","url":"https://api.github.com/users/jawshooah","html_url":"https://github.com/jawshooah","followers_url":"https://api.github.com/users/jawshooah/followers","following_url":"https://api.github.com/users/jawshooah/following{/other_user}","gists_url":"https://api.github.com/users/jawshooah/gists{/gist_id}","starred_url":"https://api.github.com/users/jawshooah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jawshooah/subscriptions","organizations_url":"https://api.github.com/users/jawshooah/orgs","repos_url":"https://api.github.com/users/jawshooah/repos","events_url":"https://api.github.com/users/jawshooah/events{/privacy}","received_events_url":"https://api.github.com/users/jawshooah/received_events","type":"User","site_admin":false},"body":"This hook guards against destructive updates to branches specified in the config.","created_at":"2015-04-05T23:59:11Z","updated_at":"2015-04-05T23:59:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"64ec0cfc1604be74372a0aad9bc3f949562490bf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/brigade/overcommit/pulls/157/commits","review_comments_url":"https://api.github.com/repos/brigade/overcommit/pulls/157/comments","review_comment_url":"https://api.github.com/repos/brigade/overcommit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/brigade/overcommit/issues/157/comments","statuses_url":"https://api.github.com/repos/brigade/overcommit/statuses/eb4c290e8f233f8f2b58e88bdc3bf51718a53150","head":{"label":"jawshooah:pre-push/protected-branches","ref":"pre-push/protected-branches","sha":"eb4c290e8f233f8f2b58e88bdc3bf51718a53150","user":{"login":"jawshooah","id":4551271,"avatar_url":"https://avatars.githubusercontent.com/u/4551271?v=3","gravatar_id":"","url":"https://api.github.com/users/jawshooah","html_url":"https://github.com/jawshooah","followers_url":"https://api.github.com/users/jawshooah/followers","following_url":"https://api.github.com/users/jawshooah/following{/other_user}","gists_url":"https://api.github.com/users/jawshooah/gists{/gist_id}","starred_url":"https://api.github.com/users/jawshooah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jawshooah/subscriptions","organizations_url":"https://api.github.com/users/jawshooah/orgs","repos_url":"https://api.github.com/users/jawshooah/repos","events_url":"https://api.github.com/users/jawshooah/events{/privacy}","received_events_url":"https://api.github.com/users/jawshooah/received_events","type":"User","site_admin":false},"repo":{"id":29259927,"name":"overcommit","full_name":"jawshooah/overcommit","owner":{"login":"jawshooah","id":4551271,"avatar_url":"https://avatars.githubusercontent.com/u/4551271?v=3","gravatar_id":"","url":"https://api.github.com/users/jawshooah","html_url":"https://github.com/jawshooah","followers_url":"https://api.github.com/users/jawshooah/followers","following_url":"https://api.github.com/users/jawshooah/following{/other_user}","gists_url":"https://api.github.com/users/jawshooah/gists{/gist_id}","starred_url":"https://api.github.com/users/jawshooah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jawshooah/subscriptions","organizations_url":"https://api.github.com/users/jawshooah/orgs","repos_url":"https://api.github.com/users/jawshooah/repos","events_url":"https://api.github.com/users/jawshooah/events{/privacy}","received_events_url":"https://api.github.com/users/jawshooah/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jawshooah/overcommit","description":"A fully configurable and extendable Git hook manager","fork":true,"url":"https://api.github.com/repos/jawshooah/overcommit","forks_url":"https://api.github.com/repos/jawshooah/overcommit/forks","keys_url":"https://api.github.com/repos/jawshooah/overcommit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jawshooah/overcommit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jawshooah/overcommit/teams","hooks_url":"https://api.github.com/repos/jawshooah/overcommit/hooks","issue_events_url":"https://api.github.com/repos/jawshooah/overcommit/issues/events{/number}","events_url":"https://api.github.com/repos/jawshooah/overcommit/events","assignees_url":"https://api.github.com/repos/jawshooah/overcommit/assignees{/user}","branches_url":"https://api.github.com/repos/jawshooah/overcommit/branches{/branch}","tags_url":"https://api.github.com/repos/jawshooah/overcommit/tags","blobs_url":"https://api.github.com/repos/jawshooah/overcommit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jawshooah/overcommit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jawshooah/overcommit/git/refs{/sha}","trees_url":"https://api.github.com/repos/jawshooah/overcommit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jawshooah/overcommit/statuses/{sha}","languages_url":"https://api.github.com/repos/jawshooah/overcommit/languages","stargazers_url":"https://api.github.com/repos/jawshooah/overcommit/stargazers","contributors_url":"https://api.github.com/repos/jawshooah/overcommit/contributors","subscribers_url":"https://api.github.com/repos/jawshooah/overcommit/subscribers","subscription_url":"https://api.github.com/repos/jawshooah/overcommit/subscription","commits_url":"https://api.github.com/repos/jawshooah/overcommit/commits{/sha}","git_commits_url":"https://api.github.com/repos/jawshooah/overcommit/git/commits{/sha}","comments_url":"https://api.github.com/repos/jawshooah/overcommit/comments{/number}","issue_comment_url":"https://api.github.com/repos/jawshooah/overcommit/issues/comments{/number}","contents_url":"https://api.github.com/repos/jawshooah/overcommit/contents/{+path}","compare_url":"https://api.github.com/repos/jawshooah/overcommit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jawshooah/overcommit/merges","archive_url":"https://api.github.com/repos/jawshooah/overcommit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jawshooah/overcommit/downloads","issues_url":"https://api.github.com/repos/jawshooah/overcommit/issues{/number}","pulls_url":"https://api.github.com/repos/jawshooah/overcommit/pulls{/number}","milestones_url":"https://api.github.com/repos/jawshooah/overcommit/milestones{/number}","notifications_url":"https://api.github.com/repos/jawshooah/overcommit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jawshooah/overcommit/labels{/name}","releases_url":"https://api.github.com/repos/jawshooah/overcommit/releases{/id}","created_at":"2015-01-14T18:50:11Z","updated_at":"2015-04-05T22:43:45Z","pushed_at":"2015-04-05T23:57:04Z","git_url":"git://github.com/jawshooah/overcommit.git","ssh_url":"git@github.com:jawshooah/overcommit.git","clone_url":"https://github.com/jawshooah/overcommit.git","svn_url":"https://github.com/jawshooah/overcommit","homepage":"","size":1676,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"brigade:master","ref":"master","sha":"8764057ad8d29b3f0171b595934812f323f31dc1","user":{"login":"brigade","id":7872961,"avatar_url":"https://avatars.githubusercontent.com/u/7872961?v=3","gravatar_id":"","url":"https://api.github.com/users/brigade","html_url":"https://github.com/brigade","followers_url":"https://api.github.com/users/brigade/followers","following_url":"https://api.github.com/users/brigade/following{/other_user}","gists_url":"https://api.github.com/users/brigade/gists{/gist_id}","starred_url":"https://api.github.com/users/brigade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brigade/subscriptions","organizations_url":"https://api.github.com/users/brigade/orgs","repos_url":"https://api.github.com/users/brigade/repos","events_url":"https://api.github.com/users/brigade/events{/privacy}","received_events_url":"https://api.github.com/users/brigade/received_events","type":"Organization","site_admin":false},"repo":{"id":1520275,"name":"overcommit","full_name":"brigade/overcommit","owner":{"login":"brigade","id":7872961,"avatar_url":"https://avatars.githubusercontent.com/u/7872961?v=3","gravatar_id":"","url":"https://api.github.com/users/brigade","html_url":"https://github.com/brigade","followers_url":"https://api.github.com/users/brigade/followers","following_url":"https://api.github.com/users/brigade/following{/other_user}","gists_url":"https://api.github.com/users/brigade/gists{/gist_id}","starred_url":"https://api.github.com/users/brigade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brigade/subscriptions","organizations_url":"https://api.github.com/users/brigade/orgs","repos_url":"https://api.github.com/users/brigade/repos","events_url":"https://api.github.com/users/brigade/events{/privacy}","received_events_url":"https://api.github.com/users/brigade/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/brigade/overcommit","description":"A fully configurable and extendable Git hook manager","fork":false,"url":"https://api.github.com/repos/brigade/overcommit","forks_url":"https://api.github.com/repos/brigade/overcommit/forks","keys_url":"https://api.github.com/repos/brigade/overcommit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brigade/overcommit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brigade/overcommit/teams","hooks_url":"https://api.github.com/repos/brigade/overcommit/hooks","issue_events_url":"https://api.github.com/repos/brigade/overcommit/issues/events{/number}","events_url":"https://api.github.com/repos/brigade/overcommit/events","assignees_url":"https://api.github.com/repos/brigade/overcommit/assignees{/user}","branches_url":"https://api.github.com/repos/brigade/overcommit/branches{/branch}","tags_url":"https://api.github.com/repos/brigade/overcommit/tags","blobs_url":"https://api.github.com/repos/brigade/overcommit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brigade/overcommit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brigade/overcommit/git/refs{/sha}","trees_url":"https://api.github.com/repos/brigade/overcommit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brigade/overcommit/statuses/{sha}","languages_url":"https://api.github.com/repos/brigade/overcommit/languages","stargazers_url":"https://api.github.com/repos/brigade/overcommit/stargazers","contributors_url":"https://api.github.com/repos/brigade/overcommit/contributors","subscribers_url":"https://api.github.com/repos/brigade/overcommit/subscribers","subscription_url":"https://api.github.com/repos/brigade/overcommit/subscription","commits_url":"https://api.github.com/repos/brigade/overcommit/commits{/sha}","git_commits_url":"https://api.github.com/repos/brigade/overcommit/git/commits{/sha}","comments_url":"https://api.github.com/repos/brigade/overcommit/comments{/number}","issue_comment_url":"https://api.github.com/repos/brigade/overcommit/issues/comments{/number}","contents_url":"https://api.github.com/repos/brigade/overcommit/contents/{+path}","compare_url":"https://api.github.com/repos/brigade/overcommit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brigade/overcommit/merges","archive_url":"https://api.github.com/repos/brigade/overcommit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brigade/overcommit/downloads","issues_url":"https://api.github.com/repos/brigade/overcommit/issues{/number}","pulls_url":"https://api.github.com/repos/brigade/overcommit/pulls{/number}","milestones_url":"https://api.github.com/repos/brigade/overcommit/milestones{/number}","notifications_url":"https://api.github.com/repos/brigade/overcommit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brigade/overcommit/labels{/name}","releases_url":"https://api.github.com/repos/brigade/overcommit/releases{/id}","created_at":"2011-03-24T09:56:15Z","updated_at":"2015-04-03T22:01:22Z","pushed_at":"2015-04-05T23:59:11Z","git_url":"git://github.com/brigade/overcommit.git","ssh_url":"git@github.com:brigade/overcommit.git","clone_url":"https://github.com/brigade/overcommit.git","svn_url":"https://github.com/brigade/overcommit","homepage":"","size":4036,"stargazers_count":240,"watchers_count":240,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":30,"mirror_url":null,"open_issues_count":10,"forks":30,"open_issues":10,"watchers":240,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/brigade/overcommit/pulls/157"},"html":{"href":"https://github.com/brigade/overcommit/pull/157"},"issue":{"href":"https://api.github.com/repos/brigade/overcommit/issues/157"},"comments":{"href":"https://api.github.com/repos/brigade/overcommit/issues/157/comments"},"review_comments":{"href":"https://api.github.com/repos/brigade/overcommit/pulls/157/comments"},"review_comment":{"href":"https://api.github.com/repos/brigade/overcommit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/brigade/overcommit/pulls/157/commits"},"statuses":{"href":"https://api.github.com/repos/brigade/overcommit/statuses/eb4c290e8f233f8f2b58e88bdc3bf51718a53150"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":5,"additions":140,"deletions":12,"changed_files":6}}