Open dblock opened 1 year ago
@CEHENKLE I think we want to document that branch protection is required when creating new repos, 10 repos don't
Add to your "what repositories have asked for this": https://github.com/opensearch-project/opensearch-sdk-java/issues/255
Great idea, we should definitely enforce a minimum project wide.
+1 for Relax that to 1+
, if and only if CODEOWNERS have also been published in that project. Do you think we can do both once?
Rational for those that are curious; Bypassing required reviews using GitHub Actions TLDR: Someone crafty can use GitHub Actions can craft a pull requests that approves itself
What/Why
What are you proposing?
Most repositories in opensearch-project require 2 code reviewers. Relax that to 1+. Enforce. Document in https://github.com/opensearch-project/.github/blob/main/RESPONSIBILITIES.md#maintainer-responsibilities and https://github.com/opensearch-project/.github/blob/main/CONTRIBUTING.md#review-process that 1+ review is required.
What users have asked for this feature?
What problems are you trying to solve?
Increase PR review/merge velocity.
Make the branch protection rules more consistent. Current state is 11 repos require none, 17 require 1, 57 require 2:
What is the developer experience going to be?
Repo maintainers decide how many approvals they want and document it in their CONTRIBUTING.md. Admins will help with branch protection rules.