{"action":"created","issue":{"url":"https://api.github.com/repos/peio42/cerberus/issues/10","repository_url":"https://api.github.com/repos/peio42/cerberus","labels_url":"https://api.github.com/repos/peio42/cerberus/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/peio42/cerberus/issues/10/comments","events_url":"https://api.github.com/repos/peio42/cerberus/issues/10/events","html_url":"https://github.com/peio42/cerberus/issues/10","id":408567461,"node_id":"MDU6SXNzdWU0MDg1Njc0NjE=","number":10,"title":"Add branch protection on \"master\"","user":{"login":"axel3rd","id":2912441,"node_id":"MDQ6VXNlcjI5MTI0NDE=","avatar_url":"https://avatars3.githubusercontent.com/u/2912441?v=4","gravatar_id":"","url":"https://api.github.com/users/axel3rd","html_url":"https://github.com/axel3rd","followers_url":"https://api.github.com/users/axel3rd/followers","following_url":"https://api.github.com/users/axel3rd/following{/other_user}","gists_url":"https://api.github.com/users/axel3rd/gists{/gist_id}","starred_url":"https://api.github.com/users/axel3rd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axel3rd/subscriptions","organizations_url":"https://api.github.com/users/axel3rd/orgs","repos_url":"https://api.github.com/users/axel3rd/repos","events_url":"https://api.github.com/users/axel3rd/events{/privacy}","received_events_url":"https://api.github.com/users/axel3rd/received_events","type":"User","site_admin":false},"labels":[{"id":1190481641,"node_id":"MDU6TGFiZWwxMTkwNDgxNjQx","url":"https://api.github.com/repos/peio42/cerberus/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"state":"closed","locked":false,"assignee":{"login":"peio42","id":44747977,"node_id":"MDQ6VXNlcjQ0NzQ3OTc3","avatar_url":"https://avatars2.githubusercontent.com/u/44747977?v=4","gravatar_id":"","url":"https://api.github.com/users/peio42","html_url":"https://github.com/peio42","followers_url":"https://api.github.com/users/peio42/followers","following_url":"https://api.github.com/users/peio42/following{/other_user}","gists_url":"https://api.github.com/users/peio42/gists{/gist_id}","starred_url":"https://api.github.com/users/peio42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peio42/subscriptions","organizations_url":"https://api.github.com/users/peio42/orgs","repos_url":"https://api.github.com/users/peio42/repos","events_url":"https://api.github.com/users/peio42/events{/privacy}","received_events_url":"https://api.github.com/users/peio42/received_events","type":"User","site_admin":false},"assignees":[{"login":"peio42","id":44747977,"node_id":"MDQ6VXNlcjQ0NzQ3OTc3","avatar_url":"https://avatars2.githubusercontent.com/u/44747977?v=4","gravatar_id":"","url":"https://api.github.com/users/peio42","html_url":"https://github.com/peio42","followers_url":"https://api.github.com/users/peio42/followers","following_url":"https://api.github.com/users/peio42/following{/other_user}","gists_url":"https://api.github.com/users/peio42/gists{/gist_id}","starred_url":"https://api.github.com/users/peio42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peio42/subscriptions","organizations_url":"https://api.github.com/users/peio42/orgs","repos_url":"https://api.github.com/users/peio42/repos","events_url":"https://api.github.com/users/peio42/events{/privacy}","received_events_url":"https://api.github.com/users/peio42/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2019-02-10T19:08:17Z","updated_at":"2019-02-10T21:23:40Z","closed_at":"2019-02-10T21:21:30Z","author_association":"COLLABORATOR","body":"Pushing directly on *master* is really a bad practice. SonarCloud Quality Gates can be failed in this case (sample on [last commit](https://sonarcloud.io/dashboard?id=org.blutch%3Acerberus)).\r\n\r\nIn [Branch protection rules](https://github.com/peio42/cerberus/settings/branches) add new rule on `master` with : \r\n- *Require status checks to pass before merging*\r\n- *Require branches to be up to date before merging*\r\n- Check *SonarCloud Code Analysis*\r\n- Check *continuous-integration/travis-ci*\r\n- *Include administrators* ;)\r\n\r\nOnly repository owner can do that."},"comment":{"url":"https://api.github.com/repos/peio42/cerberus/issues/comments/462174984","html_url":"https://github.com/peio42/cerberus/issues/10#issuecomment-462174984","issue_url":"https://api.github.com/repos/peio42/cerberus/issues/10","id":462174984,"node_id":"MDEyOklzc3VlQ29tbWVudDQ2MjE3NDk4NA==","user":{"login":"axel3rd","id":2912441,"node_id":"MDQ6VXNlcjI5MTI0NDE=","avatar_url":"https://avatars3.githubusercontent.com/u/2912441?v=4","gravatar_id":"","url":"https://api.github.com/users/axel3rd","html_url":"https://github.com/axel3rd","followers_url":"https://api.github.com/users/axel3rd/followers","following_url":"https://api.github.com/users/axel3rd/following{/other_user}","gists_url":"https://api.github.com/users/axel3rd/gists{/gist_id}","starred_url":"https://api.github.com/users/axel3rd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axel3rd/subscriptions","organizations_url":"https://api.github.com/users/axel3rd/orgs","repos_url":"https://api.github.com/users/axel3rd/repos","events_url":"https://api.github.com/users/axel3rd/events{/privacy}","received_events_url":"https://api.github.com/users/axel3rd/received_events","type":"User","site_admin":false},"created_at":"2019-02-10T21:23:40Z","updated_at":"2019-02-10T21:23:40Z","author_association":"COLLABORATOR","body":"> Done, but I couldn't check \"SonarCloud Analysis\"...\r\n\r\nThe checks appears after some run => perhaps more PR with SonarCloud analysis are required before check available"}}
{"actor":{"display_login":"axel3rd"}}