feat(code-review): 新增 PR AI code review 工作流
AI / Code Review (pull_request) Failing after 54s

This commit is contained in:
2026-06-24 15:51:03 +00:00
parent 0d2df8256e
commit 110c19e996
+23
View File
@@ -0,0 +1,23 @@
name: AI
on:
pull_request:
branches-ignore:
- master
types: [opened, synchronize]
jobs:
code-review:
name: Code Review
runs-on: ubuntu
steps:
- name: AI Code Review
uses: https://gitea.jsc.idv.tw/actions/code-review@${{ vars.ACTION_CODE_REVIEW_VERSION }}
with:
GITEA_TOKEN: ${{ secrets.RUNNER_TOKEN }}
GITEA_COMMENT_TOKEN: ${{ secrets.GITEA_TOKEN }}
OPENCODE_BASE_URL: ${{ vars.OPENCODE_BASE_URL }}
OPENCODE_PROVIDER: ${{ vars.OPENCODE_PROVIDER }}
OPENCODE_MODEL: ${{ vars.GEMINI_MODEL }}
permissions:
contents: write
pull-requests: write
issues: write