diff --git a/src/cleanup.php b/src/cleanup.php old mode 100644 new mode 100755 index 18d2f1d..7da8cc3 --- a/src/cleanup.php +++ b/src/cleanup.php @@ -15,6 +15,7 @@ $words=['Today!!','Overdue!!','Error!!']; foreach($words as $word){ foreach($repo->getIssues(['q'=>$word]) as $issue){ // loop through the current issues comments + echo "{$issue->id}: {$issue->title}\n"; foreach($issue->getComments() as $comment){ // if the comment body matches if(($comment->user->login=='Bot') && (strpos($comment->body,$word)!==false)){