You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@helix.apache.org by ji...@apache.org on 2021/04/21 17:22:34 UTC

[helix] branch master updated: Keep the PR CI and merge to master CI separate so the corresponding badge is accurate.

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

jiajunwang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/helix.git


The following commit(s) were added to refs/heads/master by this push:
     new c22b312  Keep the PR CI and merge to master CI separate so the corresponding badge is accurate.
c22b312 is described below

commit c22b312d96cd648276d890bcdadbe524ea05e23a
Author: Jiajun Wang <jj...@linkedin.com>
AuthorDate: Wed Apr 21 10:20:18 2021 -0700

    Keep the PR CI and merge to master CI separate so the corresponding badge is accurate.
---
 .github/workflows/Helix-CI.yml                      |  2 --
 .github/workflows/{Helix-CI.yml => Helix-PR-CI.yml} | 11 ++---------
 2 files changed, 2 insertions(+), 11 deletions(-)

diff --git a/.github/workflows/Helix-CI.yml b/.github/workflows/Helix-CI.yml
index 873bff7..ee834c4 100644
--- a/.github/workflows/Helix-CI.yml
+++ b/.github/workflows/Helix-CI.yml
@@ -1,7 +1,5 @@
 name: Helix CI
 on:
-  pull_request:
-    branches: [ master ]
   push:
     branches: [ master ]
   schedule:
diff --git a/.github/workflows/Helix-CI.yml b/.github/workflows/Helix-PR-CI.yml
similarity index 61%
copy from .github/workflows/Helix-CI.yml
copy to .github/workflows/Helix-PR-CI.yml
index 873bff7..7409acd 100644
--- a/.github/workflows/Helix-CI.yml
+++ b/.github/workflows/Helix-PR-CI.yml
@@ -1,14 +1,10 @@
-name: Helix CI
+name: Helix PR CI
 on:
   pull_request:
     branches: [ master ]
-  push:
-    branches: [ master ]
-  schedule:
-    - cron: '0 */12 * * *'
 
 jobs:
-  Merge_PR_CI:
+  PR_CI:
 
     runs-on: ubuntu-latest
 
@@ -22,6 +18,3 @@ jobs:
       run: mvn clean install -Dmaven.test.skip.exec=true
     - name: Run All Tests
       run: mvn -q test
-    - name: Upload to Codecov
-      if: ${{ github.event_name == 'push' }}
-      run: bash <(curl -s https://codecov.io/bash)