mirror of
https://github.com/qingchencloud/clawpanel.git
synced 2026-05-29 04:10:00 +08:00
ci: trigger workflow on ready_for_review pull requests
Default pull_request types are [opened, synchronize, reopened] which excludes ready_for_review. Draft PRs (e.g. those auto-generated by Cursor Background Agent) thus skipped CI when converted to ready, requiring close+reopen workarounds. Explicit types list now ensures CI runs on draft -> ready transitions too.
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -7,6 +7,8 @@ on:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
# 默认 types 不含 ready_for_review,导致 draft → ready 转换不会触发 CI;显式列出确保所有人为状态变化都会跑 CI
|
||||
types: [opened, synchronize, reopened, ready_for_review]
|
||||
|
||||
# 同一分支的新提交会取消正在运行的旧工作流
|
||||
concurrency:
|
||||
|
||||
Reference in New Issue
Block a user