You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for pull in repo.get_pulls("open", "updated", "asc"):
if (now - pull.updated_at).days <= 30:
break
print(f"Closing {pull.title}")
pull.create_issue_comment("We are closing this PR due to no any activities in the last 30 days. Feel free to re-open it if you would like to continue working on this.")