mirror of
https://github.com/tree-sitter/tree-sitter.git
synced 2026-09-15 18:06:20 -04:00
cicd: don't start release on draft PRs
This commit is contained in:
parent
1f42f1efc0
commit
e783d8848d
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…
Reference in a new issue