From f461ccc4bf6a661a1ef78f3e3d001ace13f21726 Mon Sep 17 00:00:00 2001 From: Cunliang Geng Date: Mon, 26 Jun 2023 13:43:44 +0200 Subject: [PATCH] add PR types to gh action --- .github/workflows/build.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2a164af2..65891196 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,12 +21,18 @@ on: - tests/** - setup.py - .github/workflows/build.yml + types: + - opened + - reopened + - synchronize + - ready_for_review jobs: smoke_test: name: Smoke test on ubuntu for python 3.10 runs-on: ubuntu-latest + if: github.event.pull_request.draft == false steps: - uses: actions/checkout@v3 - name: Set up Python 3.10