Skip to content

Commit 75d2d92

Browse files
committed
feat: add chat gpt code review github action
1 parent d4180c1 commit 75d2d92

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/cr.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Code Review
2+
permissions:
3+
contents: read
4+
pull-requests: write
5+
on:
6+
pull_request:
7+
types:
8+
- opened
9+
- reopened
10+
- synchronize
11+
jobs:
12+
test:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: anc95/ChatGPT-CodeReview@main
16+
env:
17+
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
18+
OPENAI_API_KEY: "${{ secrets.OPENAI_API_KEY }}"

0 commit comments

Comments
 (0)