Cursor Automation can't create PR

Where does the bug appear (feature/product)?

Background Agent (GitHub, Slack, Web, Linear)

Describe the Bug

ID from automation run url: bc-035b948b-655b-48f0-a7db-84bf8d5278a6

Analysis from automation itself: PR creation issue: The OpenGitPr tool returned “Could not create or find PR” — likely a configuration/permissions issue with the automation’s git integration. The gh CLI is read-only so it can’t create PRs either. I’ll need you to create PRs manually for now.

Branch was pushed successfully, though.

Steps to Reproduce

  • run scheduled automation

Expected Behavior

  • automation has access to create PR

Operating System

MacOS

Version Information

Automation run in browser

For AI issues: add Request ID with privacy disabled

bc-035b948b-655b-48f0-a7db-84bf8d5278a6

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hey, this is a known issue. The token the agent gets in the sandbox doesn’t include the right scopes to create a PR, even if the GitHub App permissions are set correctly. A few other users have hit the same thing:

The team is aware and tracking it. There’s no ETA yet, but your report helps with prioritization.

Workaround: the branch and commits are already pushed, so you can create the PR manually using the link the agent leaves at the end.

Let me know if you have any questions.

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.