Skip to content

Commit

Permalink
🔄 synced local '.github/scripts/security-checker.mjs' with remote 'sc…
Browse files Browse the repository at this point in the history
…ripts/security-checker.mjs'
  • Loading branch information
testcafe-build-bot committed Dec 7, 2023
1 parent 803c430 commit e4c5989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/security-checker.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '' }) {
Expand Down

0 comments on commit e4c5989

Please sign in to comment.