Hi everyone,
I have an idea to use Cursor CLI on a local CI machine to automatically review pull requests against the entire codebase, allowing for deeper and more contextual code reviews.
Right now, my company account only has the standard plan (500 requests/month) and does not provide an API key, so I’m unable to authenticate through the API in CI. Because of that, I tried logging into my Cursor account directly on the CI machine and running the CLI from there.
However, when the workflow is triggered from GitHub Actions, the CLI asks me to log in again, which breaks the automation.
Has anyone here implemented something similar—using Cursor CLI for automated PR reviews in CI without an API key? If so, how did you handle authentication so that the workflow can run non-interactively?
Any suggestions or experiences would be greatly appreciated.