Skip to content

Commit ba1abe3

Browse files
committed
fix: add same-repo guard for label-triggered code-review
1 parent b9b8d1d commit ba1abe3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/claude-code-review.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ jobs:
2727
) ||
2828
(
2929
github.event_name == 'pull_request' &&
30-
contains(join(github.event.pull_request.labels.*.name, ','), 'claude-review')
30+
contains(join(github.event.pull_request.labels.*.name, ','), 'claude-review') &&
31+
github.event.pull_request.head.repo.full_name == github.repository
3132
)
3233
runs-on: ubuntu-latest
3334
timeout-minutes: 15

0 commit comments

Comments
 (0)