chore(trading,governance,explorer): prevent jobs if PR is in draft (#4827)

This commit is contained in:
Matthew Russell 2023-09-20 11:13:43 -07:00 committed by GitHub
parent 290b7ae856
commit 0b1987d4ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,6 +14,8 @@ on:
- synchronize
jobs:
node-modules:
# All jobs depend on node_modules, so none should run if the PR is in draft
if: github.event.pull_request.draft == false
runs-on: ubuntu-22.04
name: 'Cache yarn modules'
steps: