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

weibin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-graphar.git


The following commit(s) were added to refs/heads/main by this push:
     new a5c94a48 feat(ci): avoid running CI if pull request is still working 
in progress (#615)
a5c94a48 is described below

commit a5c94a483f0373a619dcec18df06cbd48c10c103
Author: Weibin Zeng <[email protected]>
AuthorDate: Wed Sep 4 09:52:22 2024 +0800

    feat(ci): avoid running CI if pull request is still working in progress 
(#615)
    
    
    Signed-off-by: acezen <[email protected]>
---
 .github/workflows/ci.yml     | 4 ++--
 .github/workflows/docs.yml   | 1 +
 .github/workflows/format.yml | 1 +
 .github/workflows/java.yml   | 1 +
 .github/workflows/spark.yaml | 1 +
 5 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index d53331d1..34ec752c 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -41,6 +41,7 @@ jobs:
   ubuntu:
     name: Ubuntu 22.04 C++
     runs-on: ubuntu-latest
+    if: ${{ !contains(github.event.pull_request.title, 'WIP') && 
!github.event.pull_request.draft }}
     env:
       GAR_TEST_DATA: ${{ github.workspace }}/graphar-testing/
     steps:
@@ -165,8 +166,6 @@ jobs:
         ./graph_info_benchmark
         ./arrow_chunk_reader_benchmark
 
-
-    
     - name: Use Static Arrow
       working-directory: "cpp"
       run: |
@@ -181,6 +180,7 @@ jobs:
   macos:
     name: ${{ matrix.architecture }} macOS ${{ matrix.macos-version }} C++
     runs-on: macos-${{ matrix.macos-version }}
+    if: ${{ !contains(github.event.pull_request.title, 'WIP') && 
github.event.pull_request.draft == false }}
     env:
       GAR_TEST_DATA: ${{ github.workspace }}/graphar-testing/
     strategy:
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 44639d93..e9e7921b 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -38,6 +38,7 @@ concurrency:
 jobs:
   build-website:
     runs-on: ubuntu-latest
+    if: ${{ !contains(github.event.pull_request.title, 'WIP') && 
github.event.pull_request.draft == false }}
     steps:
       - uses: actions/checkout@v4
         with:
diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml
index 87f66de3..4758cfa3 100644
--- a/.github/workflows/format.yml
+++ b/.github/workflows/format.yml
@@ -42,6 +42,7 @@ concurrency:
 jobs:
   generate:
     runs-on: ubuntu-latest
+    if: ${{ !contains(github.event.pull_request.title, 'WIP') && 
github.event.pull_request.draft == false }}
     steps:
       - uses: actions/checkout@v4
         with:
diff --git a/.github/workflows/java.yml b/.github/workflows/java.yml
index a9c32955..d20d8f0e 100644
--- a/.github/workflows/java.yml
+++ b/.github/workflows/java.yml
@@ -40,6 +40,7 @@ concurrency:
 jobs:
   test:
     runs-on: ubuntu-latest
+    if: ${{ !contains(github.event.pull_request.title, 'WIP') && 
github.event.pull_request.draft == false }}
     steps:
       - uses: actions/checkout@v4
         with:
diff --git a/.github/workflows/spark.yaml b/.github/workflows/spark.yaml
index 64bed07b..86b20145 100644
--- a/.github/workflows/spark.yaml
+++ b/.github/workflows/spark.yaml
@@ -40,6 +40,7 @@ concurrency:
 jobs:
   test:
     runs-on: ubuntu-20.04
+    if: ${{ !contains(github.event.pull_request.title, 'WIP') && 
github.event.pull_request.draft == false }}
     env:
       GAR_TEST_DATA: ${{ github.workspace }}/graphar-testing/
     strategy:


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to