20240823_093217

This commit is contained in:
Barry Matheney 2024-08-23 09:32:17 -04:00
parent aa1b713578
commit 5145b27a86

19
.github/workflows/code-review.yml vendored Normal file
View file

@ -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