<div dir="ltr">I think "The ability to restrict branches is a type of branch protection that's available for public and private repositories owned by organizations in GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server." probably applies to ceed/libceed.  Or maybe they've tied this to organizations (though they don't say that). In any case, the "Restrict who can push to matching branches" button [see <a href="https://docs.github.com/en/free-pro-team@latest/github/administering-a-repository/enabling-branch-restrictions">https://docs.github.com/en/free-pro-team@latest/github/administering-a-repository/enabling-branch-restrictions</a>] is just not there on my settings/branches page.<div><div><br></div><div>Ed</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 2, 2020 at 2:00 PM Jed Brown <<a href="mailto:jed@jedbrown.org">jed@jedbrown.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Ed Bueler <<a href="mailto:elbueler@alaska.edu" target="_blank">elbueler@alaska.edu</a>> writes:<br>
<br>
>> You should be able to click "Add rule" here<br>
>> <a href="https://github.com/bueler/p4pdes/settings/branches" rel="noreferrer" target="_blank">https://github.com/bueler/p4pdes/settings/branches</a><br>
><br>
> Nope.  Try it.  Restricting branches is not one of the options under<br>
> "github pro" public repo ownership.  (Nothing about the github<br>
> manage access interface is informative about admins and/or<br>
> collaborator permissions etc.)<br>
><br>
> However, adding required MR reviews onto master is an option, and I can<br>
> leave "Include Admins" unchecked; I have done that.   I'll see if these<br>
> settings are smooth for me.<br>
<br>
I think that's what I meant. In any case, we use it in libceed and I see<br>
the ability in other personal repositories. I'm not sure what's missing<br>
from your view, but requiring MRs for non-admin (you) should be enough.<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Ed Bueler<br>Dept of Mathematics and Statistics<br>University of Alaska Fairbanks<br>Fairbanks, AK 99775-6660<br>306C Chapman<br></div></div></div></div></div></div></div>