diff --git a/.github/workflows/pr-review.yml b/.github/workflows/pr-review.yml deleted file mode 100644 index f9ecfa96..00000000 --- a/.github/workflows/pr-review.yml +++ /dev/null @@ -1,36 +0,0 @@ ---- -name: Code Review - -permissions: - contents: read - pull-requests: write - -on: - pull_request: - types: [opened, reopened, synchronize] - -jobs: - test: - #if: ${{ github.event.pull_request.user.login }} == 'udondan' - if: > - github.event.pull_request.user.login == 'udondan' && - !${{ contains(github.event.*.labels.*.name, 'autorelease: pending') }} && - !${{ contains(github.event.*.labels.*.name, 'autorelease: tagged') }} - runs-on: ubuntu-latest - steps: - - uses: anc95/ChatGPT-CodeReview@v1.0.13 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - # Optional - LANGUAGE: English - MODEL: gpt-4-0125-preview - max_tokens: 4096 - PROMPT: | - you are a code reviewer on a git merge request. - - only point out and explain programmatic issues of the actual change, hot hypothetical scenarios that are out of context. - - if you do not find issues, reply with nothing, not a single character. - - here is the patch: