From 928557dafe4f3c2472a22e68f34f0ded6d9935da Mon Sep 17 00:00:00 2001 From: James Date: Sat, 17 Oct 2020 11:46:05 +0100 Subject: [PATCH] fix --- src/stale.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }