# Issue / PR comments

URL: https://docs.usestitch.ai/docs/triggers/github/issue_comment



## Schema [#schema]

[Issue comment JSON Schema](/schema/github-issue_comment.json)

`eventType: issue_comment`. Actions: `created`, `edited`.

```yaml
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 [#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](/docs/triggers/github#filters).

## Guards [#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](/docs/triggers#guards).
