diff --git a/.github/workflows/review.yml b/.github/workflows/review.yml index e837ccb..fbcefc3 100644 --- a/.github/workflows/review.yml +++ b/.github/workflows/review.yml @@ -56,8 +56,8 @@ jobs: diff_url = event['pull_request']['url'] + "/files" pr_files = requests.get(diff_url, headers=headers).json() - diff_text = "" inline_comments = [] # Collect inline comments to post + diff_text = "" for fdata in pr_files: filename = fdata['filename'] @@ -107,7 +107,7 @@ jobs: headers={'Authorization': f'token {token}', 'Accept': 'application/vnd.github.v3+json'}, json=review_data) review_response.raise_for_status() - print("Review comments posted successfully.") + print("Inline review comments posted successfully.") else: print("No critical issues found in the code.")