Skip to content

Commit

Permalink
AI code reviewer added
Browse files Browse the repository at this point in the history
  • Loading branch information
pranshurastogi committed May 11, 2023
1 parent 2fce11d commit 175b0db
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ai_code_review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: AI Code Review

on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]

jobs:
ai_code_review:
runs-on: ubuntu-latest

steps:
- name: AI Code Review
uses: AleksandrFurmenkovOfficial/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
openai_api_key: ${{ secrets.OPENAI_API_KEY }}
owner: ${{ github.repository_owner }}
repo: ${{ github.event.repository.name }}
pr_number: ${{ github.event.number }}
#file_extensions: ".py,.js,.html" # for example
#exclude_paths: "test/,docs/" # for example

0 comments on commit 175b0db

Please sign in to comment.