I’ve set up several automated bots, and I want them to work automatically. However, every time they submit a pull request (PR), it’s waiting for my review, which is very frustrating. I don’t want reviews. How can I create bots to automatically merge PRs?
If you don’t want reviews, have you considered directly pushing to the main branch?
how to ask cursor bot auto push to main branch
Hey, right now Cursor Automations don’t have a built-in merge tool. The agent can create a PR, but merging isn’t available in the toolset.
There are a few workarounds:
Option 1: GitHub Auto-Merge
Enable GitHub’s native auto-merge on your repo. Set up a minimal CI check, or don’t require checks, then create a second automation triggered by Pull request opened that auto-approves the PR. With auto-merge enabled on the repo, the PR will merge automatically once it’s approved.
Option 2: GitHub MCP plus a merge instruction
Add the GitHub MCP server to your automation’s tools, then tell the agent in the prompt to merge the PR after opening it. The GitHub MCP provides a merge_pull_request tool, so the agent can open and merge in a single run without extra GitHub settings.
Option 3: Push directly to main
Update your automation prompt to commit and push straight to the target branch instead of opening a PR. Just don’t add the Open pull request tool when setting up the automation, and make sure your GitHub branch protection rules allow direct pushes.
The team knows there’s demand for a smoother auto-merge flow, and your report helps us prioritize it.