Don't run gh actions on draft prs (#13706)
This commit is contained in:
3
.github/workflows/build-test-debug.yml
vendored
3
.github/workflows/build-test-debug.yml
vendored
@@ -14,6 +14,7 @@ on:
|
||||
- 'RobustToolbox'
|
||||
- 'RobustToolbox/**'
|
||||
pull_request:
|
||||
types: [ opened, reopened, synchronize, ready_for_review ]
|
||||
branches: [ master ]
|
||||
paths:
|
||||
- '**.cs'
|
||||
@@ -26,7 +27,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: github.actor != 'PJBot'
|
||||
if: github.actor != 'PJBot' && github.event.pull_request.draft == false
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest]
|
||||
|
||||
Reference in New Issue
Block a user