-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
GitHub: Automatic branch protection from repository rules #182488
Comments
Currently GitHub still hasn't rolled out contributor access to the ruleset API, waiting of them to roll that out. Next steps before enabling by default:
|
Since we cannot differentiate between a failed push due to a branch protection rule and a failed push due to a repository ruleset, we will use "may" verbiage in the dialog. Apart from the "Learn More" link, we will also provide an action for the user to sign in with their GitHub account. |
Pushing to next milestone as we are still waiting for the API permission changes to be rolled out broadly. |
Feature has been enabled by default. If users are signed in with their GitHub identities and are using repository rulesets we will pull that information and we will display branch protection affordances in the UI (status bar, commit action button). |
Verification steps:
|
The text was updated successfully, but these errors were encountered: