feat(ai-code-review): 建問題模式導向 issue,並整併流程調整、文件與 CI #6

Merged
admin merged 79 commits from ai-review-resolve/develop-20260717-185330 into develop 2026-07-21 09:39:48 +00:00
Showing only changes of commit 10d826d1b1 - Show all commits
+15 -6
View File
@@ -42,10 +42,13 @@ jobs:
uses: ./ uses: ./
# 傳入 action inputs。 # 傳入 action inputs。
with: with:
# Gitea / GitHub token,用於 PR 留言與 findings 寫回。 # Gitea Actions 自動注入的 repo 範圍 token,用於 PR 留言與 findings 寫回。
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ gitea.token }}
# 啟用建問題模式:審查內容改發到追蹤 issue,並在 PR 回貼 issue 連結。 # 啟用建問題模式:審查內容改發到追蹤 issue,並在 PR 回貼 issue 連結。
create-issue: 'true' create-issue: 'true'
# 推送 findings/exclusions commit 用的 PAT:以 PAT 身分推送才會讓結果 commit 再觸發 CI,
# 由步驟 1 快速回報把結果蓋到新 head,避免自動 token 推送不觸發而卡合併。
push-token: ${{ secrets.TOKEN }}
# Codex 工具環境測試 job。 # Codex 工具環境測試 job。
test-codex: test-codex:
# Job 在 workflow UI 顯示的名稱。 # Job 在 workflow UI 顯示的名稱。
@@ -70,10 +73,13 @@ jobs:
uses: ./ uses: ./
# 傳入 action inputs。 # 傳入 action inputs。
with: with:
# Gitea / GitHub token,用於 PR 留言與 findings 寫回。 # Gitea Actions 自動注入的 repo 範圍 token,用於 PR 留言與 findings 寫回。
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ gitea.token }}
# 啟用建問題模式:審查內容改發到追蹤 issue,並在 PR 回貼 issue 連結。 # 啟用建問題模式:審查內容改發到追蹤 issue,並在 PR 回貼 issue 連結。
create-issue: 'true' create-issue: 'true'
# 推送 findings/exclusions commit 用的 PAT:以 PAT 身分推送才會讓結果 commit 再觸發 CI,
# 由步驟 1 快速回報把結果蓋到新 head,避免自動 token 推送不觸發而卡合併。
push-token: ${{ secrets.TOKEN }}
# Claude 工具環境測試 job。 # Claude 工具環境測試 job。
test-claude: test-claude:
# Job 在 workflow UI 顯示的名稱。 # Job 在 workflow UI 顯示的名稱。
@@ -98,7 +104,10 @@ jobs:
uses: ./ uses: ./
# 傳入 action inputs。 # 傳入 action inputs。
with: with:
# Gitea / GitHub token,用於 PR 留言與 findings 寫回。 # Gitea Actions 自動注入的 repo 範圍 token,用於 PR 留言與 findings 寫回。
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ gitea.token }}
# 啟用建問題模式:審查內容改發到追蹤 issue,並在 PR 回貼 issue 連結。 # 啟用建問題模式:審查內容改發到追蹤 issue,並在 PR 回貼 issue 連結。
create-issue: 'true' create-issue: 'true'
# 推送 findings/exclusions commit 用的 PAT:以 PAT 身分推送才會讓結果 commit 再觸發 CI,
# 由步驟 1 快速回報把結果蓋到新 head,避免自動 token 推送不觸發而卡合併。
push-token: ${{ secrets.TOKEN }}