You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opennlp.apache.org by rz...@apache.org on 2024/07/01 12:29:14 UTC

(opennlp) branch enforce-prs-to-push-to-main created (now ec75a340)

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

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


      at ec75a340 Require pull request review to directly push to main

This branch includes the following new commits:

     new ec75a340 Require pull request review to directly push to main

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(opennlp) 01/01: Require pull request review to directly push to main

Posted by rz...@apache.org.
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 <rz...@apache.org>
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})"