From a6b2a13f727d448c916394b5428f9235357df8c5 Mon Sep 17 00:00:00 2001 From: Massimiliano Pippi Date: Fri, 20 Sep 2019 11:18:01 +0200 Subject: [PATCH] use the right variable --- .github/workflows/stale.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml index 8bd1629576c..119a95e8703 100644 --- a/.github/workflows/stale.yaml +++ b/.github/workflows/stale.yaml @@ -32,7 +32,7 @@ jobs: let now = new Date().getTime(); for (const issue of issues) { // If an issue was active in the past 15 days, leave it alone. - if (now - new Date(issue.updated_at).getTime() < elapsedDays) { + if (now - new Date(issue.updated_at).getTime() < elapsed) { continue; }