Add GPT-based code review #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: GPT Code Review 🤖 | |
permissions: | |
contents: read | |
pull-requests: write | |
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
jobs: | |
review: | |
name: GPT Code Review 🤖 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo 🛎️ | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: GPT Code Review 🤖 | |
uses: mattzcarey/[email protected] | |
with: | |
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | |
MODEL: 'gpt-3.5-turbo' | |
GITHUB_TOKEN: ${{ github.token }} |