Branch protection pattern only matching branches authored by me #57024
Unanswered
gmulz
asked this question in
Repositories
Replies: 2 comments 2 replies
-
Hey @gmulz the link on the 🛡️ there only references created rulesets in the repo and will not show any existing branch protections. This is expected behavior as we intend to have rules eventually be the replacement for branch protections. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Bug
Body
I am attempting to apply a branch protection rule to all branches in my repository, using the pattern
*
. When I save this rule, I see the "Currently applies to 19 branches". The branches listed that the rules are applied to are only branches authored by me (repo admin), but none of the other branches authored by other contributors in the repo. There are 33 total branches in the repo that the rule should be applied to.When I look at the list of branches, I see a small "view rules" badge next to only my branches, none of the other ones. Clicking on this takes me to the Rulesets page, where I see "No rulesets have been added yet". This seems like a bug with the new Rulesets implementation colliding with the branch protections, but I have no idea why it's only applying to my branches and not the rest of the branches in the repo.
Beta Was this translation helpful? Give feedback.
All reactions