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

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


The following commit(s) were added to refs/heads/main by this push:
     new a1b2ad16 Require pull request review to directly push to main
a1b2ad16 is described below

commit a1b2ad16b3e76b1d18a414bc3060683c5e588541
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