Skip to content

OAS Generation for APIV2 #80

OAS Generation for APIV2

OAS Generation for APIV2 #80

Workflow file for this run

name: Code Review
permissions:
contents: read
issues: write
pull-requests: write
on:
pull_request:
types: [opened, reopened, synchronize]
jobs:
code_review_job:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
name: Automated Code Review
continue-on-error: true # allows test to pass even if no issues are found
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Automated Code Review
uses: eepMoody/genai-code-review@main
with:
args: '/usr/local/bin/python /app/src/main.py'
openai_api_key: ${{ secrets.OPENAI_API_KEY }}
github_token: ${{ secrets.GITHUB_TOKEN }}
github_pr_id: ${{ github.event.number }}
openai_model: 'gpt-4o' # most cost effective model at this time
openai_temperature: 0.5 # best balance between quality and cost