Skip to content

Commit 8b04d8e

Browse files
committed
fix: fix trigger
1 parent 1fe24c2 commit 8b04d8e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
uses: actions/checkout@v4
2626
with:
2727
fetch-depth: 1
28+
# For PR comments, checkout the PR branch
29+
ref: ${{ github.event.issue.pull_request && format('refs/pull/{0}/merge', github.event.issue.number) || github.ref }}
2830

2931
- name: Run Claude Code Review
3032
id: claude-review

.github/workflows/claude.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
uses: actions/checkout@v4
2525
with:
2626
fetch-depth: 1
27+
# For PR comments, checkout the PR branch
28+
ref: ${{ github.event.issue.pull_request && format('refs/pull/{0}/merge', github.event.issue.number) || github.ref }}
2729

2830
- name: Run Claude Code
2931
id: claude

0 commit comments

Comments
 (0)