Skip to main content
This event occurs when there is a comment on a pull request.
The following is an example payload which is passed in as an argument to your agent’s entrypoint:

Fields

$raw
object
The raw Github pull_request_review_comment event payload.
action
string
The action that occurred on the pull request.
author
string
The author of the pull request.
changes
change[]
The changes that were made to the files in the pull request.
commit_message
string
The commit message of the pull request.
commit_sha
string
The SHA of the commit that was used to create the pull request.
files_changed
string[]
The filepaths that were changed in the pull request.
new_comment
object
The new comment that was added to the pull request.
owner
string
The owner of the repository.
ref
string
The ref of the pull request.
repo
string
The repository of the pull request.