Skip to content
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

feat: integrated Coderabbit for AI powered PR reviews #3298

Merged
merged 12 commits into from
Nov 8, 2024
22 changes: 22 additions & 0 deletions .coderrabbit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
language: "en-US"
reviews:
aakankshabhende marked this conversation as resolved.
Show resolved Hide resolved
request_changes_workflow: false
high_level_summary: true
poem: false
aakankshabhende marked this conversation as resolved.
Show resolved Hide resolved
review_status: true
auto_review:
enabled: true
aakankshabhende marked this conversation as resolved.
Show resolved Hide resolved
ignore_title_keywords:
- "WIP"
- "Do Not Merge"
drafts: false
base_branches: ["master"]
aakankshabhende marked this conversation as resolved.
Show resolved Hide resolved
tools:
spellcheck:
enabled: true
markdownlint:
enabled: true
biome:
enabled: true
chat:
auto_reply: true
aakankshabhende marked this conversation as resolved.
Show resolved Hide resolved
21 changes: 21 additions & 0 deletions .github/workflows/ai-pr-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: AI PR Review

on:
pull_request:
branches: [ master ]

jobs:
ai_review:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install dependencies
run: npm install

- name: Run AI PR Review
run: npx coderabbit review --config ./.coderabbit.yml
env:
CODERABBIT_API_KEY: ${{ secrets.CODERABBIT_API_KEY }}
Loading