Merge pull request #416 from lfnovo/fix/claude-workflow-fork-prs

fix: allow claude code review workflow to run on PRs from forks
This commit is contained in:
Luis Novo 2026-01-13 18:48:56 -03:00 committed by GitHub
commit dfc7235064
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,6 +3,8 @@ name: Claude Code Review
on:
pull_request:
types: [opened, synchronize, ready_for_review, reopened]
pull_request_target:
types: [opened, synchronize, ready_for_review, reopened]
# Optional: Only run on specific file changes
# paths:
# - "src/**/*.ts"
@ -29,7 +31,9 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 1
persist-credentials: false
- name: Run Claude Code Review
id: claude-review