diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index 3697aba9d..410360a53 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -8,8 +8,9 @@ jobs: claude-review: # Only run for PRs submitted by organization members or owners if: | - github.event.pull_request.author_association == 'MEMBER' || - github.event.pull_request.author_association == 'OWNER' + github.repository == 'netbox-community/netbox' && + (github.event.pull_request.author_association == 'MEMBER' || + github.event.pull_request.author_association == 'OWNER') runs-on: ubuntu-latest permissions: