diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index ac0c2509..63a42399 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -6,6 +6,7 @@ on: - stable - 'pr/*' pull_request: + types: [opened, synchronize, reopened, ready_for_review] merge_group: concurrency: @@ -27,6 +28,14 @@ env: # Enable portable to prevent issues with caching `blst` for the wrong CPU type # TEST_FEATURES: portable jobs: + fail_if_pull_request_is_draft: + if: github.event.pull_request.draft == true + runs-on: ubuntu-latest + steps: + - name: Fail if pull request is a draft + run: exit 1 + + check-labels: runs-on: ubuntu-latest name: Check for 'skip-ci' label