This is an automated email from the ASF dual-hosted git repository.

rzo1 pushed a commit to branch enforce-prs-to-push-to-main
in repository https://gitbox.apache.org/repos/asf/opennlp.git

commit ec75a3408dbca3fb3028348d34ce04cedbb716df
Author: Richard Zowalla <[email protected]>
AuthorDate: Mon Jul 1 14:29:07 2024 +0200

    Require pull request review to directly push to main
---
 .asf.yaml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.asf.yaml b/.asf.yaml
index 9e2b5caa..5de9237e 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -7,7 +7,11 @@ github:
   homepage: https://opennlp.apache.org/
   protected_branches:
     # Prevent force pushes to primary branches
-    main: {}
+    main:
+      required_pull_request_reviews:
+        dismiss_stale_reviews: false
+        require_code_owner_reviews: false
+        required_approving_review_count: 1
   custom_subjects:
     new_pr: "[PR] {title} ({repository})"
     close_pr: "Re: [PR] {title} ({repository})"

Reply via email to