3 ms·
Use GitHub protected branches to only merge PRs that LGTM
- doh 11y agoIs there a way to customize the approval process, for example the number of approvals, or require specific approvals for subdirectories in the codebase?
- bradrydzewski 11y agoYes, if you choose the slightly more complex toml format for your MAINTAINERS file you can define approvers, approver subgroups and tweak a bunch of different variables. Check out https://lgtm.co/docs/approvers/ https://lgtm.co/docs/approvers/
- joetaylorland 11y agoNice - will it work with GH Enterprise?
- bradrydzewski 11y agoI'm not sure if GitHub Enterprise supports protected branches, since the feature is still considered experimental but it should definitely be possible. I'll be posting a Docker image to the index in the coming weeks allowing you to run your own instance, hopefully that will include GHE conntors