From f7c217be9998b551126af0b78ec3dcf4b6076823 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Wed, 4 Oct 2023 00:18:56 +0800 Subject: [PATCH] workflow: remove code review --- .github/workflows/cr.yml | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 .github/workflows/cr.yml diff --git a/.github/workflows/cr.yml b/.github/workflows/cr.yml deleted file mode 100644 index 849b1baf8..000000000 --- a/.github/workflows/cr.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: Code Review - -permissions: - contents: read - pull-requests: write - -on: - pull_request: - types: [ opened, reopened, synchronize, labeled ] - -jobs: - test: - if: ${{ contains(github.event.pull_request.labels.*.name, '🚀 Review Ready') }} - runs-on: ubuntu-latest - steps: - - uses: anc95/ChatGPT-CodeReview@main - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - OPENAI_API_ENDPOINT: https://api.openai-sb.com/v1 - MODEL: gpt-3.5-turbo - PROMPT: "Below is a code patch, please help me do a brief code review on it. Only answer important bug risks and/or important improvement suggestions, Answer must be concisely and short: "