Skip to content

Commit 866ee3c

Browse files
authored
Merge pull request #95 from jeremyeder/fix/claude-code-review-workflow
fix: Update Claude Code review workflow to checkout PR head
2 parents af61fef + 9d006d0 commit 866ee3c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,12 @@ jobs:
2525
issues: read
2626

2727
steps:
28-
- name: Checkout repository
28+
- name: Checkout PR head
2929
uses: actions/checkout@v4
3030
with:
31-
ref: refs/pull/${{ github.event.number }}/merge
31+
repository: ${{ github.event.pull_request.head.repo.full_name }}
32+
ref: ${{ github.event.pull_request.head.ref }}
33+
token: ${{ secrets.GITHUB_TOKEN }}
3234
persist-credentials: false
3335
fetch-depth: 1
3436

0 commit comments

Comments
 (0)