You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hugegraph.apache.org by ji...@apache.org on 2022/11/27 14:41:08 UTC

[incubator-hugegraph-doc] branch master updated: chore: enable the rules in .asf.yml (#156)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 4f03638e chore: enable the rules in .asf.yml (#156)
4f03638e is described below

commit 4f03638ebf73ab259b015296013582af46eb2cae
Author: imbajin <ji...@apache.org>
AuthorDate: Sun Nov 27 22:41:03 2022 +0800

    chore: enable the rules in .asf.yml (#156)
    
    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: dev@hugegraph.apache.org
-  pullrequests: commits@hugegraph.apache.org
+  pullrequests_status: dev@hugegraph.apache.org
+  # before use the config, we should ensure the "mail" address has set well (exist)
+  #pullrequests_comment: issues@hugegraph.apache.org
+  #issues: issues@hugegraph.apache.org
+  #discussions: issues@hugegraph.apache.org