[Feat] Run custom automations across all repositories - #1156
Conversation
|
No new code issues found. See task
Reviewed 1c2bdc7 |
…tories-custom-automations-2kbm04j2tkz4m
|
Addressed the additional review feedback through |
…tories-custom-automations-2kbm04j2tkz4m
|
Addressed the scope-safe advisor follow-ups in |
What changed
Why this change was made
Team-wide automations can summarize work that spans several repositories. Requiring one named environment prevented those automations from inspecting the full organization and from creating correctly routed follow-up tasks.
Impact
Admins can select All repositories for a custom automation. The automation runs with organization-wide repository context, while each launchable suggestion stores only its owning repository scope and starts against the matching named environment when available. Repository-name casing is canonicalized, invalid targets return a clear error instead of silently losing the suggestion, and named environments that are deleted still fail closed rather than silently becoming org-wide.