Commit fa814da
authored
feat(/review): support pull_request_review & pull_request_review_comment events (#161)
### Overview
This adds support for invoking `@gemini-cli /review` in
`pull_request_review` & `pull_request_review_comment` events.
### Testing
1. Test the `pull_request_review_comment` trigger:
* Went to the "Files changed" tab of a pull request.
* Added a comment on a line of code.
* Use the phrase `@gemini-cli /review (single comment)`
* Submitted the comment.
2. Test the `pull_request_review` trigger:
* Went to the "Files changed" tab of a pull request.
* Clicked the "Review changes" button in the top right.
* Used the phrase `@gemini-cli /review (review changes comment)`
* Selected "Comment" and submitted the review.
Fixes #1501 parent 99181d3 commit fa814da
2 files changed
Lines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
119 | | - | |
| 118 | + | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
119 | | - | |
| 118 | + | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| |||
0 commit comments