We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6692160 commit abbd406Copy full SHA for abbd406
main.py
@@ -118,19 +118,16 @@ def add_pr_comments() -> int:
118
119
# Fetch all existing comments on the PR
120
comments = pull_request.get_comments()
121
- print(f"List all comments:\n{comments}")
122
123
# Track if we found a matching comment
124
matching_comments = []
125
last_comment = None
126
127
for comment in comments:
128
- print(f"List comment:\n{comment.body}")
129
if comment.body.startswith(SUCCESS_TITLE) or comment.body.startswith(
130
FAILURE_TITLE
131
):
132
matching_comments.append(comment)
133
- print(f"List all matching_comments:\n{matching_comments}")
134
if matching_comments:
135
last_comment = matching_comments[-1]
136
0 commit comments