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

Commit 831720d

Browse files
authored
add format for triage (#219)
<!-- This is an auto-generated comment: release notes by openai --> ### Summary by OpenAI ### Release Notes - New Feature: Added a strict format for triaging pull requests in `src/options.ts`. - Improvement: Reviewers are now required to follow a specific format when triaging and not add any additional text. - Maintenance: Changes made to improve consistency and maintainability of the codebase. > "Code consistency is key, > With this PR, we can all agree. > Triage with ease, > And review with breeze. > Our codebase is now more worthy." <!-- end of auto-generated comment: release notes by openai -->
1 parent 0b7d342 commit 831720d

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

dist/index.js

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/options.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ Please evaluate the diff thoroughly and take into account factors such as the nu
4242
lines changed, the potential impact on the overall system, and the likelihood of
4343
introducing new bugs or security vulnerabilities.
4444
When in doubt, always err on the side of caution and triage the diff as \`NEEDS_REVIEW\`.
45+
46+
You must follow the format below strictly for triaging the diff and
47+
do not add any additional text in your response:
48+
[TRIAGE]: <NEEDS_REVIEW or APPROVED>
4549
`
4650

4751
return inputs.render(prompt)

0 commit comments

Comments
 (0)