File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -47,20 +47,19 @@ def main():
4747
4848 if not auto_comments :
4949 if (
50- last_comment
50+ last_comment
5151 and (now - last_comment .created_at ).days >= DAYS_BEFORE_REMINDER
5252 ):
5353 user = issue .user .login
54- print (
55- f"[VALIDATION] Would remind { user } on issue/PR #{ issue .number } "
56- )
57-
54+ print (f"[VALIDATION] Would remind { user } on issue/PR #{ issue .number } " )
5855 elif auto_comments and not recent_auto_reminder :
5956 # Only post new reminder if last was > REMINDER_COOLDOWN_DAYS ago
6057 last_auto = auto_comments [- 1 ]
6158 user = issue .user .login
6259 if (now - last_auto .created_at ).days >= REMINDER_COOLDOWN_DAYS :
63- print (f"[VALIDATION] Would remind { user } again on issue/PR #{ issue .number } " )
60+ print (
61+ f"[VALIDATION] Would remind { user } again on issue/PR #{ issue .number } "
62+ )
6463
6564 # ---- EXISTING CLOSE/REMOVE LABEL LOGIC ----
6665 if auto_comments :
You can’t perform that action at this time.
0 commit comments