archive
/
actioner
Archived
1
Fork 0

Don't create tasks for issues i'm not assigned to

This commit is contained in:
Jake Howard 2019-08-30 18:39:49 +01:00
parent 58f6f7abbc
commit 43dcc129da
Signed by: jake
GPG Key ID: 57AFB45680EDD477
1 changed files with 3 additions and 0 deletions

View File

@ -44,6 +44,9 @@ def todoist_assigned_issues():
logger.info("Deleting task for '{}'".format(issue.title))
todoist.items.delete([existing_task_id])
if not me_assigned:
continue
elif (
issue.state == "closed"
and existing_task_id is not None