cicd: separate sanitize workflow + manual trigger for build workflow
This commit is contained in:
parent
978a2db239
commit
bb122d6d47
3 changed files with 47 additions and 32 deletions
7
.github/workflows/CICD.yml
vendored
7
.github/workflows/CICD.yml
vendored
|
|
@ -46,6 +46,11 @@ jobs:
|
|||
with:
|
||||
package: tree-sitter-cli
|
||||
|
||||
sanitize:
|
||||
name: Sanitize
|
||||
needs: [init, fast_checks]
|
||||
uses: ./.github/workflows/sanitize.yml
|
||||
|
||||
build:
|
||||
name: Build & Test
|
||||
needs: [init, fast_checks]
|
||||
|
|
@ -55,7 +60,7 @@ jobs:
|
|||
|
||||
release:
|
||||
name: Release
|
||||
needs: [init, fast_checks, full_checks, min_version, build]
|
||||
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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue