From 5f303b372f82557d5147ab3768660e1cbe831065 Mon Sep 17 00:00:00 2001 From: testcafe-build-bot Date: Thu, 7 Dec 2023 08:08:15 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=84=20synced=20local=20'.github/script?= =?UTF-8?q?s/security-checker.mjs'=20with=20remote=20'scripts/security-che?= =?UTF-8?q?cker.mjs'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/scripts/security-checker.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/security-checker.mjs b/.github/scripts/security-checker.mjs index 841c82e..9d9f50f 100644 --- a/.github/scripts/security-checker.mjs +++ b/.github/scripts/security-checker.mjs @@ -154,7 +154,7 @@ class SecurityChecker { } needCreateIssue (alert) { - return !this.alertDictionary[alert.html_url]; + return !this.alertDictionary[alert.html_url] && Date.now() - new Date(alert.created_at) <= 1000 * 60 * 60 * 24;; } async createIssue ({ labels, originRepo, summary, description, link, issuePackage = '' }) {