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

Loading…
Cancel
Save