Skip to content

Add code review workflow #3

Add code review workflow

Add code review workflow #3

Workflow file for this run

name: Code Review
permissions:
contents: read
pull-requests: write
on:
pull_request:
types: [opened, reopened, synchronize]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: anc95/ChatGPT-CodeReview@main
env:
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
PROMPT: "You are a software engineer who should review this pull request. You are currently typing in the comment section:"