Stitch / docs
GitHub Triggers

Pull request review threads

Run when an inline review thread is resolved or reopened.


Schema

Review thread JSON Schema

eventType: pull_request_review_thread.

Actions: resolved, unresolved.

key: reopen-thread
name: Address reopened thread
provider: github
repository: your-org/your-repo
eventType: pull_request_review_thread
actions: [unresolved]
harness: coding-agent
sandbox: workspace
agentId: build
initialPrompt: Inspect and address the reopened review thread.
matchAllComments: true
enabled: false

Filters

FilterMatching
labelsRepository label names resolved during full validation
labelOperatorhas_any (default), has_all, has_none, is_empty
labelScopecurrent (default) or changed
commentKeywordsCase-insensitive substring match; any selected keyword
keywordsMatch any case-insensitive substring in the thread comments.
mentionedLoginsMatch mentioned logins in the thread comments, case-insensitive.
matchAllCommentsComment matching requires selectors or matchAllComments: true, never both.
commandsExact first word after leading whitespace, such as /review
branchesAny available branch; patterns support *, **, ?
sourceBranchesPR head/base branches; same patterns
targetBranchesPR head/base branches; same patterns
ignoreBotsExclude bot senders; defaults to false
ignoreDraftsExclude draft PRs; defaults to false
actorLoginsCase-insensitive event sender login match
assigneesMatch any selected PR assignee login, case-insensitive.
authorsMatch the PR author login, not a thread comment author or event sender.
reviewersMatch any currently requested PR reviewer login, case-insensitive.
reviewerTeamsMatch any currently requested reviewer team slug, case-insensitive.
prNumbersMatch any selected positive PR number.

Select keywords, mentions, or commands, or set matchAllComments: true; not both.

Author-association filters are unsupported.

See shared matching rules.

Concurrency

Supported scopes: repository, subject, commit, and event.

subject identifies the PR; event distinguishes the thread event identity. See concurrency settings.

On this page