Skip to content

Commit 815e48f

Browse files
authored
Create review.yml
1 parent 7aa8bb8 commit 815e48f

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/review.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
on:
2+
pull_request:
3+
branches:
4+
- master
5+
- review
6+
7+
jobs:
8+
run_code_review:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
with:
13+
fetch-depth: 0
14+
15+
- name: Code Review GPT
16+
uses: mattzcarey/code-review-gpt@v0.1.9
17+
with:
18+
OPENAI_API_KEY: ${{ secrets.GPTREVIEWKEY }}
19+
MODEL: 'gpt-4o'
20+
GITHUB_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)