diff --git a/.github/workflows/flex-interactive.yml b/.github/workflows/flex-interactive.yml index 89a01c49fe0c..6acba60112ce 100644 --- a/.github/workflows/flex-interactive.yml +++ b/.github/workflows/flex-interactive.yml @@ -28,7 +28,7 @@ concurrency: jobs: api-test: runs-on: ubuntu-22.04 - if: ${{ github.repository == 'alibaba/GraphScope' }} + if: ${{ github.repository == 'alibaba/GraphScope' && !github.event.pull_request.draft && !contains(github.event.pull_request.title, 'WIP') }} steps: - name: Checkout code diff --git a/.github/workflows/gae.yml b/.github/workflows/gae.yml index da8ad6ee82a6..cb3e2a969f43 100644 --- a/.github/workflows/gae.yml +++ b/.github/workflows/gae.yml @@ -28,7 +28,7 @@ concurrency: jobs: build-gae: runs-on: ubuntu-20.04 - if: ${{ github.repository == 'alibaba/GraphScope' }} + if: ${{ github.repository == 'alibaba/GraphScope' && !github.event.pull_request.draft && !contains(github.event.pull_request.title, 'WIP') }} container: image: registry.cn-hongkong.aliyuncs.com/graphscope/graphscope-dev:v0.22.0 steps: diff --git a/.github/workflows/gaia.yml b/.github/workflows/gaia.yml index efc8477cc080..90ba5a54f20f 100644 --- a/.github/workflows/gaia.yml +++ b/.github/workflows/gaia.yml @@ -23,7 +23,7 @@ concurrency: jobs: gaia-test: runs-on: [self-hosted, manylinux2014] - if: ${{ github.repository == 'alibaba/GraphScope' }} + if: ${{ github.repository == 'alibaba/GraphScope' && !github.event.pull_request.draft && !contains(github.event.pull_request.title, 'WIP') }} steps: - uses: actions/checkout@v4 with: diff --git a/.github/workflows/gss.yml b/.github/workflows/gss.yml index 5d0d323bf6a5..aaf2e520f816 100644 --- a/.github/workflows/gss.yml +++ b/.github/workflows/gss.yml @@ -46,7 +46,7 @@ jobs: # can `ssh localhost` without password, which may need to # be configured manually when a new self-hosted runner is added. runs-on: [self-hosted, manylinux2014] - if: ${{ github.repository == 'alibaba/GraphScope' }} + if: ${{ github.repository == 'alibaba/GraphScope' && !github.event.pull_request.draft && !contains(github.event.pull_request.title, 'WIP') }} steps: - uses: actions/checkout@v4 @@ -101,7 +101,7 @@ jobs: helm-test: runs-on: [self-hosted, ubuntu2004] - if: ${{ github.repository == 'alibaba/GraphScope' }} + if: ${{ github.repository == 'alibaba/GraphScope' && !github.event.pull_request.draft && !contains(github.event.pull_request.title, 'WIP') }} needs: [gremlin-test] env: JAVA_HOME: /usr/lib/jvm/default-java diff --git a/.github/workflows/interactive.yml b/.github/workflows/interactive.yml index d47425ce925d..6b75cdb3ccbf 100644 --- a/.github/workflows/interactive.yml +++ b/.github/workflows/interactive.yml @@ -26,7 +26,7 @@ concurrency: jobs: test-hqps-engine: runs-on: ubuntu-20.04 - if: ${{ github.repository == 'alibaba/GraphScope' }} + if: ${{ github.repository == 'alibaba/GraphScope' && !github.event.pull_request.draft && !contains(github.event.pull_request.title, 'WIP') }} container: image: registry.cn-hongkong.aliyuncs.com/graphscope/graphscope-dev:v0.23.0 steps: @@ -372,7 +372,7 @@ jobs: test-build-flex: runs-on: ubuntu-22.04 - if: ${{ github.repository == 'alibaba/GraphScope' }} + if: ${{ github.repository == 'alibaba/GraphScope' && !github.event.pull_request.draft && !contains(github.event.pull_request.title, 'WIP') }} strategy: matrix: @@ -402,7 +402,7 @@ jobs: # test the different combination of cmake options: -DBUILD_TEST=ON/OFF, -DBUILD_ODPS_FRAGMENT_LOADER=ON/OFF test-cmake-options: runs-on: ubuntu-20.04 - if: ${{ github.repository == 'alibaba/GraphScope' }} + if: ${{ github.repository == 'alibaba/GraphScope' && !github.event.pull_request.draft && !contains(github.event.pull_request.title, 'WIP') }} container: image: registry.cn-hongkong.aliyuncs.com/graphscope/graphscope-dev:v0.23.0 strategy: @@ -423,7 +423,7 @@ jobs: test-AOCC-compilation: runs-on: ubuntu-20.04 - if: ${{ github.repository == 'alibaba/GraphScope' }} + if: ${{ github.repository == 'alibaba/GraphScope' && !github.event.pull_request.draft && !contains(github.event.pull_request.title, 'WIP') }} container: image: registry.cn-hongkong.aliyuncs.com/graphscope/graphscope-dev:v0.23.0 steps: @@ -452,7 +452,7 @@ jobs: test-flex: runs-on: ubuntu-20.04 - if: ${{ github.repository == 'alibaba/GraphScope' }} + if: ${{ github.repository == 'alibaba/GraphScope' && !github.event.pull_request.draft && !contains(github.event.pull_request.title, 'WIP') }} container: image: registry.cn-hongkong.aliyuncs.com/graphscope/graphscope-dev:v0.23.0 steps: diff --git a/.github/workflows/k8s-ci.yml b/.github/workflows/k8s-ci.yml index b9805782fb00..2d7e50df0f87 100644 --- a/.github/workflows/k8s-ci.yml +++ b/.github/workflows/k8s-ci.yml @@ -200,7 +200,7 @@ jobs: build-analytical: runs-on: [self-hosted, manylinux2014] needs: [changes] - if: ${{ github.repository == 'alibaba/GraphScope' }} + if: ${{ github.repository == 'alibaba/GraphScope' && !github.event.pull_request.draft && !contains(github.event.pull_request.title, 'WIP') }} steps: - uses: actions/checkout@v4 @@ -261,7 +261,7 @@ jobs: build-interactive: runs-on: [self-hosted, manylinux2014] needs: [changes] - if: ${{ github.repository == 'alibaba/GraphScope' }} + if: ${{ github.repository == 'alibaba/GraphScope' && !github.event.pull_request.draft && !contains(github.event.pull_request.title, 'WIP') }} steps: - uses: actions/checkout@v4 @@ -303,7 +303,7 @@ jobs: build-learning: runs-on: [self-hosted, manylinux2014] needs: [changes] - if: ${{ github.repository == 'alibaba/GraphScope' }} + if: ${{ github.repository == 'alibaba/GraphScope' && !github.event.pull_request.draft && !contains(github.event.pull_request.title, 'WIP') }} steps: - uses: actions/checkout@v4 with: @@ -350,7 +350,7 @@ jobs: k8s-test: runs-on: [self-hosted, ubuntu2004] - if: ${{ github.repository == 'alibaba/GraphScope' }} + if: ${{ github.repository == 'alibaba/GraphScope' && !github.event.pull_request.draft && !contains(github.event.pull_request.title, 'WIP') }} needs: [build-analytical, build-interactive, build-learning] steps: - uses: actions/checkout@v4 @@ -553,7 +553,7 @@ jobs: gie-test: runs-on: [self-hosted, ubuntu2004] needs: [build-analytical, build-interactive, build-learning] - if: ${{ needs.changes.outputs.gie-function-test == 'true' && github.repository == 'alibaba/GraphScope' }} + if: ${{ needs.changes.outputs.gie-function-test == 'true' && github.repository == 'alibaba/GraphScope' && !github.event.pull_request.draft && !contains(github.event.pull_request.title, 'WIP') }} steps: - uses: actions/checkout@v4 @@ -617,7 +617,7 @@ jobs: # Require the user id of the self-hosted is 1001, which may need to be # configured manually when a new self-hosted runner is added. runs-on: [self-hosted, manylinux2014] - if: ${{ github.repository == 'alibaba/GraphScope' }} + if: ${{ github.repository == 'alibaba/GraphScope' && !github.event.pull_request.draft && !contains(github.event.pull_request.title, 'WIP') }} steps: - uses: actions/checkout@v4 @@ -664,7 +664,7 @@ jobs: gie-k8s-failover-test: needs: [build-gie-experimental] runs-on: [self-hosted, ubuntu2004] - if: ${{ github.repository == 'alibaba/GraphScope' }} + if: ${{ github.repository == 'alibaba/GraphScope' && !github.event.pull_request.draft && !contains(github.event.pull_request.title, 'WIP') }} steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/local-ci.yml b/.github/workflows/local-ci.yml index 4c52ff2176ca..064ee24cc83b 100644 --- a/.github/workflows/local-ci.yml +++ b/.github/workflows/local-ci.yml @@ -45,7 +45,7 @@ jobs: # JOB to run change detection changes: runs-on: ubuntu-20.04 - if: ${{ github.repository == 'alibaba/GraphScope' }} + if: ${{ github.repository == 'alibaba/GraphScope' && !github.event.pull_request.draft && !contains(github.event.pull_request.title, 'WIP') }} # Set job outputs to values from filter step outputs: gae-python: ${{ steps.filter.outputs.gae-python }} @@ -206,7 +206,7 @@ jobs: # configured manually when a new self-hosted runner is added. runs-on: [self-hosted, ubuntu2004] needs: [changes] - if: ${{ github.repository == 'alibaba/GraphScope' }} + if: ${{ github.repository == 'alibaba/GraphScope' && !github.event.pull_request.draft && !contains(github.event.pull_request.title, 'WIP') }} steps: - uses: actions/checkout@v4 with: @@ -268,7 +268,7 @@ jobs: mini-test: runs-on: ubuntu-20.04 - if: ${{ github.repository == 'alibaba/GraphScope' }} + if: ${{ github.repository == 'alibaba/GraphScope' && !github.event.pull_request.draft && !contains(github.event.pull_request.title, 'WIP') }} needs: [build-wheels] steps: - uses: actions/checkout@v4 @@ -330,7 +330,7 @@ jobs: python-unittest: runs-on: ubuntu-20.04 needs: [build-wheels, changes] - if: ${{ github.repository == 'alibaba/GraphScope' }} + if: ${{ github.repository == 'alibaba/GraphScope' && !github.event.pull_request.draft && !contains(github.event.pull_request.title, 'WIP') }} defaults: run: shell: bash --noprofile --norc -eo pipefail {0} @@ -400,7 +400,7 @@ jobs: networkx-basic-test: runs-on: ubuntu-20.04 needs: [build-wheels, changes] - if: ${{ github.repository == 'alibaba/GraphScope' }} + if: ${{ github.repository == 'alibaba/GraphScope' && !github.event.pull_request.draft && !contains(github.event.pull_request.title, 'WIP') }} defaults: run: shell: bash @@ -492,7 +492,7 @@ jobs: networkx-algo-and-generator-test: runs-on: ubuntu-20.04 needs: [build-wheels, changes] - if: ${{ github.repository == 'alibaba/GraphScope' }} + if: ${{ github.repository == 'alibaba/GraphScope' && !github.event.pull_request.draft && !contains(github.event.pull_request.title, 'WIP') }} strategy: matrix: deployment: ["standalone", "distributed"] diff --git a/.github/workflows/pegasus.yml b/.github/workflows/pegasus.yml index 2c1c951ff8a6..f1a617b54ce4 100644 --- a/.github/workflows/pegasus.yml +++ b/.github/workflows/pegasus.yml @@ -22,7 +22,7 @@ env: jobs: pegasus-build: runs-on: ubuntu-20.04 - if: ${{ github.repository == 'alibaba/GraphScope' }} + if: ${{ github.repository == 'alibaba/GraphScope' && !github.event.pull_request.draft && !contains(github.event.pull_request.title, 'WIP') }} steps: - uses: actions/checkout@v4