archive
/
actioner
Archived
1
Fork 0

Only re-open completed issues

This commit is contained in:
Jake Howard 2019-02-20 20:01:20 +00:00
parent 2e1628641c
commit 30afb900f1
Signed by: jake
GPG Key ID: 57AFB45680EDD477
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ def todoist_repo_prs():
if my_review.commit_id == pr.head.sha and not existing_task['checked']:
logger.info("Completing task to review '{}'".format(pr.title))
todoist.items.complete([existing_task_id])
elif existing_task['checked']:
elif existing_task['checked'] and existing_task['checked']:
logger.info("Re-opening task to review '{}'".format(pr.title))
todoist.items.uncomplete([existing_task_id])
existing_task.update(