From 94fd51c2637e7d7c5544a9009d439c248323696d Mon Sep 17 00:00:00 2001 From: Ruihang Xia Date: Sun, 18 Feb 2024 21:14:57 +0800 Subject: [PATCH] ci: run CI jobs in draft PR (#3314) Signed-off-by: Ruihang Xia Co-authored-by: tison --- .github/workflows/develop.yml | 7 ------- .github/workflows/docs.yml | 5 ----- 2 files changed, 12 deletions(-) diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index e819b6b54a..a81ae47940 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -42,7 +42,6 @@ jobs: check: name: Check - if: github.event.pull_request.draft == false runs-on: ${{ matrix.os }} strategy: matrix: @@ -67,7 +66,6 @@ jobs: toml: name: Toml Check - if: github.event.pull_request.draft == false runs-on: ubuntu-20.04 timeout-minutes: 60 steps: @@ -87,7 +85,6 @@ jobs: build: name: Build GreptimeDB binaries - if: github.event.pull_request.draft == false runs-on: ${{ matrix.os }} strategy: matrix: @@ -122,7 +119,6 @@ jobs: sqlness: name: Sqlness Test - if: github.event.pull_request.draft == false needs: build runs-on: ${{ matrix.os }} strategy: @@ -151,7 +147,6 @@ jobs: sqlness-kafka-wal: name: Sqlness Test with Kafka Wal - if: github.event.pull_request.draft == false needs: build runs-on: ${{ matrix.os }} strategy: @@ -183,7 +178,6 @@ jobs: fmt: name: Rustfmt - if: github.event.pull_request.draft == false runs-on: ubuntu-20.04 timeout-minutes: 60 steps: @@ -205,7 +199,6 @@ jobs: clippy: name: Clippy - if: github.event.pull_request.draft == false runs-on: ubuntu-20.04 timeout-minutes: 60 steps: diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index c0b5f9a69c..cc059cc287 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -38,34 +38,29 @@ jobs: check: name: Check - if: github.event.pull_request.draft == false runs-on: ubuntu-20.04 steps: - run: 'echo "No action required"' fmt: name: Rustfmt - if: github.event.pull_request.draft == false runs-on: ubuntu-20.04 steps: - run: 'echo "No action required"' clippy: name: Clippy - if: github.event.pull_request.draft == false runs-on: ubuntu-20.04 steps: - run: 'echo "No action required"' coverage: - if: github.event.pull_request.draft == false runs-on: ubuntu-20.04 steps: - run: 'echo "No action required"' sqlness: name: Sqlness Test - if: github.event.pull_request.draft == false runs-on: ubuntu-20.04 steps: - run: 'echo "No action required"'