Skip to content

Updated readme and workflow. #80

Updated readme and workflow.

Updated readme and workflow. #80

Workflow file for this run

name: Code Review with OpenAI
on:
pull_request:
types:
- opened
- synchronize
- ready_for_review
permissions: write-all
jobs:
if: '! github.event.pull_request.draft'

Check failure on line 10 in .github/workflows/code_review.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/code_review.yml

Invalid workflow file

You have an error in your yaml syntax on line 10
code_review:
if: '! github.event.pull_request.draft'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Code Review
uses: lukehollenback/ai-codereviewer@main-luke
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
OPENAI_API_MODEL: "gpt-3.5-turbo"
exclude: "yarn.lock, dist/**, **/*.json, **/*.md, **/*.yaml, **/*.xml"
custom_prompts: |
Do not worry about the verbosity of variable names, as long as they are somewhat descriptive.
Be sure to call out concurrency issues and potential race conditions.
Do not worry about things a static analyzer would catch in real-time during development.