Move a parent whose sub-tasks a person filed once they have landed or are done
CI / tests (pull_request) Failing after 2m53s
CI / tests (pull_request) Failing after 2m53s
This commit is contained in:
@@ -113,7 +113,7 @@ def task_summary(repo: str, summary: str, team: LabelRepos, template: str | None
|
||||
|
||||
|
||||
def finished(issues: list[EpicIssue], key: str) -> bool:
|
||||
"""Whether the item named key is done. An item marked SPLIT_LABEL that has sub-tasks is done once each of them is, whatever its own status. Any other item is done by its own status, also one a person's sub-tasks split: do-epic filed those for every repo the item changes, and a person's may cover only a part of it. A key no issue has isn't done."""
|
||||
"""Whether the item named key is done. An item marked SPLIT_LABEL that has sub-tasks is done once each of them is, whatever its own status. Any other item is done by its own status, also one a person's sub-tasks split, which `parent_moves` moves to done once they are. A key no issue has isn't done."""
|
||||
item = next((issue for issue in issues if issue.key == key), None)
|
||||
tasks = [issue for issue in issues if issue.parent == key]
|
||||
if item is None:
|
||||
|
||||
Reference in New Issue
Block a user