-
Notifications
You must be signed in to change notification settings - Fork 63
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
Ensure branch protection rules across all plugin repos #52
Comments
Do we need special permission to add "Branch protection rule" ? From this https://docs.github.com/en/github/administering-a-repository/defining-the-mergeability-of-pull-requests/managing-a-branch-protection-rule, should see "Branches" when open settings page. But I can't see it when open AD settings. |
@dblock Since none of the plugin owners are not part of admin, can someone from https://github.com/orgs/opensearch-project/teams/admin/members do this ? |
Yep, looks like we will have to do that. I'll figure out a script to do this across repos at some point soon. |
All repos in opensearch-org now require at least 1 code review except: |
Maybe I missed something. What's that code review about? Should plugin owners prepare and send out that code review? |
@ylwu-amzn Hey -- so branch protection is a setting per repo (you can learn more here: https://docs.github.com/en/github/administering-a-repository/defining-the-mergeability-of-pull-requests/managing-a-branch-protection-rule) I've now set on all the repos minus the ones listed above a rule that requires at least one code review before merge. So there's nothing for you to do except verify that the rule is working. If you can merge with out a CR, then I made a mistake and will need to go back and check again. Make sense? Thanks! |
Got it. Thanks. Will confirm if AD can work. |
At least require 1 CR.
@hyandell Is there a way to do this for the org?doesn't look like itThe text was updated successfully, but these errors were encountered: