You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by pe...@apache.org on 2022/12/23 00:33:18 UTC

[pulsar] branch master updated: Update .asf.yaml to avoid merge PRs without approvals to the active release branches (#19024)

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

penghui pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 849bea659e0 Update .asf.yaml to avoid merge PRs without approvals to the active release branches (#19024)
849bea659e0 is described below

commit 849bea659e01abfe99d3c65bdcca3b7200826cef
Author: Penghui Li <pe...@apache.org>
AuthorDate: Fri Dec 23 08:33:04 2022 +0800

    Update .asf.yaml to avoid merge PRs without approvals to the active release branches (#19024)
---
 .asf.yaml | 22 +++++++++++++++-------
 1 file changed, 15 insertions(+), 7 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index 65a33145448..ed1f08fe646 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -52,8 +52,6 @@ github:
            - Pulsar CI checks completed
 
       required_pull_request_reviews:
-        dismiss_stale_reviews: false
-        require_code_owner_reviews: true
         required_approving_review_count: 1
 
       # squash or rebase must be allowed in the repo for this setting to be set to true.
@@ -77,11 +75,21 @@ github:
     branch-2.4: {}
     branch-2.5: {}
     branch-2.6: {}
-    branch-2.7: {}
-    branch-2.8: {}
-    branch-2.9: {}
-    branch-2.10: {}
-    branch-2.11: {}
+    branch-2.7:
+      required_pull_request_reviews:
+        required_approving_review_count: 1
+    branch-2.8:
+      required_pull_request_reviews:
+        required_approving_review_count: 1
+    branch-2.9:
+      required_pull_request_reviews:
+        required_approving_review_count: 1
+    branch-2.10:
+      required_pull_request_reviews:
+        required_approving_review_count: 1
+    branch-2.11:
+      required_pull_request_reviews:
+        required_approving_review_count: 1
 
 notifications:
   commits:      commits@pulsar.apache.org