Skip to content

Commit

Permalink
feat(ci): avoid running CI if pull request is still working in progre…
Browse files Browse the repository at this point in the history
…ss (#615)


Signed-off-by: acezen <qiaozi.zwb@alibaba-inc.com>
  • Loading branch information
acezen authored Sep 4, 2024
1 parent aff205c commit a5c94a4
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -165,8 +166,6 @@ jobs:
./graph_info_benchmark
./arrow_chunk_reader_benchmark
- name: Use Static Arrow
working-directory: "cpp"
run: |
Expand All @@ -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:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/spark.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a5c94a4

Please sign in to comment.