cicd: don't start release on draft PRs
This commit is contained in:
parent
1f42f1efc0
commit
e783d8848d
1 changed files with 2 additions and 1 deletions
3
.github/workflows/CICD.yml
vendored
3
.github/workflows/CICD.yml
vendored
|
|
@ -68,7 +68,8 @@ jobs:
|
|||
needs: [init, fast_checks, full_checks, min_version, build, sanitize]
|
||||
if: >
|
||||
github.event.pull_request.head.repo.full_name == github.repository &&
|
||||
startsWith(github.head_ref, 'release/v')
|
||||
startsWith(github.head_ref, 'release/v') &&
|
||||
!github.event.pull_request.draft
|
||||
uses: ./.github/workflows/release.yml
|
||||
with:
|
||||
ref: ${{ needs.init.outputs.ref }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue