-
Notifications
You must be signed in to change notification settings - Fork 60.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
branch protection documents don't talk about conflict
s between protection rules
#15965
Comments
@jsoref |
Thanks @jsoref, I believe the answer to your question is here:
Was there something else you had in mind? Feel free to re-open if I'm misunderstanding!
I don't think this is something we would recommend. |
Interesting, then why does the UI tell me I have a conflict? At the very least, that text should have the word |
Great question! I agree that we could address what that "conflict" means in the UI... but I must admit, I don't actually know. Let's see if we get some answers in that feedback issue, so we know what to add. |
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further. See this blog post on bug reports and the importance of repro steps for more information about the kind of information that may be helpful. |
@lecoursen not even a nibble |
@cmwilson21 can you please find someone who could comment? |
Code of Conduct
What article on docs.github.com is affected?
https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches
https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/managing-a-branch-protection-rule#about-branch-protection-rules
What part(s) of the article would you like to see updated?
Something should mention that one can't have two branch protection rules that match the same branch, or if one can, it should explain how priority works.
Searching for
conflict
only shows hits formerge conflict
.Note: it appears impossible to deep link to any of the steps in https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/managing-a-branch-protection-rule#creating-a-branch-protection-rule which means I can't link to:
Offhand, text should probably be included here warning that one should work to avoid having patterns in branch protection rules that conflict.
Additional information
community/community#12257
The text was updated successfully, but these errors were encountered: