You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by do...@apache.org on 2022/03/21 06:15:17 UTC

[incubator-inlong] branch master updated: [INLONG-3234][CI] Improve workflow trigger timing (#3248)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new dcd95d5  [INLONG-3234][CI] Improve workflow trigger timing (#3248)
dcd95d5 is described below

commit dcd95d53ae7cbcc33c5eec6d45e75f1929ebb47d
Author: Yuanhao Ji <ts...@qq.com>
AuthorDate: Mon Mar 21 14:15:11 2022 +0800

    [INLONG-3234][CI] Improve workflow trigger timing (#3248)
---
 .github/workflows/ci_build.yml         | 33 +++++++++++++++++++++++++++++++--
 .github/workflows/ci_build_docker.yml  | 33 +++++++++++++++++++++++++++++++--
 .github/workflows/ci_check_license.yml |  6 +-----
 .github/workflows/ci_ut.yml            | 33 +++++++++++++++++++++++++++++++--
 4 files changed, 94 insertions(+), 11 deletions(-)

diff --git a/.github/workflows/ci_build.yml b/.github/workflows/ci_build.yml
index e8a2490..ed68110 100644
--- a/.github/workflows/ci_build.yml
+++ b/.github/workflows/ci_build.yml
@@ -19,9 +19,38 @@ name: InLong Build
 
 on:
   push:
-    branches: [ master, 'INLONG-*' ]
+    paths:
+      - '.github/workflows/ci_build.yml'
+      - '**/pom.xml'
+      - 'inlong-agent/**'
+      - 'inlong-audit/**'
+      - 'inlong-common/**'
+      - 'inlong-dashboard/**'
+      - 'inlong-dataproxy/**'
+      - 'inlong-distribution/**'
+      - 'inlong-manager/**'
+      - 'inlong-sdk/**'
+      - 'inlong-sort/**'
+      - 'inlong-sort-standalone/**'
+      - 'inlong-tubemq/**'
+      - '!*.md'
+
   pull_request:
-    branches: [ master, 'INLONG-*' ]
+    paths:
+      - '.github/workflows/ci_build.yml'
+      - '**/pom.xml'
+      - 'inlong-agent/**'
+      - 'inlong-audit/**'
+      - 'inlong-common/**'
+      - 'inlong-dashboard/**'
+      - 'inlong-dataproxy/**'
+      - 'inlong-distribution/**'
+      - 'inlong-manager/**'
+      - 'inlong-sdk/**'
+      - 'inlong-sort/**'
+      - 'inlong-sort-standalone/**'
+      - 'inlong-tubemq/**'
+      - '!*.md'
 
 jobs:
   build:
diff --git a/.github/workflows/ci_build_docker.yml b/.github/workflows/ci_build_docker.yml
index 81de001..3aeab65 100644
--- a/.github/workflows/ci_build_docker.yml
+++ b/.github/workflows/ci_build_docker.yml
@@ -19,9 +19,38 @@ name: InLong Docker Build
 
 on:
   push:
-    branches: [ master, 'INLONG-*' ]
+    paths:
+      - '.github/workflows/ci_build_docker.yml'
+      - '**/pom.xml'
+      - 'inlong-agent/**'
+      - 'inlong-audit/**'
+      - 'inlong-common/**'
+      - 'inlong-dashboard/**'
+      - 'inlong-dataproxy/**'
+      - 'inlong-distribution/**'
+      - 'inlong-manager/**'
+      - 'inlong-sdk/**'
+      - 'inlong-sort/**'
+      - 'inlong-sort-standalone/**'
+      - 'inlong-tubemq/**'
+      - '!*.md'
+
   pull_request:
-    branches: [ master, 'INLONG-*' ]
+    paths:
+      - '.github/workflows/ci_build_docker.yml'
+      - '**/pom.xml'
+      - 'inlong-agent/**'
+      - 'inlong-audit/**'
+      - 'inlong-common/**'
+      - 'inlong-dashboard/**'
+      - 'inlong-dataproxy/**'
+      - 'inlong-distribution/**'
+      - 'inlong-manager/**'
+      - 'inlong-sdk/**'
+      - 'inlong-sort/**'
+      - 'inlong-sort-standalone/**'
+      - 'inlong-tubemq/**'
+      - '!*.md'
 
 jobs:
   build:
diff --git a/.github/workflows/ci_check_license.yml b/.github/workflows/ci_check_license.yml
index f15a147..ae84e08 100644
--- a/.github/workflows/ci_check_license.yml
+++ b/.github/workflows/ci_check_license.yml
@@ -17,11 +17,7 @@
 
 name: InLong Check License Header
 
-on:
-  push:
-    branches: [ master, 'INLONG-*' ]
-  pull_request:
-    branches: [ master, 'INLONG-*' ]
+on: [ push, pull_request ]
 
 jobs:
   build:
diff --git a/.github/workflows/ci_ut.yml b/.github/workflows/ci_ut.yml
index bf7219b..9498fb5 100644
--- a/.github/workflows/ci_ut.yml
+++ b/.github/workflows/ci_ut.yml
@@ -19,9 +19,38 @@ name: InLong Unit Test
 
 on:
   push:
-    branches: [ master, 'INLONG-*' ]
+    paths:
+      - '.github/workflows/ci_ut.yml'
+      - '**/pom.xml'
+      - 'inlong-agent/**'
+      - 'inlong-audit/**'
+      - 'inlong-common/**'
+      - 'inlong-dashboard/**'
+      - 'inlong-dataproxy/**'
+      - 'inlong-distribution/**'
+      - 'inlong-manager/**'
+      - 'inlong-sdk/**'
+      - 'inlong-sort/**'
+      - 'inlong-sort-standalone/**'
+      - 'inlong-tubemq/**'
+      - '!*.md'
+
   pull_request:
-    branches: [ master, 'INLONG-*' ]
+    paths:
+      - '.github/workflows/ci_ut.yml'
+      - '**/pom.xml'
+      - 'inlong-agent/**'
+      - 'inlong-audit/**'
+      - 'inlong-common/**'
+      - 'inlong-dashboard/**'
+      - 'inlong-dataproxy/**'
+      - 'inlong-distribution/**'
+      - 'inlong-manager/**'
+      - 'inlong-sdk/**'
+      - 'inlong-sort/**'
+      - 'inlong-sort-standalone/**'
+      - 'inlong-tubemq/**'
+      - '!*.md'
 
 jobs:
   unit-test: