Browse Source

Run tests on draft PRs (#1065)

* Run tests on draft PRs

* Run feature tests, lint and audit on draft PRs

* Don't rerun on marking ready_for_review
pull/1066/head
kosiakkatrina 2 years ago committed by GitHub
parent
commit
9473ebfbc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      .github/workflows/staging_pipeline.yml

5
.github/workflows/staging_pipeline.yml

@ -7,7 +7,6 @@ on:
pull_request:
types:
- opened
- ready_for_review
- synchronize
workflow_dispatch:
@ -18,7 +17,6 @@ defaults:
jobs:
test:
name: Tests
if: '!github.event.pull_request.draft'
runs-on: ubuntu-latest
services:
@ -77,7 +75,6 @@ jobs:
feature_test:
name: Feature Tests
if: '!github.event.pull_request.draft'
runs-on: ubuntu-latest
services:
@ -136,7 +133,6 @@ jobs:
lint:
name: Lint
if: '!github.event.pull_request.draft'
runs-on: ubuntu-latest
steps:
@ -164,7 +160,6 @@ jobs:
audit:
name: Audit dependencies
if: '!github.event.pull_request.draft'
runs-on: ubuntu-latest
steps:

Loading…
Cancel
Save