### Where does the bug appear (feature/product)?
Cloud Agent (GitHub, Slack, Web, Linear)
Describe the Bug
When editing a Cursor Automation, the top repository / environment dropdown (the control that lets you give the agent access to multiple repos) is missing if the only triggers are Git pull-request events such as Pull request opened.
This happens in both the browser Automations dashboard and the Cursor desktop app. Same automation, same missing dropdown in both places.
The dropdown appears if I add a cron trigger. I can then select multiple repositories. If I remove the cron trigger, the dropdown disappears again.
I have automations that need to run on PR opened and still access a second related repository. Docs say source-control triggers can connect to one repository or a multi-repo environment, but the editor hides the picker entirely for Git PR-only automations.
This is not the trigger card’s “select repo” control (which repos fire the automation). It is the top dropdown that controls which repos the agent can access / which environment is used.
Steps to Reproduce
- Open an existing automation or create a new one. Reproduce in the browser dashboard and again from the Cursor app.
- Set the only trigger(s) to Git events, e.g. Pull request opened. Do not add a cron trigger.
- Look at the top of the editor for the repository / environment dropdown used to give the agent access to multiple repos.
- Observe that the dropdown is not shown in either surface. The header instead says something like Repository from Git Trigger.
- Add a cron trigger.
- Observe that the top dropdown now appears and multi-repo selection works.
- Remove the cron trigger.
- Observe that the dropdown disappears again.
Expected Behavior
With a Git PR trigger only, the top repository / environment dropdown should still be visible (browser and Cursor app) so I can attach a multi-repo environment. The agent should be able to clone / access those extra repos when a PR event fires. Cron should not be required as a workaround.
Operating System
MacOS
Version Information
Reproduced on macOS in both:
- Browser: Automations editor on the website
- Cursor desktop app: Automations editor in the app
For AI issues: which model did you use?
Composer 2.5 (on the automation runs below)
For AI issues: add Request ID with privacy disabled
Cursor staff: Cloud Agent run IDs from a Git-PR-only automation that needed a second related repo. Happy to share more privately if needed.
-
Environment error (best example)
bc-2e5e5e99-d31e-4b21-8c21-e869239bfefd
https://cursor.com/agents/bc-2e5e5e99-d31e-4b21-8c21-e869239bfefd
PR opened, Aug 5 2026. Environment shown as second-repo +1. UI: Environment error. Agent encountered an error. -
Agent failed to start (no bc- id minted)
Same automation, PR pushed, Aug 5 2026. Run summary: The background agent could not be launched. Verify the prompt, target repository, and branch configuration are valid. -
GitHub API 404 on the second repo (run completed anyway)
bc-1ab82f1e-6273-4e75-9db9-92b0d9dde28a
bc-7df545f4-50e6-4a8b-b8c0-b61653f07d55
bc-7517a40c-169d-4fff-952f-d8e4acd900e6
Additional Information
Workaround: add a dummy cron trigger so the dropdown appears, select multiple repos / a multi-repo environment. Removing cron hides the dropdown again.
Related forum threads (titles only, new-user link limit): Multi-repo Automations not saving repo selection; Cloud Automation multiple git.
Docs (cloud-agent automations page) say source control triggers can connect to one repository or a multi-repo environment.
Does this stop you from using Cursor
No - Cursor works, but with this issue