Don't run gh actions on draft prs (#13706)
This commit is contained in:
6
.github/workflows/validate_mapfiles.yml
vendored
6
.github/workflows/validate_mapfiles.yml
vendored
@@ -1,8 +1,12 @@
|
||||
name: YAML schema validator
|
||||
on: [pull_request, push]
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
types: [ opened, reopened, synchronize, ready_for_review ]
|
||||
|
||||
jobs:
|
||||
yaml-schema-validation:
|
||||
if: github.actor != 'PJBot' && github.event.pull_request.draft == false
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
Reference in New Issue
Block a user