From 3a15b067b9372fcdc79edb0a2eaf0947dba2c9a3 Mon Sep 17 00:00:00 2001 From: Erick Zhao Date: Mon, 4 Dec 2023 18:27:21 -0500 Subject: [PATCH] do it for the reminder too --- src/remind.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/remind.ts b/src/remind.ts index ed785e1..f090906 100644 --- a/src/remind.ts +++ b/src/remind.ts @@ -18,7 +18,9 @@ async function main() { q: `repo:electron/electron ${q}`, sort: 'created', }); - if (items.length) { + + // silence during quiet period + if (items.length && (new Date()).getMonth() < 11) { const text = `:blob-wave: *Reminder:* the <${searchUrl}|following PRs> are awaiting API review.\n` + items