Skip to content

Commit 29d52f7

Browse files
committed
I think this is the correct syntax for not running on draft pr...
1 parent a1be118 commit 29d52f7

File tree

6 files changed

+6
-0
lines changed

6 files changed

+6
-0
lines changed

.github/workflows/copyright-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
jobs:
1313

1414
build-and-test:
15+
if: github.event.pull_request.draft == false
1516
name: Copyright
1617
runs-on: ubuntu-latest
1718

.github/workflows/coverage-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
jobs:
1313

1414
build-and-test:
15+
if: github.event.pull_request.draft == false
1516
name: Coverage
1617
runs-on: ubuntu-latest
1718

.github/workflows/docs-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
jobs:
1313

1414
build-and-test:
15+
if: github.event.pull_request.draft == false
1516
name: Docs
1617
runs-on: ubuntu-latest
1718

.github/workflows/style-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
jobs:
1313

1414
build-and-test:
15+
if: github.event.pull_request.draft == false
1516
name: Style
1617
runs-on: ubuntu-latest
1718

.github/workflows/unit-test-os-coverage.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
jobs:
1313

1414
build-and-test:
15+
if: github.event.pull_request.draft == false
1516
name: OS unit tests
1617
runs-on: ${{ matrix.os }}
1718

.github/workflows/unit-test-python-coverage.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
jobs:
1313

1414
build-and-test:
15+
if: github.event.pull_request.draft == false
1516
name: Python unit tests
1617
runs-on: ubuntu-latest
1718

0 commit comments

Comments
 (0)