Commit 7908ce4 1 parent 99a68c6 commit 7908ce4 Copy full SHA for 7908ce4
File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -568,16 +568,19 @@ def conversation_threads_to_close(
568
568
569
569
data = response .json ()
570
570
# a regex that matches the start of a single comment
571
- single_comment_marker = re .escape (single_comment_marker )
571
+ single_comment_marker_re = re .escape (single_comment_marker )
572
572
comment_matcher = re .compile (
573
- f"^{ single_comment_marker } .*{ single_comment_marker } .*" , re .DOTALL
573
+ f"^{ single_comment_marker_re } .*{ single_comment_marker_re } .*" , re .DOTALL
574
574
)
575
575
576
576
# Iterate through review threads
577
577
for thread in data ["data" ]["repository" ]["pullRequest" ]["reviewThreads" ]["nodes" ]:
578
578
for comment in thread ["comments" ]["nodes" ]:
579
579
print (f"::debug::Checking comment { comment ['id' ]} in thread { thread ['id' ]} " )
580
580
print (f"::debug::Comment body: { comment ['body' ]} " )
581
+ print (
582
+ f"::debug::Looking for: '{ single_comment_marker = } ' '{ single_comment_marker_re = } ' "
583
+ )
581
584
if (
582
585
comment ["id" ]
583
586
and thread ["isResolved" ] is False
You can’t perform that action at this time.
0 commit comments