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; }