mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-20 14:55:50 +00:00
20240823_093217
This commit is contained in:
parent
aa1b713578
commit
5145b27a86
1 changed files with 19 additions and 0 deletions
19
.github/workflows/code-review.yml
vendored
Normal file
19
.github/workflows/code-review.yml
vendored
Normal 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
|
Loading…
Reference in a new issue