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

jin pushed a commit to branch imbajin-patch-1
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-doc.git

commit 83ba355a84671dc7d1cab3083e23b5c08317e219
Author: imbajin <[email protected]>
AuthorDate: Sun Nov 27 22:38:33 2022 +0800

    chore: enable the rules in .asf.yml
    
    This commit also test the required CI for
---
 .asf.yaml | 20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index f840dfc4..8fd7b996 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -39,14 +39,17 @@ github:
     merge:  false
     squash: true
     rebase: true
-  protected_branches: ~
-    #main:
-      #required_status_checks:
+  protected_branches:
+    master:
+      required_status_checks:
         # strict means "Require branches to be up to date before merging".
         #strict: true
-      #required_pull_request_reviews:
+        contexts:
+          - deploy
+      required_pull_request_reviews:
         #dismiss_stale_reviews: true
-        #required_approving_review_count: 2
+        required_approving_review_count: 1
+        require_code_owner_reviews: false
   
 # This config used for test website before release, the branch name is fixed
 staging:
@@ -58,5 +61,8 @@ publish:
   whoami: asf-site
 
 notifications:
-  issues: [email protected]
-  pullrequests: [email protected]
+  pullrequests_status: [email protected]
+  # before use the config, we should ensure the "mail" address has set well 
(exist)
+  #pullrequests_comment: [email protected]
+  #issues: [email protected]
+  #discussions: [email protected]

Reply via email to