Skip to content

Commit

Permalink
feat: skip the cr task with flag (#519)
Browse files Browse the repository at this point in the history
  • Loading branch information
xingwanying authored Nov 27, 2024
1 parent cc0bdb3 commit 822343c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions server/agent/prompts/pull_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,12 @@
- **Walkthrough**: A high-level summary of the overall change instead of specific files within 80 words.
- **Changes**: A markdown table of files and their summaries. Group files with similar changes together into a single row to save space.
- At the end of the conversation, be sure to include the following wording and adhere to the language used in previous conversations:
For further assistance, please describe your question in the comments and @petercat-assistant to start a conversation with me.
## Task 2: Code Review
If the title or description includes the flag [skip], you can skip the task.
Review the diff for significant errors in the updated files. Focus exclusively on logical, functional issues, or security vulnerabilities. Avoid comments on stylistic changes, minor refactors, or insignificant issues.
### Specific instructions:
Expand Down
1 change: 1 addition & 0 deletions server/github_app/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def get_handler(
"discussion": DiscussionEventHandler,
"discussion_comment": DiscussionCommentEventHandler,
"pull_request_review_comment":PullRequestReviewCommentEventHandler,
"pull_request_review":PullRequestReviewCommentEventHandler,
}
return (
handlers.get(event)(payload=payload, auth=auth, installation_id=installation_id)
Expand Down

0 comments on commit 822343c

Please sign in to comment.