You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2021/02/07 05:46:34 UTC

[skywalking] branch ci/skip updated (94b58d3 -> 4d246e1)

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

kezhenxu94 pushed a change to branch ci/skip
in repository https://gitbox.apache.org/repos/asf/skywalking.git.


 discard 94b58d3  Skip CI in some cases to save resources
     new 4d246e1  Skip CI in some cases to save resources

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (94b58d3)
            \
             N -- N -- N   refs/heads/ci/skip (4d246e1)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/actions/skip/action.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


[skywalking] 01/01: Skip CI in some cases to save resources

Posted by ke...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch ci/skip
in repository https://gitbox.apache.org/repos/asf/skywalking.git

commit 4d246e196367a6255a1360859a8df789e231c6a4
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Sat Feb 6 20:45:56 2021 +0800

    Skip CI in some cases to save resources
---
 .github/actions/plugins-test/action.yml     |  2 +-
 .github/actions/skip/action.yml             | 72 +++++++++++++++++++++++++++++
 .github/workflows/ci-it.yaml                |  2 +-
 .github/workflows/docker-ci.yaml            |  8 ++--
 .github/workflows/e2e.cluster.yaml          |  2 +-
 .github/workflows/e2e.compat.yaml           |  2 +-
 .github/workflows/e2e.event.yaml            |  8 ++--
 .github/workflows/e2e.go.yaml               |  8 ++--
 .github/workflows/e2e.istio.yaml            |  8 ++--
 .github/workflows/e2e.jdk-versions.yaml     | 15 ++++--
 .github/workflows/e2e.js.yaml               |  8 ++--
 .github/workflows/e2e.kafka.yaml            |  8 ++--
 .github/workflows/e2e.log.yaml              |  8 ++--
 .github/workflows/e2e.nodejs.yaml           |  8 ++--
 .github/workflows/e2e.php.yaml              |  8 ++--
 .github/workflows/e2e.profiling.yaml        |  8 ++--
 .github/workflows/e2e.python.yaml           |  8 ++--
 .github/workflows/e2e.so11y.yaml            |  8 ++--
 .github/workflows/e2e.storages.yaml         |  2 +-
 .github/workflows/e2e.ttl.yaml              |  8 ++--
 .github/workflows/e2e.yaml                  | 10 ++--
 .github/workflows/plugins-jdk14-test.0.yaml | 35 +++++++-------
 .github/workflows/plugins-test.0.yaml       | 35 +++++++-------
 .github/workflows/plugins-test.1.yaml       | 35 +++++++-------
 .github/workflows/plugins-test.2.yaml       | 35 +++++++-------
 .github/workflows/plugins-test.3.yaml       | 35 +++++++-------
 26 files changed, 240 insertions(+), 146 deletions(-)

diff --git a/.github/actions/plugins-test/action.yml b/.github/actions/plugins-test/action.yml
index f1dfa1c..1869e52 100644
--- a/.github/actions/plugins-test/action.yml
+++ b/.github/actions/plugins-test/action.yml
@@ -43,7 +43,7 @@ runs:
       shell: bash
       run: |
         echo "::group::Add checkstyle plugin to the pom.xml"
-        sed -i "/<\/sourceDirectories>/i <sourceDirectory>scenarios\/""${{ matrix.case }}""<\/sourceDirectory>" test/plugin/pom.xml
+        sed -i "/<\/sourceDirectories>/i <sourceDirectory>scenarios\/""${{ inputs.test_case }}""<\/sourceDirectory>" test/plugin/pom.xml
         echo "::endgroup::"
     - name: Build SkyWalking Agent
       shell: bash
diff --git a/.github/actions/skip/action.yml b/.github/actions/skip/action.yml
new file mode 100644
index 0000000..c05190f
--- /dev/null
+++ b/.github/actions/skip/action.yml
@@ -0,0 +1,72 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+name: "Set Skip Env Var"
+description: "Action to set the SKIP_CI environment variable indicating that we should skip CI jobs"
+inputs:
+  paths:
+    description: >-
+      Set the SKIP_CI environment variable when and only when all the changed files located in one of the path,
+      the paths is shell-style pattern.
+    required: false
+    default: >-
+      "*.md"
+      "skywalking-ui"
+runs:
+  using: "composite"
+  steps:
+    - name: Check Changed Files And Set Env Var
+      shell: bash
+      run: |
+        BASE_SHA=$(jq -r '.pull_request.base.sha' $GITHUB_EVENT_PATH)
+        echo "Base sha is $BASE_SHA, head sha is $GITHUB_SHA"
+
+        git fetch --no-tags --progress --recurse-submodules --depth=1 origin ${BASE_SHA}:origin/${BASE_SHA}
+        BASE_SHA=origin/${BASE_SHA}
+        echo "Base sha is $BASE_SHA, head sha is $GITHUB_SHA"
+
+        if ! files=$(git --no-pager diff --name-only ${GITHUB_SHA} ${BASE_SHA}); then
+          exit 1
+        fi
+
+        echo "Ignore pattern:"
+        for pattern in $(echo '${{ inputs.paths }}'); do
+          echo $pattern
+        done
+
+        echo "Changed files:"
+        for file in ${files}; do
+          echo $file
+        done
+
+        echo "SKIP_CI=true" >> $GITHUB_ENV
+        for file in ${files}; do
+          matched=0
+          for pattern in $(echo '${{ inputs.paths }}'); do
+            pattern=$(echo "$pattern" | sed 's/"//g')
+            if eval "[[ '$file' == $pattern ]]"; then
+              matched=1
+              break
+            fi
+          done
+          if [[ "$matched" == "0" ]]; then
+            echo "$file doesn't match pattern $(echo '${{ inputs.paths }}'), stop checking"
+            echo "SKIP_CI=false" >> $GITHUB_ENV
+            break
+          fi
+        done
diff --git a/.github/workflows/ci-it.yaml b/.github/workflows/ci-it.yaml
index db1700d..6868bb4 100644
--- a/.github/workflows/ci-it.yaml
+++ b/.github/workflows/ci-it.yaml
@@ -17,7 +17,7 @@
 name: CI AND IT
 
 on:
-  pull_request:
+#  pull_request:
   schedule:
     - cron: '0 18 * * *'  # TimeZone: UTC 0
 
diff --git a/.github/workflows/docker-ci.yaml b/.github/workflows/docker-ci.yaml
index 1080029..d15c9fe 100644
--- a/.github/workflows/docker-ci.yaml
+++ b/.github/workflows/docker-ci.yaml
@@ -17,10 +17,10 @@
 name: docker-ci
 
 on:
-  pull_request:
-    paths:
-      - '**'
-      - '!**.md'
+#  pull_request:
+#    paths:
+#      - '**'
+#      - '!**.md'
   schedule:
     - cron: '0 18 * * *'
 
diff --git a/.github/workflows/e2e.cluster.yaml b/.github/workflows/e2e.cluster.yaml
index a282908..fc73e7c 100644
--- a/.github/workflows/e2e.cluster.yaml
+++ b/.github/workflows/e2e.cluster.yaml
@@ -17,7 +17,7 @@
 name: E2E
 
 on:
-  pull_request:
+#  pull_request:
   schedule:
     - cron: '0 18 * * *'
 
diff --git a/.github/workflows/e2e.compat.yaml b/.github/workflows/e2e.compat.yaml
index ef9e6b1..9e64dc4 100644
--- a/.github/workflows/e2e.compat.yaml
+++ b/.github/workflows/e2e.compat.yaml
@@ -17,7 +17,7 @@
 name: E2E
 
 on:
-  pull_request:
+#  pull_request:
   schedule:
     - cron: '0 18 * * *'
 
diff --git a/.github/workflows/e2e.event.yaml b/.github/workflows/e2e.event.yaml
index ad648c6..65d53dd 100644
--- a/.github/workflows/e2e.event.yaml
+++ b/.github/workflows/e2e.event.yaml
@@ -17,10 +17,10 @@
 name: E2E
 
 on:
-  pull_request:
-    paths:
-      - '**'
-      - '!**.md'
+#  pull_request:
+#    paths:
+#      - '**'
+#      - '!**.md'
   schedule:
     - cron: '0 18 * * *'
 
diff --git a/.github/workflows/e2e.go.yaml b/.github/workflows/e2e.go.yaml
index 5fe93c4..917586a 100644
--- a/.github/workflows/e2e.go.yaml
+++ b/.github/workflows/e2e.go.yaml
@@ -17,10 +17,10 @@
 name: E2E
 
 on:
-  pull_request:
-    paths:
-      - '**'
-      - '!**.md'
+#  pull_request:
+#    paths:
+#      - '**'
+#      - '!**.md'
   schedule:
     - cron: '0 18 * * *'
 
diff --git a/.github/workflows/e2e.istio.yaml b/.github/workflows/e2e.istio.yaml
index bd72a5d..5c85c9e 100644
--- a/.github/workflows/e2e.istio.yaml
+++ b/.github/workflows/e2e.istio.yaml
@@ -17,10 +17,10 @@
 name: Istio
 
 on:
-  pull_request:
-    paths:
-      - '**'
-      - '!**.md'
+#  pull_request:
+#    paths:
+#      - '**'
+#      - '!**.md'
   schedule:
     - cron: '0 18 * * *'
 
diff --git a/.github/workflows/e2e.jdk-versions.yaml b/.github/workflows/e2e.jdk-versions.yaml
index 383d36f..740237d 100644
--- a/.github/workflows/e2e.jdk-versions.yaml
+++ b/.github/workflows/e2e.jdk-versions.yaml
@@ -37,18 +37,24 @@ jobs:
       - uses: actions/checkout@v2
         with:
           submodules: true
-      - name: Cache local Maven repository
+          depth: 0
+      - name: Set Skip Env Var
+        uses: ./.github/actions/skip
+      - if: env.SKIP_CI != 'true'
+        name: Cache local Maven repository
         uses: actions/cache@v2
         with:
           path: ~/.m2/repository
           key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
           restore-keys: |
             ${{ runner.os }}-maven-
-      - name: Set Up Java
+      - if: env.SKIP_CI != 'true'
+        name: Set Up Java
         uses: actions/setup-java@v1
         with:
           java-version: ${{ matrix.jdk }}
-      - name: Run E2E Test
+      - if: env.SKIP_CI != 'true'
+        name: Run E2E Test
         uses: ./.github/actions/e2e-test
         with:
           test_class: org.apache.skywalking.e2e.simple.SimpleE2E
@@ -63,5 +69,6 @@ jobs:
     timeout-minutes: 90
     needs: [JavaVersions]
     steps:
-      - name: Singles Bar
+      - if: env.SKIP_CI != 'true'
+        name: Singles Bar
         run: echo "Singles Bar - Miyuki Nakajima"
diff --git a/.github/workflows/e2e.js.yaml b/.github/workflows/e2e.js.yaml
index f5c9776..8fe719c 100644
--- a/.github/workflows/e2e.js.yaml
+++ b/.github/workflows/e2e.js.yaml
@@ -17,10 +17,10 @@
 name: E2E
 
 on:
-  pull_request:
-    paths:
-      - '**'
-      - '!**.md'
+#  pull_request:
+#    paths:
+#      - '**'
+#      - '!**.md'
   schedule:
     - cron: '0 18 * * *'
 
diff --git a/.github/workflows/e2e.kafka.yaml b/.github/workflows/e2e.kafka.yaml
index 0cf63b6..fdd5214 100644
--- a/.github/workflows/e2e.kafka.yaml
+++ b/.github/workflows/e2e.kafka.yaml
@@ -17,10 +17,10 @@
 name: E2E
 
 on:
-  pull_request:
-    paths:
-      - '**'
-      - '!**.md'
+#  pull_request:
+#    paths:
+#      - '**'
+#      - '!**.md'
   schedule:
     - cron: '0 18 * * *'
 
diff --git a/.github/workflows/e2e.log.yaml b/.github/workflows/e2e.log.yaml
index 0f59108..34cb5bc 100644
--- a/.github/workflows/e2e.log.yaml
+++ b/.github/workflows/e2e.log.yaml
@@ -17,10 +17,10 @@
 name: E2E
 
 on:
-  pull_request:
-    paths:
-      - '**'
-      - '!**.md'
+#  pull_request:
+#    paths:
+#      - '**'
+#      - '!**.md'
   schedule:
     - cron: '0 18 * * *'
 
diff --git a/.github/workflows/e2e.nodejs.yaml b/.github/workflows/e2e.nodejs.yaml
index 371c5df..27b68d6 100644
--- a/.github/workflows/e2e.nodejs.yaml
+++ b/.github/workflows/e2e.nodejs.yaml
@@ -17,10 +17,10 @@
 name: E2E
 
 on:
-  pull_request:
-    paths:
-      - '**'
-      - '!**.md'
+#  pull_request:
+#    paths:
+#      - '**'
+#      - '!**.md'
   schedule:
     - cron: '0 18 * * *'
 
diff --git a/.github/workflows/e2e.php.yaml b/.github/workflows/e2e.php.yaml
index d5af9cb..4c98af9 100644
--- a/.github/workflows/e2e.php.yaml
+++ b/.github/workflows/e2e.php.yaml
@@ -17,10 +17,10 @@
 name: E2E
 
 on:
-  pull_request:
-    paths:
-      - '**'
-      - '!**.md'
+#  pull_request:
+#    paths:
+#      - '**'
+#      - '!**.md'
   schedule:
     - cron: '0 18 * * *'
 
diff --git a/.github/workflows/e2e.profiling.yaml b/.github/workflows/e2e.profiling.yaml
index 2c0ad77..0f9ebaa 100644
--- a/.github/workflows/e2e.profiling.yaml
+++ b/.github/workflows/e2e.profiling.yaml
@@ -17,10 +17,10 @@
 name: E2E
 
 on:
-  pull_request:
-    paths:
-      - '**'
-      - '!**.md'
+#  pull_request:
+#    paths:
+#      - '**'
+#      - '!**.md'
   schedule:
     - cron: '0 18 * * *'
 
diff --git a/.github/workflows/e2e.python.yaml b/.github/workflows/e2e.python.yaml
index 909d4cc..5fac463 100644
--- a/.github/workflows/e2e.python.yaml
+++ b/.github/workflows/e2e.python.yaml
@@ -17,10 +17,10 @@
 name: E2E
 
 on:
-  pull_request:
-    paths:
-      - '**'
-      - '!**.md'
+#  pull_request:
+#    paths:
+#      - '**'
+#      - '!**.md'
   schedule:
     - cron: '0 18 * * *'
 
diff --git a/.github/workflows/e2e.so11y.yaml b/.github/workflows/e2e.so11y.yaml
index 03bbacd..b80b3e5 100644
--- a/.github/workflows/e2e.so11y.yaml
+++ b/.github/workflows/e2e.so11y.yaml
@@ -17,10 +17,10 @@
 name: E2E
 
 on:
-  pull_request:
-    paths:
-      - '**'
-      - '!**.md'
+#  pull_request:
+#    paths:
+#      - '**'
+#      - '!**.md'
   schedule:
     - cron: '0 18 * * *'
 
diff --git a/.github/workflows/e2e.storages.yaml b/.github/workflows/e2e.storages.yaml
index 791a6d1..82ee3ef 100644
--- a/.github/workflows/e2e.storages.yaml
+++ b/.github/workflows/e2e.storages.yaml
@@ -17,7 +17,7 @@
 name: E2E
 
 on:
-  pull_request:
+#  pull_request:
   schedule:
     - cron: '0 18 * * *'
 
diff --git a/.github/workflows/e2e.ttl.yaml b/.github/workflows/e2e.ttl.yaml
index 495588f..3afb96a 100644
--- a/.github/workflows/e2e.ttl.yaml
+++ b/.github/workflows/e2e.ttl.yaml
@@ -17,10 +17,10 @@
 name: E2E
 
 on:
-  pull_request:
-    paths:
-      - '**'
-      - '!**.md'
+#  pull_request:
+#    paths:
+#      - '**'
+#      - '!**.md'
   schedule:
     - cron: '0 18 * * *'
 
diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml
index 0f91cf2..7154c28 100644
--- a/.github/workflows/e2e.yaml
+++ b/.github/workflows/e2e.yaml
@@ -17,11 +17,11 @@
 name: E2E
 
 on:
-  pull_request:
-    # Do not run this workflow when and only when `*.md` files are modified
-    paths:
-      - '**'
-      - '!**.md'
+#  pull_request:
+#    # Do not run this workflow when and only when `*.md` files are modified
+#    paths:
+#      - '**'
+#      - '!**.md'
   schedule:
     - cron: '0 18 * * *'
 
diff --git a/.github/workflows/plugins-jdk14-test.0.yaml b/.github/workflows/plugins-jdk14-test.0.yaml
index 735fc7d..1606f84 100644
--- a/.github/workflows/plugins-jdk14-test.0.yaml
+++ b/.github/workflows/plugins-jdk14-test.0.yaml
@@ -17,22 +17,25 @@
 name: PluginsJDK14Test
 
 on:
-  pull_request:
-    paths:
-      - '.github/workflows/plugins-*.yaml'
-      - 'apm-application-toolkit/**'
-      - 'apm-commons/**'
-      - 'apm-protocol/**'
-      - 'apm-sniffer/**'
-      - 'test/plugin/**'
-      - '**/pom.xml'
-      - '!test/e2e/**'
-      - '!apm-webapp/**'
-      - '!apm-dist/**'
-      - '!apm-dist-es7/**'
-      - '!apm-docker/**'
-      - '!oap-server/**'
-      - '!**.md'
+  push:
+    branches:
+      - master
+#  pull_request:
+#    paths:
+#      - '.github/workflows/plugins-*.yaml'
+#      - 'apm-application-toolkit/**'
+#      - 'apm-commons/**'
+#      - 'apm-protocol/**'
+#      - 'apm-sniffer/**'
+#      - 'test/plugin/**'
+#      - '**/pom.xml'
+#      - '!test/e2e/**'
+#      - '!apm-webapp/**'
+#      - '!apm-dist/**'
+#      - '!apm-dist-es7/**'
+#      - '!apm-docker/**'
+#      - '!oap-server/**'
+#      - '!**.md'
 
 jobs:
   PluginsJDK14Test:
diff --git a/.github/workflows/plugins-test.0.yaml b/.github/workflows/plugins-test.0.yaml
index b627277..3403028 100644
--- a/.github/workflows/plugins-test.0.yaml
+++ b/.github/workflows/plugins-test.0.yaml
@@ -17,22 +17,25 @@
 name: PluginsTest
 
 on:
-  pull_request:
-    paths:
-      - '.github/workflows/plugins-*.yaml'
-      - 'apm-application-toolkit/**'
-      - 'apm-commons/**'
-      - 'apm-protocol/**'
-      - 'apm-sniffer/**'
-      - 'test/plugin/**'
-      - '**/pom.xml'
-      - '!test/e2e/**'
-      - '!apm-webapp/**'
-      - '!apm-dist/**'
-      - '!apm-dist-es7/**'
-      - '!apm-docker/**'
-      - '!oap-server/**'
-      - '!**.md'
+  push:
+    branches:
+      - master
+#  pull_request:
+#    paths:
+#      - '.github/workflows/plugins-*.yaml'
+#      - 'apm-application-toolkit/**'
+#      - 'apm-commons/**'
+#      - 'apm-protocol/**'
+#      - 'apm-sniffer/**'
+#      - 'test/plugin/**'
+#      - '**/pom.xml'
+#      - '!test/e2e/**'
+#      - '!apm-webapp/**'
+#      - '!apm-dist/**'
+#      - '!apm-dist-es7/**'
+#      - '!apm-docker/**'
+#      - '!oap-server/**'
+#      - '!**.md'
 
 jobs:
   PluginsTest:
diff --git a/.github/workflows/plugins-test.1.yaml b/.github/workflows/plugins-test.1.yaml
index f888d10..813abd9 100644
--- a/.github/workflows/plugins-test.1.yaml
+++ b/.github/workflows/plugins-test.1.yaml
@@ -17,22 +17,25 @@
 name: PluginsTest
 
 on:
-  pull_request:
-    paths:
-      - '.github/workflows/plugins-*.yaml'
-      - 'apm-application-toolkit/**'
-      - 'apm-commons/**'
-      - 'apm-protocol/**'
-      - 'apm-sniffer/**'
-      - 'test/plugin/**'
-      - '**/pom.xml'
-      - '!test/e2e/**'
-      - '!apm-webapp/**'
-      - '!apm-dist/**'
-      - '!apm-dist-es7/**'
-      - '!apm-docker/**'
-      - '!oap-server/**'
-      - '!**.md'
+  push:
+    branches:
+      - master
+#  pull_request:
+#    paths:
+#      - '.github/workflows/plugins-*.yaml'
+#      - 'apm-application-toolkit/**'
+#      - 'apm-commons/**'
+#      - 'apm-protocol/**'
+#      - 'apm-sniffer/**'
+#      - 'test/plugin/**'
+#      - '**/pom.xml'
+#      - '!test/e2e/**'
+#      - '!apm-webapp/**'
+#      - '!apm-dist/**'
+#      - '!apm-dist-es7/**'
+#      - '!apm-docker/**'
+#      - '!oap-server/**'
+#      - '!**.md'
 
 jobs:
   PluginsTest:
diff --git a/.github/workflows/plugins-test.2.yaml b/.github/workflows/plugins-test.2.yaml
index 31fb1ae..2c0289c 100644
--- a/.github/workflows/plugins-test.2.yaml
+++ b/.github/workflows/plugins-test.2.yaml
@@ -17,22 +17,25 @@
 name: PluginsTest
 
 on:
-  pull_request:
-    paths:
-      - '.github/workflows/plugins-*.yaml'
-      - 'apm-application-toolkit/**'
-      - 'apm-commons/**'
-      - 'apm-protocol/**'
-      - 'apm-sniffer/**'
-      - 'test/plugin/**'
-      - '**/pom.xml'
-      - '!test/e2e/**'
-      - '!apm-webapp/**'
-      - '!apm-dist/**'
-      - '!apm-dist-es7/**'
-      - '!apm-docker/**'
-      - '!oap-server/**'
-      - '!**.md'
+  push:
+    branches:
+      - master
+#  pull_request:
+#    paths:
+#      - '.github/workflows/plugins-*.yaml'
+#      - 'apm-application-toolkit/**'
+#      - 'apm-commons/**'
+#      - 'apm-protocol/**'
+#      - 'apm-sniffer/**'
+#      - 'test/plugin/**'
+#      - '**/pom.xml'
+#      - '!test/e2e/**'
+#      - '!apm-webapp/**'
+#      - '!apm-dist/**'
+#      - '!apm-dist-es7/**'
+#      - '!apm-docker/**'
+#      - '!oap-server/**'
+#      - '!**.md'
 
 jobs:
   PluginsTest:
diff --git a/.github/workflows/plugins-test.3.yaml b/.github/workflows/plugins-test.3.yaml
index 68be94e..f06a1ba 100644
--- a/.github/workflows/plugins-test.3.yaml
+++ b/.github/workflows/plugins-test.3.yaml
@@ -17,22 +17,25 @@
 name: PluginsTest
 
 on:
-  pull_request:
-    paths:
-      - '.github/workflows/plugins-*.yaml'
-      - 'apm-application-toolkit/**'
-      - 'apm-commons/**'
-      - 'apm-protocol/**'
-      - 'apm-sniffer/**'
-      - 'test/plugin/**'
-      - '**/pom.xml'
-      - '!test/e2e/**'
-      - '!apm-webapp/**'
-      - '!apm-dist/**'
-      - '!apm-dist-es7/**'
-      - '!apm-docker/**'
-      - '!oap-server/**'
-      - '!**.md'
+  push:
+    branches:
+      - master
+#  pull_request:
+#    paths:
+#      - '.github/workflows/plugins-*.yaml'
+#      - 'apm-application-toolkit/**'
+#      - 'apm-commons/**'
+#      - 'apm-protocol/**'
+#      - 'apm-sniffer/**'
+#      - 'test/plugin/**'
+#      - '**/pom.xml'
+#      - '!test/e2e/**'
+#      - '!apm-webapp/**'
+#      - '!apm-dist/**'
+#      - '!apm-dist-es7/**'
+#      - '!apm-docker/**'
+#      - '!oap-server/**'
+#      - '!**.md'
 
 jobs:
   PluginsTest: