Commit 027854e
fix: extend PR branch setup to all PR event types in claude review
The Setup PR Branch workaround only ran for issue_comment events,
causing claude-code-action to fail with "couldn't find remote ref
pull/N/head" on pull_request_target and other PR events. Extend the
condition to cover all PR-related event types.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Quanyi Ma <eli@patch.sh>1 parent 800f1d6 commit 027854e
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
93 | 97 | | |
94 | | - | |
| 98 | + | |
95 | 99 | | |
96 | 100 | | |
97 | 101 | | |
| |||
0 commit comments