diff --git a/actioner/scheduler/todoist_repo_prs.py b/actioner/scheduler/todoist_repo_prs.py index 687dcbf..2bf4e65 100644 --- a/actioner/scheduler/todoist_repo_prs.py +++ b/actioner/scheduler/todoist_repo_prs.py @@ -56,7 +56,7 @@ def todoist_repo_prs(): ) ) todoist.items.complete(existing_task_id) - elif task_completed: + elif my_review.commit_id != pr.head.sha: logger.info("Re-opening task to review '{}'".format(pr.title)) todoist.items.unarchive(existing_task_id) todoist.items.uncomplete(existing_task_id)