ci(workflows): fix claude code review ci to be triggered by pull_request (#9934)

* ci(workflows): 更新claude代码审查工作流以支持PR分支

添加ref参数以确保检出正确的PR分支

* ci: 移除claude代码审查工作流中的ref参数

* ci: 将工作流触发器从pull_request_target改为pull_request

* ci: 添加Claude代码审查测试工作流

* ci: 删除claude-review-test.yml工作流文件
This commit is contained in:
Phantom 2025-09-05 14:11:50 +08:00 committed by GitHub
parent a58b58cd95
commit ba99d83d17
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,9 +1,7 @@
name: Claude Code Review
on:
# Use pull_request_target so the workflow runs in the context of the base repository.
# This allows OIDC and the ability to comment on PRs from forks safely.
pull_request_target:
pull_request:
types: [opened, synchronize]
# Optional: Only run on specific file changes
# paths: