Stitch / docs
GitHub triggers

Issue / PR comments

Run on conversation comments that match explicit selectors.

Schema

Issue comment JSON Schema

eventType: issue_comment. Actions: created, edited.

key: comment-command
name: Handle review command
provider: github
eventType: issue_comment
actions: [created]
harness: coding-agent
sandbox: workspace
agentId: build
initialPrompt: Handle the requested review.
commands: [/review]
commentScopes: [pull_request]
enabled: false

Filters

Supported: labels, labelOperator, labelScope, commentKeywords, matchAllComments, mentionedLogins, commands, commentScopes, branches, sourceBranches, targetBranches, ignoreDrafts, ignoreBots, actorLogins, authorAssociations. commentScopes defaults to [issue, pull_request]. PR branch/draft filters require commentScopes: [pull_request]. Select keywords, mentions, or commands, or set matchAllComments: true; do not combine both modes. See shared matching rules.

Guards

Scopes: repository, subject, event; delivery for deduplicate. subject identifies the issue or PR conversation. commit is unsupported, even for PR comments. See guard types.

On this page