Skip to content

Commit

Permalink
first draft
Browse files Browse the repository at this point in the history
  • Loading branch information
mschwoer committed Aug 8, 2024
1 parent f3d27ce commit 238aa60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/code_review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
for filename, comments in review_comments.items():
for line, comment in comments:
print("XXX", line, comment)
pr.create_review_comment(body=comment, commit=pr.head.sha, path=filename, line=int(line))
pr.create_review_comment(body=comment, commit=${{github.event.head_commit}}, path=filename, line=int(line))
print('Code review completed and comments posted.')
except Exception as e:
Expand Down

0 comments on commit 238aa60

Please sign in to comment.