Skip to content

Commit 6e45dda

Browse files
committed
fix: Modify code-review.yml
1 parent d05eea0 commit 6e45dda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/code-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110
print(f"Review comment: {review_comment}")
111111
112112
# 변경된 파일과 라인에 리뷰 코멘트를 추가
113-
commit_id = file.get('sha') # 파일의 sha 값을 사용
113+
commit_id = "${{ github.event.pull_request.head.sha }}"
114114
line_number = file.get('patch').split('\n').index(next(line for line in file['patch'].split('\n') if line.startswith('+'))) + 1
115115
comment_body = {
116116
"body": review_comment,

0 commit comments

Comments
 (0)