diff --git a/src/stale.php b/src/stale.php index cd58b8c..ca80ad5 100755 --- a/src/stale.php +++ b/src/stale.php @@ -44,8 +44,8 @@ $callback = function($issue) use ($staleLabel, $keepLabel) { return; } - //if activity sice added then remove label - if($updatedTime>$staleTime){ + //if activity sice added (60sec grace) then remove label + if($updatedTime>($staleTime-60)){ $issue->removeLabel($staleLabel); return; }