{"action":"created","issue":{"url":"https://api.github.com/repos/FRC-1294/CiDemo/issues/3","labels_url":"https://api.github.com/repos/FRC-1294/CiDemo/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/FRC-1294/CiDemo/issues/3/comments","events_url":"https://api.github.com/repos/FRC-1294/CiDemo/issues/3/events","html_url":"https://github.com/FRC-1294/CiDemo/pull/3","id":114067285,"number":3,"title":"Cruise control","user":{"login":"timtim17","id":6354860,"avatar_url":"https://avatars.githubusercontent.com/u/6354860?v=3","gravatar_id":"","url":"https://api.github.com/users/timtim17","html_url":"https://github.com/timtim17","followers_url":"https://api.github.com/users/timtim17/followers","following_url":"https://api.github.com/users/timtim17/following{/other_user}","gists_url":"https://api.github.com/users/timtim17/gists{/gist_id}","starred_url":"https://api.github.com/users/timtim17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timtim17/subscriptions","organizations_url":"https://api.github.com/users/timtim17/orgs","repos_url":"https://api.github.com/users/timtim17/repos","events_url":"https://api.github.com/users/timtim17/events{/privacy}","received_events_url":"https://api.github.com/users/timtim17/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/FRC-1294/CiDemo/labels/drive","name":"drive","color":"fbca04"},{"url":"https://api.github.com/repos/FRC-1294/CiDemo/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/FRC-1294/CiDemo/labels/oi","name":"oi","color":"207de5"}],"state":"open","locked":false,"assignee":{"login":"timtim17","id":6354860,"avatar_url":"https://avatars.githubusercontent.com/u/6354860?v=3","gravatar_id":"","url":"https://api.github.com/users/timtim17","html_url":"https://github.com/timtim17","followers_url":"https://api.github.com/users/timtim17/followers","following_url":"https://api.github.com/users/timtim17/following{/other_user}","gists_url":"https://api.github.com/users/timtim17/gists{/gist_id}","starred_url":"https://api.github.com/users/timtim17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timtim17/subscriptions","organizations_url":"https://api.github.com/users/timtim17/orgs","repos_url":"https://api.github.com/users/timtim17/repos","events_url":"https://api.github.com/users/timtim17/events{/privacy}","received_events_url":"https://api.github.com/users/timtim17/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-10-29T14:54:21Z","updated_at":"2015-10-29T18:29:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/FRC-1294/CiDemo/pulls/3","html_url":"https://github.com/FRC-1294/CiDemo/pull/3","diff_url":"https://github.com/FRC-1294/CiDemo/pull/3.diff","patch_url":"https://github.com/FRC-1294/CiDemo/pull/3.patch"},"body":"Adds cruise control.\r\n<hr>\r\n> As a side note, should we mark master as a protected branch in GitHub and require the Travis build to pass? This would cause pull requests to be un-mergeable into master unless the build passes."},"comment":{"url":"https://api.github.com/repos/FRC-1294/CiDemo/issues/comments/152276869","html_url":"https://github.com/FRC-1294/CiDemo/pull/3#issuecomment-152276869","issue_url":"https://api.github.com/repos/FRC-1294/CiDemo/issues/3","id":152276869,"user":{"login":"timtim17","id":6354860,"avatar_url":"https://avatars.githubusercontent.com/u/6354860?v=3","gravatar_id":"","url":"https://api.github.com/users/timtim17","html_url":"https://github.com/timtim17","followers_url":"https://api.github.com/users/timtim17/followers","following_url":"https://api.github.com/users/timtim17/following{/other_user}","gists_url":"https://api.github.com/users/timtim17/gists{/gist_id}","starred_url":"https://api.github.com/users/timtim17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timtim17/subscriptions","organizations_url":"https://api.github.com/users/timtim17/orgs","repos_url":"https://api.github.com/users/timtim17/repos","events_url":"https://api.github.com/users/timtim17/events{/privacy}","received_events_url":"https://api.github.com/users/timtim17/received_events","type":"User","site_admin":false},"created_at":"2015-10-29T18:29:52Z","updated_at":"2015-10-29T18:29:52Z","body":"Here's a screenshot of the settings for protecting a branch:\r\n![settings](https://cloud.githubusercontent.com/assets/6354860/10828152/194b6b9a-7e30-11e5-8844-c91373dafac8.PNG)\r\n\r\nAlso, it looks like protecting a branch disallows any commits directly to the branch (to make sure that the commits make the build pass). I tried adding a file to a protected branch, and it forced me to make a new branch.\r\n![forced branch](https://cloud.githubusercontent.com/assets/6354860/10828190/4f9e9046-7e30-11e5-8181-2005da048f45.PNG)"}}