mirror of
https://gitee.com/WeBank/fes.js.git
synced 2024-12-04 04:37:43 +08:00
d11095355f
* fix: 修复plugin-locale类型问题 * ci: 添加codeReview action & pr模板
26 lines
467 B
YAML
26 lines
467 B
YAML
name: Code Review
|
|
|
|
|
|
permissions:
|
|
contents: read
|
|
pull-requests: write
|
|
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, reopened]
|
|
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: anc95/ChatGPT-CodeReview@main
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
|
# Optional
|
|
LANGUAGE: Chinese
|
|
MODEL: gpt-3.5-turbo
|
|
top_p: 1
|
|
temperature: 1 |