We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0b524f commit 4adf9d5Copy full SHA for 4adf9d5
.github/comment-close-old-discussions.py
@@ -172,3 +172,7 @@ def main():
172
recent_comments = [c for c in comments if datetime.strptime(c['createdAt'], "%Y-%m-%dT%H:%M:%SZ").replace(tzinfo=UTC) > stale_time]
173
if not recent_comments:
174
close_and_lock(number)
175
+
176
177
+if __name__ == "__main__":
178
+ main()
0 commit comments