feat: AI Pull Request action — opencode 自動產生 PR 並通過 AI review #2

Open
jiantw83 wants to merge 24 commits from ai-review-resolve/develop-20260626-114117 into develop
Showing only changes of commit 6c0ed33ac5 - Show all commits
+12 -1
View File
@@ -5,6 +5,17 @@ on:
- master
types: [opened, synchronize]
jobs:
test:
name: Unit Test
runs-on: ubuntu
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- name: 執行單元測試
run: node --test
working-directory: app
ai-code-review:
name: AI Code Review
runs-on: ubuntu
@@ -16,4 +27,4 @@ jobs:
- name: AI 程式碼審查 by OpenCode
uses: https://gitea.jsc.idv.tw/composite-actions/opencode-code-review@${{ vars.ACTION_OPENCODE_CODE_REVIEW_VERSION }}
with:
comment_token: ${{ secrets.COMMENT_TOKEN }}
token: ${{ secrets.TOKEN }}