Commit graph

4 commits

Author SHA1 Message Date
Test User
b4042da156 fix(ci): revert opencode-review to pull_request trigger
The OpenCode action doesn't support pull_request_target event.
Revert to pull_request so it works for repo branch PRs.
Fork PRs will be reviewed by claude-code-review.yml instead.
2026-01-30 13:00:55 -07:00
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
Test User
509a9699a8 fix(workflow) Patch opencode bug in GitHub Actions timeout 2026-01-13 19:44:08 -07:00