4 ms·
The GitHub flow [1] is to use pull requests for everything. Aside from being a great code review tool, you can execute CI and other checks on them, even making
by praseodym 10y ago
The GitHub flow [1] is to use pull requests for everything. Aside from being a great code review tool, you can execute CI and other checks on them, even making it required for those checks to pass before merging [2]. You can quite easily hook your own checks [3], like the one from the original post or even a check whether the committer signed a CLA (Spring Boot does this [4]).
[1] https://guides.github.com/introduction/flow/ https://guides.github.com/introduction/flow/
[2] https://help.github.com/articles/enabling-required-status-checks/ https://help.github.com/articles/enabling-required-status-ch...
[3] https://developer.github.com/v3/repos/statuses/ https://developer.github.com/v3/repos/statuses/
[4] https://github.com/spring-projects/spring-boot https://github.com/spring-projects/spring-boot