mirror of
https://github.com/daeuniverse/dae.git
synced 2025-03-10 04:47:25 +07:00
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:
parent
bede3e4c92
commit
f5fce5cba7
2
.github/workflows/pr-build.yml
vendored
2
.github/workflows/pr-build.yml
vendored
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user