Skip to content

fix comment issues + add support to o1-mini #4

fix comment issues + add support to o1-mini

fix comment issues + add support to o1-mini #4

Workflow file for this run

name: Code Review with OpenAI
on:
pull_request:
types:
- opened
- synchronize
permissions: write-all
jobs:
code_review:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: AI Code Reviewer
uses: ./.
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
OPENAI_API_MODEL: "gpt-4o-mini"
REVIEW_MAX_COMMENTS: 5 # Optional: defaults to 10
APPROVE_REVIEWS: true # Optional: defaults to false
exclude: "yarn.lock,dist/**"