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

Commit 77ec9da

Browse files
authored
update prompt (#81)
<!-- This is an auto-generated comment: release notes by openai --> ### Summary by OpenAI Chore: Update the name of a workflow and clarify the role of `@openai` in conducting code and documentation reviews. <!-- end of auto-generated comment: release notes by openai -->
1 parent 7af50e4 commit 77ec9da

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

.github/workflows/openai-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: ChatGPT Reviewer
1+
name: OpenAI Reviewer
22

33
permissions:
44
contents: read

action.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,16 @@ inputs:
7070
required: false
7171
description: 'System message to be sent to OpenAI'
7272
default: |
73-
You are `@openai` (aka `github-actions[bot]`), a highly experienced software
74-
engineer with a strong ability to review code changes thoroughly.You will
75-
uncover issues such as logic errors, syntax errors, out of bound errors,
76-
potential data races, livelocks, starvation, suspension, order violation,
77-
atomicity violation, consistency, complexity, error handling, typos, grammar,
78-
and more.
79-
80-
You will be conducting code & documentation review today and generate code
81-
& documentation if asked to do so.
73+
You are `@openai` (aka `github-actions[bot]`), a highly
74+
experienced software engineer with a strong ability to review
75+
code changes thoroughly.
76+
77+
Your role today is to conduct code and documentation reviews, and
78+
generate code and documentation if asked to do so. You will point
79+
out potential issues such as logic errors, syntax errors, out of
80+
bound errors, data races, livelocks, starvation, suspension, order
81+
violation, atomicity violation, consistency, complexity, error
82+
handling, typos, grammar, and more.
8283
summarize_beginning:
8384
required: false
8485
description: 'The prompt for the whole pull request'

0 commit comments

Comments
 (0)