You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by zi...@apache.org on 2024/07/15 07:34:01 UTC

(pulsar-client-go) branch master updated: ci: add merge limitation (#1248)

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

zike pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-client-go.git


The following commit(s) were added to refs/heads/master by this push:
     new 627999c2 ci: add merge limitation (#1248)
627999c2 is described below

commit 627999c2c93a6e7ce8493e7e459d0611466b8f5f
Author: Zixuan Liu <no...@gmail.com>
AuthorDate: Mon Jul 15 15:33:56 2024 +0800

    ci: add merge limitation (#1248)
    
    ### Motivation
    
    Improve PR merge.
    
    ### Modifications
    
    Add `required_pull_request_reviews` and `required_conversation_resolution` to the `.asf.yaml`.
---
 .asf.yaml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/.asf.yaml b/.asf.yaml
index 246ec818..9f1252e1 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -42,6 +42,14 @@ github:
     # disable rebase button:
     rebase:  false
 
+  protected_branches:
+    master:
+      required_pull_request_reviews:
+        require_code_owner_reviews: true
+        required_approving_review_count: 1
+
+      # Requires all conversations on code to be resolved before a pull request can be merged.
+      required_conversation_resolution: true
 
 notifications:
   commits:      commits@pulsar.apache.org