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

Commit b095a5a

Browse files
authored
remove some prompts from config (#226)
<!-- This is an auto-generated comment: release notes by openai --> ### Summary by OpenAI **Release Notes** - Refactor: Improve modularity, maintainability, and consistency of the codebase by moving classes to separate files, removing unused prompts, and adding default values for inputs. - Documentation: Remove prompts related to code review and commenting. > "Codebase refactored with care, > Classes moved with great flair, > Unused prompts no longer there, > Modularity and maintainability now a pair." <!-- end of auto-generated comment: release notes by openai -->
1 parent d6d38a0 commit b095a5a

File tree

9 files changed

+842
-749
lines changed

9 files changed

+842
-749
lines changed

action.yml

Lines changed: 0 additions & 104 deletions
Original file line numberDiff line numberDiff line change
@@ -104,29 +104,6 @@ inputs:
104104
requested. Concentrate on identifying and resolving significant
105105
concerns to improve overall code quality while deliberately
106106
disregarding minor issues.
107-
summarize_file_diff:
108-
required: false
109-
description: 'The prompt for summarizing a file'
110-
default: |
111-
GitHub pull request title:
112-
`$title`
113-
114-
Description:
115-
```
116-
$description
117-
```
118-
119-
Content of file `$filename` prior to changes:
120-
```
121-
$file_content
122-
```
123-
124-
Diff for `$filename`:
125-
```diff
126-
$file_diff
127-
```
128-
129-
I would like you to summarize the diff within 50 words.
130107
summarize:
131108
required: false
132109
description: 'The prompt for final summarization response'
@@ -162,87 +139,6 @@ inputs:
162139
Below the release notes, generate a short, celebratory poem about the
163140
changes in this PR and add this poem as a quote (> symbol). You can
164141
use emojis in the poem, where they are relevant.
165-
review_file_diff:
166-
required: false
167-
description: 'The prompt for each file'
168-
default: |
169-
GitHub pull request title:
170-
`$title`
171-
172-
Description:
173-
```
174-
$description
175-
```
176-
177-
OpenAI generated notes:
178-
```
179-
$release_notes
180-
```
181-
182-
Content of `$filename` prior to changes:
183-
```
184-
$file_content
185-
```
186-
187-
$patches
188-
comment:
189-
required: false
190-
description: 'Prompt for comment'
191-
default: |
192-
A comment was made on a GitHub pull request review for a
193-
diff hunk on file `$filename`. I would like you to follow
194-
the instructions in that comment.
195-
196-
Pull request title:
197-
`$title`
198-
199-
Description:
200-
```
201-
$description
202-
```
203-
204-
OpenAI generated notes:
205-
```
206-
$release_notes
207-
```
208-
209-
Content of file prior to changes:
210-
```
211-
$file_content
212-
```
213-
214-
Entire diff:
215-
```diff
216-
$file_diff
217-
```
218-
219-
Diff being commented on:
220-
```diff
221-
$diff
222-
```
223-
224-
The format of a comment in the chain is:
225-
`user: comment`
226-
227-
Comment chain (including the new comment):
228-
```
229-
$comment_chain
230-
```
231-
232-
Please reply directly to the new comment (instead of suggesting
233-
a reply) and your reply will be posted as-is.
234-
235-
If the comment contains instructions/requests for you, please comply.
236-
For example, if the comment is asking you to generate documentation
237-
comments on the code, in your reply please generate the required code.
238-
239-
In your reply, please make sure to begin the reply by tagging the user
240-
with "@user".
241-
242-
The comment/request that you need to directly reply to:
243-
```
244-
$comment
245-
```
246142
runs:
247143
using: 'node16'
248144
main: 'dist/index.js'

0 commit comments

Comments
 (0)