On cursor.com/automations, I can search and select a non-default branch
(epic/<epic-name>). Clicking Save immediately resets the branch
field to main (the GitHub default). A reload still shows main.
Same result in the web editor and the IDE.
This causes the agent to not be able to open a PR to the desired branch because base_branch is main
Steps to Reproduce
Open the automation → select a non-default branch → Save → field snaps to the default branch → reload still default.
Expected Behavior
Save keeps the selected branch; cron runs fork from it.
This is a known issue we’re already tracking, when the repository has a Cloud Environment configured, the branch you pick in the automation editor isn’t kept after Save, which is why it snaps back to main.
We’re working on a fix now! In the meantime, a workaround is to tell the agent which branch to use directly in the automation’s prompt (e.g. “check out the evals branch first and base all work on it”) — the agent will switch branches at the start of the run.