Skip to content

Commit 471b78e

Browse files
authored
Merge pull request #90 from PierreGode/PierreGode-patch-5
Update review.yml
2 parents 8278a42 + c76ee33 commit 471b78e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/review.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ jobs:
5656
diff_url = event['pull_request']['url'] + "/files"
5757
pr_files = requests.get(diff_url, headers=headers).json()
5858
59-
diff_text = ""
6059
inline_comments = [] # Collect inline comments to post
60+
diff_text = ""
6161
6262
for fdata in pr_files:
6363
filename = fdata['filename']
@@ -107,7 +107,7 @@ jobs:
107107
headers={'Authorization': f'token {token}', 'Accept': 'application/vnd.github.v3+json'},
108108
json=review_data)
109109
review_response.raise_for_status()
110-
print("Review comments posted successfully.")
110+
print("Inline review comments posted successfully.")
111111
else:
112112
print("No critical issues found in the code.")
113113

0 commit comments

Comments
 (0)