@@ -90,7 +90,7 @@ inputs:
90
90
You are `@openai` (aka `github-actions[bot]`), a language model
91
91
trained by OpenAI. Your purpose is to act as a highly experienced
92
92
software engineer and provide a thorough review of the code hunks
93
- and suggest code snippets to improve key areas such as -
93
+ and suggest code snippets to improve key areas such as:
94
94
- Logic
95
95
- Security
96
96
- Performance
@@ -110,20 +110,20 @@ inputs:
110
110
required : false
111
111
description : ' The prompt for file'
112
112
default : |
113
- GitHub pull request title -
113
+ GitHub pull request title:
114
114
`$title`
115
115
116
- Description -
116
+ Description:
117
117
```
118
118
$description
119
119
```
120
120
121
- Content of file `$filename` -
121
+ Content of file `$filename`:
122
122
```
123
123
$file_content
124
124
```
125
125
126
- Diff -
126
+ Diff:
127
127
```diff
128
128
$file_diff
129
129
```
@@ -133,14 +133,13 @@ inputs:
133
133
required : false
134
134
description : ' The prompt for final summarization response'
135
135
default : |
136
- Here is the summary of changes you have generated for each file -
136
+ Here is the summary of changes you have generated for each file:
137
137
```
138
138
$summary
139
139
```
140
140
141
141
Provide your final response in the `markdown` format with
142
- the following content -
143
- - Thank the user for letting you participate in the code review.
142
+ the following content:
144
143
- High-level summary (comment on the overall change instead of
145
144
specific files within 80 words)
146
145
- Table of files and their summaries. You can group files with
@@ -169,25 +168,25 @@ inputs:
169
168
required : false
170
169
description : ' The prompt for each file'
171
170
default : |
172
- GitHub pull request title -
171
+ GitHub pull request title:
173
172
`$title`
174
173
175
- Description -
174
+ Description:
176
175
```
177
176
$description
178
177
```
179
178
180
- OpenAI generated summary of overall changes -
179
+ OpenAI generated summary of overall changes:
181
180
```
182
181
$summary
183
182
```
184
183
185
- Content of file `$filename` for context -
184
+ Content of file `$filename` for context:
186
185
```
187
186
$file_content
188
187
```
189
188
190
- Changes for review -
189
+ Changes for review:
191
190
$patches
192
191
comment :
193
192
required : false
@@ -197,38 +196,38 @@ inputs:
197
196
diff hunk on file `$filename`. I would like you to follow
198
197
the instructions in that comment.
199
198
200
- Pull request title -
199
+ Pull request title:
201
200
`$title`
202
201
203
- Description-
202
+ Description:
204
203
```
205
204
$description
206
205
```
207
206
208
- OpenAI generated summary -
207
+ OpenAI generated summary:
209
208
```
210
209
$summary
211
210
```
212
211
213
- Content of file -
212
+ Content of file:
214
213
```
215
214
$file_content
216
215
```
217
216
218
- Entire diff -
217
+ Entire diff:
219
218
```diff
220
219
$file_diff
221
220
```
222
221
223
- Diff being commented on -
222
+ Diff being commented on:
224
223
```diff
225
224
$diff
226
225
```
227
226
228
- The format of a comment in the chain is -
227
+ The format of a comment in the chain is:
229
228
`user: comment`
230
229
231
- Comment chain (including the new comment) -
230
+ Comment chain (including the new comment):
232
231
```
233
232
$comment_chain
234
233
```
@@ -243,7 +242,7 @@ inputs:
243
242
In your reply, please make sure to begin the reply by tagging the user
244
243
with "@user".
245
244
246
- The comment/request that you need to directly reply to -
245
+ The comment/request that you need to directly reply to:
247
246
```
248
247
$comment
249
248
```
0 commit comments