Skip to content

Commit

Permalink
Integrated coderabbit for AI powered PR reviews
Browse files Browse the repository at this point in the history
  • Loading branch information
aakankshabhende committed Oct 17, 2024
1 parent ec62c5e commit 2c50937
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
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:
request_changes_workflow: false
high_level_summary: true
poem: false
review_status: true
auto_review:
enabled: true
ignore_title_keywords:
- "WIP"
- "Do Not Merge"
drafts: false
base_branches: ["master"]
tools:
spellcheck:
enabled: true
markdownlint:
enabled: true
biome:
enabled: true
chat:
auto_reply: true
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 }}

0 comments on commit 2c50937

Please sign in to comment.