mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
fix: change to use mattzcarey/code-review-gpt
This commit is contained in:
1 parent
d0186727ce
commit
db0126de53
1 file changed
+11
-6
@@ -1,15 +1,20 @@
|
||||
name: CI/CD
|
||||
name: Code Review GPT
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened]
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
gpt-review:
|
||||
run_code_review:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: gpt-review
|
||||
uses: microsoft/gpt-review@v0.9.5
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Code Review GPT
|
||||
uses: mattzcarey/code-review-gpt@v0.1.4-alpha
|
||||
with:
|
||||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||
MODEL: 'gpt-3.5-turbo'
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
Reference in new issue
Block a user