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

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


The following commit(s) were added to refs/heads/master by this push:
     new f57b4f4f chore: improve ci configs for PRs (#344)
f57b4f4f is described below

commit f57b4f4fb3e0dfdd84b92a0e1245e710030261d5
Author: imbajin <[email protected]>
AuthorDate: Wed Oct 26 19:17:12 2022 +0800

    chore: improve ci configs for PRs (#344)
    
    * chore: improve ci configs for PRs
    
    enable ci if client code changes
    
    * Update codeql-analysis.yml
    
    * update mail configs
    
    * Update .asf.yaml
---
 .asf.yaml                             | 8 +++++---
 .github/workflows/client-ci.yml       | 5 -----
 .github/workflows/codeql-analysis.yml | 4 ++--
 .github/workflows/hubble-ci.yml       | 7 +------
 .github/workflows/loader-ci.yml       | 6 +-----
 .github/workflows/tools-ci.yml        | 6 +-----
 .gitignore                            | 1 +
 7 files changed, 11 insertions(+), 26 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index 3a50bebd..0696c155 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -40,7 +40,7 @@ github:
   protected_branches:
     master:
       required_status_checks:
-        # strict means "Require branches to be up to date before merging".
+        # strict means "Require branches to be up-to-date before merging".
         strict: true
         # contexts are the names of checks that must pass
         contexts: []
@@ -52,5 +52,7 @@ github:
         required_approving_review_count: 2
 
 notifications:
-  issues: [email protected]
-  pullrequests: [email protected]
+  issues: [email protected]
+  discussions:  [email protected]
+  pullrequests_status: [email protected]
+  #pullrequests_comment: [email protected]
diff --git a/.github/workflows/client-ci.yml b/.github/workflows/client-ci.yml
index 2def7419..4c2059bf 100644
--- a/.github/workflows/client-ci.yml
+++ b/.github/workflows/client-ci.yml
@@ -5,17 +5,12 @@ on:
     branches:
       - master
       - /^release-.*$/
-      - /^test-.*$/
     paths:
       - hugegraph-client/**
       - hugegraph-dist/**
       - .github/workflows/**
       - pom.xml
   pull_request:
-    branches:
-      - master
-      - /^release-.*$/
-      - /^test-.*$/
     paths:
       - hugegraph-client/**
       - hugegraph-dist/**
diff --git a/.github/workflows/codeql-analysis.yml 
b/.github/workflows/codeql-analysis.yml
index 4a613d55..9386aaf5 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -13,10 +13,10 @@ name: "CodeQL"
 
 on:
   push:
-    branches: [ master, release-1.* ]
+    branches: [ master, release-* ]
   pull_request:
     # The branches below must be a subset of the branches above
-    branches: [ master ]
+    # branches: [ master ] # enable in all PR
   schedule:
     - cron: '42 20 * * 6'
 
diff --git a/.github/workflows/hubble-ci.yml b/.github/workflows/hubble-ci.yml
index 195bb35f..395db3de 100644
--- a/.github/workflows/hubble-ci.yml
+++ b/.github/workflows/hubble-ci.yml
@@ -5,7 +5,6 @@ on:
     branches:
       - master
       - /^release-.*$/
-      - /^test-.*$/
       - /^v[0-9]\..*$/
     paths:
       - hugegraph-hubble/**
@@ -13,14 +12,10 @@ on:
       - .github/workflows/**
       - pom.xml
   pull_request:
-    branches:
-      - master
-      - /^release-.*$/
-      - /^test-.*$/
-      - /^v[0-9]\..*$/
     paths:
       - hugegraph-hubble/**
       - hugegraph-dist/**
+      - hugegraph-client/**
       - .github/workflows/**
       - pom.xml
 
diff --git a/.github/workflows/loader-ci.yml b/.github/workflows/loader-ci.yml
index 9cb26a5e..0db4737d 100644
--- a/.github/workflows/loader-ci.yml
+++ b/.github/workflows/loader-ci.yml
@@ -5,20 +5,16 @@ on:
     branches:
       - master
       - /^release-.*$/
-      - /^test-.*$/
     paths:
       - hugegraph-loader/**
       - hugegraph-dist/**
       - .github/workflows/**
       - pom.xml
   pull_request:
-    branches:
-      - master
-      - /^release-.*$/
-      - /^test-.*$/
     paths:
       - hugegraph-loader/**
       - hugegraph-dist/**
+      - hugegraph-client/**
       - .github/workflows/**
       - pom.xml
 
diff --git a/.github/workflows/tools-ci.yml b/.github/workflows/tools-ci.yml
index f0134cfa..5de9527d 100644
--- a/.github/workflows/tools-ci.yml
+++ b/.github/workflows/tools-ci.yml
@@ -4,20 +4,16 @@ on:
     branches:
       - master
       - /^release-.*$/
-      - /^test-.*$/
     paths:
       - hugegraph-tools/**
       - hugegraph-dist/**
       - .github/workflows/**
       - pom.xml
   pull_request:
-    branches:
-      - master
-      - /^release-.*$/
-      - /^test-.*$/
     paths:
       - hugegraph-tools/**
       - hugegraph-dist/**
+      - hugegraph-client/**
       - .github/workflows/**
       - pom.xml
 
diff --git a/.gitignore b/.gitignore
index 47b982e0..f6fd8bbf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -82,6 +82,7 @@ output/
 *.tar
 *.tar.gz
 tree.txt
+*.versionsBackup
 
 # eclipse ignore
 .settings/

Reply via email to