Skip to content

Use GPT-4 for code review #5

Use GPT-4 for code review

Use GPT-4 for code review #5

Workflow file for this run

\name: Code Review

Check failure on line 1 in .github/workflows/code-review.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/code-review.yml

Invalid workflow file

The workflow is not valid. .github/workflows/code-review.yml (Line: 1, Col: 1): Unexpected value '\name'
on:
pull_request:
branches: [ main ]
jobs:
code-review:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v3
- uses: sshnaidm/gpt-code-review-action@v1.0
with:
model: 'gpt-4'
openai-key: ${{ secrets.OPENAI_API_KEY }}