Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 committed Apr 7, 2023
1 parent 45c20cb commit 2fe8437
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/cr.yml → .github/workflows/chatgpt-cr.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
name: Code Review
name: 🤖 ChatGPT Code Review

permissions:
contents: read
pull-requests: write

on:
pull_request:
types: [opened, reopened]
types: [opened, reopened, synchronize]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: anc95/ChatGPT-CodeReview@v1
- uses: anc95/ChatGPT-CodeReview@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
# Optional
LANGUAGE: Chinese
MODEL:
top_p: 1
temperature: 1

0 comments on commit 2fe8437

Please sign in to comment.