ci(pr-build): don't trigger workflow for draft PRs (#215)

* ci(pr-build): dont't trigger workflow for draft PRs

* trigger build
This commit is contained in:
Kevin Yu 2023-07-14 11:43:56 +08:00 committed by GitHub
parent bede3e4c92
commit f5fce5cba7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,6 +26,7 @@ on:
jobs:
pre-actions:
if: ${{ github.event.pull_request.draft == false }}
uses: daeuniverse/ci-seed-jobs/.github/workflows/pre-actions.yml@master
with:
repository: ${{ github.repository }}
@ -34,6 +35,7 @@ jobs:
secrets: inherit
build:
if: ${{ github.event.pull_request.draft == false }}
uses: daeuniverse/dae/.github/workflows/seed-build.yml@main
with:
ref: ${{ github.event.pull_request.head.sha }}