Skip to content

Commit

Permalink
Merge pull request #1224 from CityOfZion/CU-86drpnn0q
Browse files Browse the repository at this point in the history
#86drpnn0q - Add codereviewer to all projects being worked on
  • Loading branch information
meevee98 authored Mar 19, 2024
2 parents 095a317 + af9ec63 commit d77960e
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: AI Code Reviewer

on:
pull_request:
types:
- opened
- synchronize
permissions: write-all
jobs:
review:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3

- name: AI Code Reviewer
uses: simplitech/ai-codereviewer@main
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
OPENAI_API_MODEL: "gpt-4" # Optional: defaults to "gpt-4"
exclude: "**/*.json, **/*.md" # Optional: exclude patterns separated by commas

0 comments on commit d77960e

Please sign in to comment.