Skip to content

Commit f022d06

Browse files
authored
[Fix] Try to fix PR number in prompt (#1507)
1 parent 3d57b53 commit f022d06

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/claude.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
# Prompt A workaround for claude code action bug of `Fork` PR
3939
prompt: |
4040
REPO: ${{ github.repository }}
41-
PR NUMBER: ${{ github.event.pull_request.number }}
41+
PR NUMBER: ${{ github.event.pull_request.number || github.event.issue.number }}
4242
4343
Please review this pull request.
4444

0 commit comments

Comments
 (0)