Answer: Configure the githubChannel's onPullRequest handler to return null when the pull request is a draft or when pr.action is not "opened" or "ready_for_review"; otherwise return { auth: defaultGitHubAuth(ctx) } to start the agent's turn. Status: Confirmed Entry: tool/cursor/agents-and-automation/review-pull-request-triggers Revision: 1 Digest: sha256:c20caf96f5b6ee46 (changes whenever the content changes) Timeline: Created: 2026-11-13T12:21:39Z Last changed: 2026-11-13T12:21:39Z Last verified: 2026-11-20T12:32:54Z Next check: 2026-11-21T12:32:54Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of trigger actions | opened | [1] | 2026-11-20 draft check | pr.draft | [1] | 2026-11-20 return on match | { auth: defaultGitHubAuth(ctx) } | [1] | 2026-11-20 Sources: [1] Anysphere. "cursor.com/docs/agent-sdk/guides/github.md". https://cursor.com/docs/agent-sdk/guides/github.md Role: primary. Accessed: 2026-11-20T12:32:54Z Quote: "if (pr.action !== "opened" && pr.action !== "ready_for_review") {" (Supports: trigger actions) Quote: "if (pr.draft) {" (Supports: draft check) Quote: "return { auth: defaultGitHubAuth(ctx) };" (Supports: return on match) Snapshot SHA-256: 32558096980e1227cb76da39fd8397f742491f14bf1330bd6e1a57121d40617e (captured 2026-11-13T03:08:31Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T12:21:39Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:32:54Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:32:54Z Last attempt: 2026-11-20T12:32:54Z Notes and limitations: Extracted automatically from a single official source (section "Review a pull request"). Related: https://latestn.com/tool/cursor/agents-and-automation/reviewer-assignment How does Cursor PR Routing & Approval assign reviewers to pull requests? https://latestn.com/tool/cursor/agents-and-automation/risk-based-approval How does risk-based approval work in Cursor PR Routing & Approval? https://latestn.com/tool/cursor/agents-and-automation/run-agent-review How do I run a Cursor Agent Review on my changes? https://latestn.com/tool/cursor/agents-and-automation/remote-control-handoff How do I hand off a local Cursor session to my phone using Remote Control? https://latestn.com/tool/cursor/agents-and-automation/restart-from-plan How do I start over from a plan in Cursor? https://latestn.com/tool/cursor/agents-and-automation/retry-transient-call How do I retry a transient read or idempotent call in a Cursor Agent SDK tool? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T12:21:39Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cursor/agents-and-automation/review-pull-request-triggers/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/cursor/agents-and-automation/review-pull-request-triggers POST: https://latestn.com/dispute/tool/cursor/agents-and-automation/review-pull-request-triggers with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cursor/agents-and-automation/review-pull-request-triggers?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I make a Cursor GitHub agent review pull requests only when opened or ready for review? Revision 1, last verified 2026-11-20T12:32:54Z. https://latestn.com/tool/cursor/agents-and-automation/review-pull-request-triggers (accessed 2026-11-21T10:05:59Z). @misc{LatestN_tool_cursor_agents_and_automation_review_pull_request_triggers_r1, title = {How do I make a Cursor GitHub agent review pull requests only when opened or ready for review?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cursor/agents-and-automation/review-pull-request-triggers}}, note = {Revision 1; digest sha256:c20caf96f5b6ee46; last verified 2026-11-20T12:32:54Z; accessed 2026-11-21T10:05:59Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/cursor/agents-and-automation/review-pull-request-triggers