Commit graph

3 commits

Author SHA1 Message Date
Test User
a024830127 fix(ci): use pull_request_target for fork PR reviews
Switch both review workflows from pull_request to pull_request_target
so they run with base repo permissions and can access secrets when
reviewing fork PRs.

Changes:
- claude-code-review.yml: pull_request → pull_request_target
- opencode-review.yml: pull_request → pull_request_target
- Both now explicitly checkout PR head commit for review
- Added security comments explaining the approach

This allows the workflows to run successfully after maintainer approval
for external contributor PRs.
2026-01-30 08:09:49 -07:00
Frank Bria
0bd260df68
ci(workflow): add concurrency blocks to prevent duplicate runs (#135)
Add concurrency control to all review workflows:
- opencode-review.yml: Cancel in-progress for same PR
- claude-code-review.yml: Cancel in-progress for same PR
- claude.yml: Cancel in-progress for same issue/PR

This prevents duplicate reviews when PRs are updated rapidly
or multiple comments are posted in quick succession.

Co-authored-by: Test User <test@example.com>
2026-01-28 10:22:45 -07:00
Frank Bria
0d30de4a80
Add Claude Code Review workflow 2026-01-08 20:28:42 -07:00