From 5145b27a867ad3c52a9183da5aabe7bc0ff86a25 Mon Sep 17 00:00:00 2001 From: Barry Matheney Date: Fri, 23 Aug 2024 09:32:17 -0400 Subject: [PATCH] 20240823_093217 --- .github/workflows/code-review.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/code-review.yml diff --git a/.github/workflows/code-review.yml b/.github/workflows/code-review.yml new file mode 100644 index 000000000..de8a3c4d5 --- /dev/null +++ b/.github/workflows/code-review.yml @@ -0,0 +1,19 @@ +on: [pull_request] + +jobs: + code-review: + runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: write + steps: + # This step checks out a copy of your repository. + - uses: actions/checkout@v3 + # This step references the directory that contains the action. + - uses: sshnaidm/gpt-code-review-action@v2.0 + with: + openai-key: ${{ secrets.CHATGPT_API_KEY }} + # model: 'gpt-4' + # max-length: 8000 + # prompt: 'Only suggest performance improvements for this code.' + # post-if-error: false \ No newline at end of file