codereview
This commit is contained in:
22
.github/workflows/code-review.yml
vendored
Normal file
22
.github/workflows/code-review.yml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
name: Code Review
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, synchronize]
|
||||
|
||||
jobs:
|
||||
code_review:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
|
||||
- run: npm install -g chatgpt-code-review
|
||||
|
||||
- run: chatgpt-code-review
|
||||
env:
|
||||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||
Reference in New Issue
Block a user