Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add protected branch whitelists for merging #3689
Fixes #3668. This pull request adds a second whitelist to protected branches. When the second whitelist is not used (not checked in the settings for a protected branch), everyone with write access to a repository can merge a pull request, just like before #3544. This is the default.
If the second whitelist is used, only users (or team members) in the second white list are allowed to merge pull requests to a protected branch.
@@ Coverage Diff @@ ## master #3689 +/- ## ========================================== - Coverage 35.8% 35.79% -0.02% ========================================== Files 287 288 +1 Lines 41496 41578 +82 ========================================== + Hits 14857 14881 +24 - Misses 24453 24501 +48 - Partials 2186 2196 +10