Skip to content

fix: delete component also delete reports #1076

fix: delete component also delete reports

fix: delete component also delete reports #1076

Workflow file for this run

name: GPT Review
permissions: write-all
on:
pull_request:
types: [opened, reopened, synchronize]
jobs:
review:
if: ${{ contains(github.event.pull_request.labels.*.name, 'gpt review') }}
runs-on: ubuntu-latest
name: GPT Review
steps:
- uses: anc95/ChatGPT-CodeReview@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
# Optional
LANGUAGE: Chinese
# MODEL: gpt-4
max_tokens: 10000
MAX_PATCH_LENGTH: 10000 # if the patch/diff length is larger than MAX_PATCH_LENGTH, will be ignored and won't review. By default, with no MAX_PATCH_LENGTH set, there is also no limit for the patch/diff length.
# top_p: 1
# temperature: 1