Skip to content

Commit c6a8503

Browse files
author
testcafe-build-bot
committed
🔄 synced local '.github/scripts/security-checker.mjs' with remote 'scripts/security-checker.mjs'
1 parent ca90b47 commit c6a8503

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/scripts/security-checker.mjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ class SecurityChecker {
154154
}
155155

156156
needCreateIssue (alert) {
157-
return !this.alertDictionary[alert.html_url];
157+
return !this.alertDictionary[alert.html_url] && Date.now() - new Date(alert.created_at) <= 1000 * 60 * 60 * 24;;
158158
}
159159

160160
async createIssue ({ labels, originRepo, summary, description, link, issuePackage = '' }) {

0 commit comments

Comments
 (0)