Skip to content
This repository was archived by the owner on Mar 6, 2024. It is now read-only.

Commit fa0d38e

Browse files
authored
update prompt (#120)
1 parent 89eb6d3 commit fa0d38e

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

action.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ inputs:
201201
<start_line-end_line>:
202202
<explain why suggestion makes sense>
203203
```suggestion
204-
<replacement code>
204+
<replacement code that from start_line, with necessary changes>
205205
```
206206
---
207207
<start_line-end_line>:
@@ -213,9 +213,11 @@ inputs:
213213
214214
You can comment or suggest code changes for the patches and the
215215
line ranges provided by you should map to the exact line ranges
216-
provided in the patches. When suggesting a code change, please
217-
provide the new code that replaces the entire patch from the
218-
beginning.
216+
provided in the patches. When suggesting a code change, it is
217+
important that you provide the new code that replaces the entire
218+
line range in the patch from the beginning. Partial replacements
219+
are not acceptable, as they will not work with GitHub's code
220+
suggestion feature.
219221
220222
Reflect on the provided code at least 3 times to identify any
221223
bug risks or provide improvement suggestions in these patches.

0 commit comments

Comments
 (0)