更新 .gitea/workflows/code-review.yml
This commit is contained in:
@@ -5,7 +5,7 @@ on:
|
||||
types: [created, edited]
|
||||
|
||||
jobs:
|
||||
review:
|
||||
code-review:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event.issue.pull_request && (startsWith(github.event.comment.body, 'openai') || github.event.comment.body == 'openai')
|
||||
# env:
|
||||
@@ -13,7 +13,7 @@ jobs:
|
||||
# BASE: https://devstar.cn
|
||||
# GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||
|
||||
# steps:
|
||||
steps:
|
||||
# - name: Preflight - diff 接口可用性
|
||||
# run: |
|
||||
# set -e
|
||||
@@ -42,7 +42,7 @@ jobs:
|
||||
# -H "Authorization: Bearer $OPENAI_TOKEN" \
|
||||
# https://api.openai.com/v1/models | head -n 1
|
||||
- name: OpenAI Code Review
|
||||
uses: ingress-it-solutions/gitea-code-review-action@v0.1
|
||||
uses: sgxya/gitea-code-review-action@main
|
||||
# env:
|
||||
# # 可直连则删除本行;需代理则改成你的代理地址
|
||||
# OPENAI_PROXY: https://aiyjg.lol
|
||||
|
||||
Reference in New Issue
Block a user