ci(workflow): only trigger PR CI on non-draft PRs (#10338)

ci(workflow): only trigger PR CI on non-draft PRs and specific events

Add trigger conditions for PR CI workflow to run on non-draft PRs and specific event types
This commit is contained in:
Phantom 2025-09-25 13:28:51 +08:00 committed by GitHub
parent 0a149e3d9e
commit 2ed99c0cb8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,12 +10,14 @@ on:
- main
- develop
- v2
types: [ready_for_review, synchronize, opened]
jobs:
build:
runs-on: ubuntu-latest
env:
PRCI: true
if: github.event.pull_request.draft == false
steps:
- name: Check out Git repository