diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 4f9b1d2420..a5bae56e5f 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -1,5 +1,6 @@ on: pull_request: + types: [opened, synchronize, reopened, ready_for_review] push: branches: - "main" @@ -12,6 +13,7 @@ env: jobs: grcov: + if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index c47d7b9cdc..6e577ab890 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -1,4 +1,6 @@ -on: [pull_request] +on: + pull_request: + types: [opened, synchronize, reopened, ready_for_review] name: Continuous integration for developing @@ -8,6 +10,7 @@ env: jobs: check: name: Check + if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -24,6 +27,7 @@ jobs: test: name: Test Suite + if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -45,6 +49,7 @@ jobs: fmt: name: Rustfmt + if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -62,6 +67,7 @@ jobs: clippy: name: Clippy + if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: - uses: actions/checkout@v2