Skip to content

Update lbai.cm #102

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions .cm/lbai.cm
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,12 @@ triggers:
automations:
ask_ai_review:
if:
- {{ pr.labels | match(term="LB CR") | some }}
- true
run:
- action: add-comment@v1
args:
comment: |
# ✨ gitStream Review 1 ✨
{{ source | LinearB_AI(prompt="Perform a detailed code review based on the provided code diff. For each modified file:
- Review the changes in the code diff and identify any bugs, performance issues, or areas for improvement in readability, maintainability, or adherence to best practices.
- If unchanged parts of the code are relevant to the modifications, include comments on them to provide a complete context for improvement.
- Reference the specific lines of code from the diff and any relevant unchanged code in your comments.
- For each identified issue, provide actionable suggestions and include a refactored code snippet whenever possible. Clearly show how the improvement can be implemented in the relevant section of the code.
- Focus on the changes and their immediate context; avoid general suggestions unrelated to the provided code diff.") }}

# ✨ !!!! ✨

ask_ai_review2:
if:
Expand Down
Loading