diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bd896a1d..b37402c3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,9 +5,14 @@ on: - 'master' - 'develop' pull_request: + types: [edited, ready_for_review, opened, synchronize, reopened] jobs: Unit_testing: + if: | + github.event.pull_request.draft == false && + !startsWith(github.event.pull_request.title, '[WIP]') && + !startsWith(github.event.pull_request.title, '[Dependent]') runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -75,6 +80,10 @@ jobs: ${{ github.workspace }}/lcov.info E2E_testing: + if: | + github.event.pull_request.draft == false && + !startsWith(github.event.pull_request.title, '[WIP]') && + !startsWith(github.event.pull_request.title, '[Dependent]') runs-on: ubuntu-latest strategy: fail-fast: false