From 51a9bcb8f426581ae5213b4a39ebf3269ae97e46 Mon Sep 17 00:00:00 2001 From: James Date: Thu, 26 Dec 2019 12:20:09 +0000 Subject: [PATCH] add debug echo --- src/cleanup.php | 1 + 1 file changed, 1 insertion(+) mode change 100644 => 100755 src/cleanup.php 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)){