diff --git a/bin/do_epic/split.py b/bin/do_epic/split.py index 4638b30b..c0a22a85 100644 --- a/bin/do_epic/split.py +++ b/bin/do_epic/split.py @@ -72,7 +72,7 @@ def split(store: EpicStore, issue: EpicIssue, by_person: bool, rule: str, langua if isinstance(read, Failure): return read have = {pick.name for task in read if task.parent == issue.key for label in task.labels if isinstance(pick := of_label(label), Repo)} - repos = tuple(dict.fromkeys([*have, *(part.repo for part in predicted.parts)])) + repos = tuple(dict.fromkeys([*sorted(have), *(part.repo for part in predicted.parts)])) if len(repos) < 2: return Split((), ()) if by_person and not predicted.comment: