Skip to content

ci: add an error prone code to test Codex #4

ci: add an error prone code to test Codex

ci: add an error prone code to test Codex #4

Workflow file for this run

name: AI Code Review
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
codex-review:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x' # Specify the Python version you want
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install openai
- name: Run Codex for Code Review
run: |
python review_code.py
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}