Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ericLemanissier committed Mar 20, 2024
1 parent b6f9f32 commit 96a31d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def update_pr_messages(self) -> None:
if any(label["name"] == "stale" for label in self.prs[issue_number]["labels"]):
logging.warning("skipping %s message because PR is stale", issue_number)
continue
if dateutil.parser.isoparse(self.prs[issue_number]["updated_at"]) < datetime.now(timezone.utc) - timedelta(days=15):
if dateutil.parser.isoparse(self.prs[issue_number]["updated_at"]) < datetime.now(timezone.utc) - timedelta(days=30):
logging.warning("skipping %s message because PR has not been updated since %s",
issue_number, self.prs[issue_number]["updated_at"])
continue
Expand Down

0 comments on commit 96a31d1

Please sign in to comment.