diff --git a/.github/workflows/flepicommon-ci.yml b/.github/workflows/flepicommon-ci.yml index 9f8abc089..6f9613fd7 100644 --- a/.github/workflows/flepicommon-ci.yml +++ b/.github/workflows/flepicommon-ci.yml @@ -16,6 +16,7 @@ on: jobs: tests: runs-on: ubuntu-latest + if: github.event_name != 'pull_request' || github.event.pull_request.draft == false strategy: matrix: R-version: ["4.3.3"] diff --git a/.github/workflows/gempyor-ci.yml b/.github/workflows/gempyor-ci.yml index e2637f1af..6ef20ce74 100644 --- a/.github/workflows/gempyor-ci.yml +++ b/.github/workflows/gempyor-ci.yml @@ -18,6 +18,7 @@ on: jobs: tests: runs-on: ubuntu-latest + if: github.event_name != 'pull_request' || github.event.pull_request.draft == false strategy: matrix: python-version: ["3.10", "3.11"] diff --git a/.github/workflows/inference-ci.yml b/.github/workflows/inference-ci.yml index d80a2e735..35e4d379e 100644 --- a/.github/workflows/inference-ci.yml +++ b/.github/workflows/inference-ci.yml @@ -20,7 +20,7 @@ on: jobs: tests: runs-on: ubuntu-latest - if: ${{ github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success' }} + if: (github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success') && (github.event_name != 'pull_request' || github.event.pull_request.draft == false) strategy: matrix: R-version: ["4.3.3"]